SCardListCards function winscard

int SCardListCards(
  1. int hContext,
  2. Pointer<Uint8> pbAtr,
  3. Pointer<GUID> rgquidInterfaces,
  4. int cguidInterfaceCount,
  5. Pointer<Utf16> mszCards,
  6. Pointer<Uint32> pcchCards
)

The SCardListCards function searches the smart card database and provides a list of named cards previously introduced to the system by the user. The caller specifies an ATR string, a set of interface identifiers (GUIDs), or both. If both an ATR string and an identifier array are supplied, the cards returned will match the ATR string supplied and support the interfaces specified.

LONG SCardListCardsW(
  SCARDCONTEXT hContext,
  LPCBYTE      pbAtr,
  LPCGUID      rgquidInterfaces,
  DWORD        cguidInterfaceCount,
  WCHAR        *mszCards,
  LPDWORD      pcchCards
);

Implementation

int SCardListCards(
        int hContext,
        Pointer<Uint8> pbAtr,
        Pointer<GUID> rgquidInterfaces,
        int cguidInterfaceCount,
        Pointer<Utf16> mszCards,
        Pointer<Uint32> pcchCards) =>
    _SCardListCards(hContext, pbAtr, rgquidInterfaces, cguidInterfaceCount,
        mszCards, pcchCards);