SCardReadCache function Null safety winscard

int SCardReadCache(
  1. int hContext,
  2. Pointer<GUID> CardIdentifier,
  3. int FreshnessCounter,
  4. Pointer<Utf16> LookupName,
  5. Pointer<Uint8> Data,
  6. Pointer<Uint32> DataLen
)

The SCardReadCache function retrieves the value portion of a name-value pair from the global cache maintained by the Smart Card Resource Manager.

LONG SCardReadCacheW(
  SCARDCONTEXT hContext,
  UUID         *CardIdentifier,
  DWORD        FreshnessCounter,
  LPWSTR       LookupName,
  PBYTE        Data,
  DWORD        *DataLen
);

Implementation

int SCardReadCache(
        int hContext,
        Pointer<GUID> CardIdentifier,
        int FreshnessCounter,
        Pointer<Utf16> LookupName,
        Pointer<Uint8> Data,
        Pointer<Uint32> DataLen) =>
    _SCardReadCache(
        hContext, CardIdentifier, FreshnessCounter, LookupName, Data, DataLen);