Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 866 Bytes

SCardDisconnect.md

File metadata and controls

50 lines (33 loc) · 866 Bytes

Home

Function name : SCardDisconnect

Group: Authentication - Library: winscard


Terminates a connection previously opened between the calling application and a smart card in the target reader.


Declaration:

LONG SCardDisconnect(
  __in  SCARDHANDLE hCard,
  __in  DWORD dwDisposition
);  

FoxPro declaration:

DECLARE LONG SCardDisconnect IN Winscard;
	INTEGER hCard,;
	LONG dwDisposition  

Parameters:

hCard [in] Reference value obtained from a previous call to SCardConnect.

dwDisposition [in] Action to take on the card in the connected reader on close.


Return value:

Returns SCARD_S_SUCCESS (0) or error code.


Comments:

See also: SCardConnect, SCardReconnect