Logo Search packages:      
Sourcecode: pcsc-lite version File versions  Download package

static SCONTEXTMAP * SCardGetContext ( SCARDCONTEXT  hContext ) [static]

Get the index from the Application Context vector _psContextMap for the passed context.

This function is a thread-safe wrapper to the function SCardGetContextTH().

[in]hContextApplication Context whose index will be find.
Index corresponding to the Application Context or -1 if it is not found.

Definition at line 3448 of file winscard_clnt.c.

References SCardGetContextTH(), SCardLockThread(), and SCardUnlockThread().

Referenced by SCardCancel(), SCardConnect(), SCardFreeMemory(), SCardGetStatusChange(), SCardIsValidContext(), SCardListReaderGroups(), SCardListReaders(), and SCardReleaseContext().

      SCONTEXTMAP * currentContextMap;

      currentContextMap = SCardGetContextTH(hContext);

      return currentContextMap;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index