SCardForgetReader function Null safety winscard

int SCardForgetReader(
  1. int hContext,
  2. Pointer<Utf16> szReaderName
)

The SCardForgetReader function removes a previously introduced reader from control by the smart card subsystem. It is removed from the smart card database, including from any reader group that it may have been added to.

LONG SCardForgetReaderW(
  SCARDCONTEXT hContext,
  LPCWSTR      szReaderName
);

Implementation

int SCardForgetReader(int hContext, Pointer<Utf16> szReaderName) =>
    _SCardForgetReader(hContext, szReaderName);