SCardListReadersWithDeviceInstanceId function Null safety winscard

int SCardListReadersWithDeviceInstanceId(
  1. int hContext,
  2. Pointer<Utf16> szDeviceInstanceId,
  3. Pointer<Utf16> mszReaders,
  4. Pointer<Uint32> pcchReaders
)

The SCardListReadersWithDeviceInstanceId function gets the list of readers that have provided a device instance identifier. This function does not affect the state of the reader.

LONG SCardListReadersWithDeviceInstanceIdW(
  SCARDCONTEXT hContext,
  LPCWSTR      szDeviceInstanceId,
  LPWSTR       mszReaders,
  LPDWORD      pcchReaders
);

Implementation

int SCardListReadersWithDeviceInstanceId(
        int hContext,
        Pointer<Utf16> szDeviceInstanceId,
        Pointer<Utf16> mszReaders,
        Pointer<Uint32> pcchReaders) =>
    _SCardListReadersWithDeviceInstanceId(
        hContext, szDeviceInstanceId, mszReaders, pcchReaders);