SCardDisconnect function Null safety winscard

int SCardDisconnect(
  1. int hCard,
  2. int dwDisposition
)

The SCardDisconnect function terminates a connection previously opened between the calling application and a smart card in the target reader.

LONG SCardDisconnect(
  SCARDHANDLE hCard,
  DWORD       dwDisposition
);

Implementation

int SCardDisconnect(int hCard, int dwDisposition) =>
    _SCardDisconnect(hCard, dwDisposition);