Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SCardGetStatusChange" in [All]

winscard

. . .
Summary
The SCardGetStatusChange function blocks execution until the current availability of the cards in a specific set of readers changes.
.

    /// The SCardGetStatusChange function blocks execution until the current availability of the cards in a specific set of readers changes.

.

static extern SCardFunctionReturnCodes SCardGetStatusChange(int hContext, int dwTimeout, [In, Out] SCARD_READERSTATE[] rgReaderStates, int cReaders);

.

  ret = SCardGetStatusChange(hContext, 100, rs, 1);

.
Documentation
[SCardGetStatusChange] on MSDN
.

    internal static extern uint SCardGetStatusChange(IntPtr hContext, UInt32 dwTimeout, [In, Out] SCARD_READERSTATE[] rgReaderStates, UInt32 cReaders);

.

errorCode = SCardGetStatusChange(hContext, 0, readerState, nbReaders);


 
Access PInvoke.net directly from VS: