SCardGetReaderIcon function Null safety winscard

int SCardGetReaderIcon(
  1. int hContext,
  2. Pointer<Utf16> szReaderName,
  3. Pointer<Uint8> pbIcon,
  4. Pointer<Uint32> pcbIcon

The SCardGetReaderIcon function gets an icon of the smart card reader for a given reader's name. This function does not affect the state of the card reader.

LONG SCardGetReaderIconW(
  LPCWSTR      szReaderName,
  LPBYTE       pbIcon,
  LPDWORD      pcbIcon


int SCardGetReaderIcon(int hContext, Pointer<Utf16> szReaderName,
        Pointer<Uint8> pbIcon, Pointer<Uint32> pcbIcon) =>
    _SCardGetReaderIcon(hContext, szReaderName, pbIcon, pcbIcon);