SCardGetDeviceTypeId function Null safety winscard

int SCardGetDeviceTypeId(
  1. int hContext,
  2. Pointer<Utf16> szReaderName,
  3. Pointer<Uint32> pdwDeviceTypeId

The SCardGetDeviceTypeId function gets the device type identifier of the card reader for the given reader name. This function does not affect the state of the reader.

LONG SCardGetDeviceTypeIdW(
  LPCWSTR      szReaderName,
  LPDWORD      pdwDeviceTypeId


int SCardGetDeviceTypeId(int hContext, Pointer<Utf16> szReaderName,
        Pointer<Uint32> pdwDeviceTypeId) =>
    _SCardGetDeviceTypeId(hContext, szReaderName, pdwDeviceTypeId);