Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.04 KB

SCardReleaseContext.md

File metadata and controls

49 lines (31 loc) · 1.04 KB

Home

Function name : SCardReleaseContext

Group: Authentication - Library: winscard


Closes an established resource manager context, freeing any resources allocated under that context, including SCARDHANDLE objects and memory allocated using the SCARD_AUTOALLOCATE length designator.


Code examples:

Smart Card Database Query Functions

Declaration:

LONG SCardReleaseContext(
  __in  SCARDCONTEXT hContext
);  

FoxPro declaration:

DECLARE LONG SCardReleaseContext IN Winscard;
	INTEGER hContext  

Parameters:

hContext [in] Handle that identifies the resource manager context.


Return value:

If the function succeeds, the function returns SCARD_S_SUCCESS (0).


Comments:

The resource manager context is set by a previous call to SCardEstablishContext.