SCardReadCache function winscard

int SCardReadCache(
  1. int hContext,
  2. Pointer<GUID> cardIdentifier,
  3. int freshnessCounter,
  4. PCWSTR lookupName,
  5. Pointer<Uint8> data,
  6. Pointer<Uint32> dataLen,
)

Retrieves the value portion of a name-value pair from the global cache maintained by the Smart Card Resource Manager.

To learn more, see learn.microsoft.com/windows/win32/api/winscard/nf-winscard-scardreadcachew.

Implementation

@pragma('vm:prefer-inline')
int SCardReadCache(
  int hContext,
  Pointer<GUID> cardIdentifier,
  int freshnessCounter,
  PCWSTR lookupName,
  Pointer<Uint8> data,
  Pointer<Uint32> dataLen,
) => _SCardReadCache(
  hContext,
  cardIdentifier,
  freshnessCounter,
  lookupName,
  data,
  dataLen,
);