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

static LONG SCardRemoveContext ( SCARDCONTEXT  hContext ) [static]

Removes an Application Context from a control vector.

[in]hContextApplication Context to be removed.
Error code.
Return values:
SCARD_E_INVALID_HANDLEThe context hContext was not found (SCARD_E_INVALID_HANDLE)

Definition at line 3485 of file winscard_clnt.c.

References SCARD_E_INVALID_HANDLE, and SCardGetContextTH().

Referenced by SCardReleaseContext().

      SCONTEXTMAP * currentContextMap;
      currentContextMap = SCardGetContextTH(hContext);

      if (NULL == currentContextMap)
            return SCARD_E_INVALID_HANDLE;
            return SCardCleanContext(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