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

static LONG SCardGetContextIndice ( 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 SCardGetContextIndiceTH().

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

Definition at line 2819 of file winscard_clnt.c.

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

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

      LONG rv;

      rv = SCardGetContextIndiceTH(hContext);

      return rv;

Generated by  Doxygen 1.6.0   Back to index