SCardIntroduceCardType function Null safety winscard

int SCardIntroduceCardType(
  1. int hContext,
  2. Pointer<Utf16> szCardName,
  3. Pointer<GUID> pguidPrimaryProvider,
  4. Pointer<GUID> rgguidInterfaces,
  5. int dwInterfaceCount,
  6. Pointer<Uint8> pbAtr,
  7. Pointer<Uint8> pbAtrMask,
  8. int cbAtrLen
)

The SCardIntroduceCardType function introduces a smart card to the smart card subsystem (for the active user) by adding it to the smart card database.

LONG SCardIntroduceCardTypeW(
  SCARDCONTEXT hContext,
  LPCWSTR      szCardName,
  LPCGUID      pguidPrimaryProvider,
  LPCGUID      rgguidInterfaces,
  DWORD        dwInterfaceCount,
  LPCBYTE      pbAtr,
  LPCBYTE      pbAtrMask,
  DWORD        cbAtrLen
);

Implementation

int SCardIntroduceCardType(
        int hContext,
        Pointer<Utf16> szCardName,
        Pointer<GUID> pguidPrimaryProvider,
        Pointer<GUID> rgguidInterfaces,
        int dwInterfaceCount,
        Pointer<Uint8> pbAtr,
        Pointer<Uint8> pbAtrMask,
        int cbAtrLen) =>
    _SCardIntroduceCardType(hContext, szCardName, pguidPrimaryProvider,
        rgguidInterfaces, dwInterfaceCount, pbAtr, pbAtrMask, cbAtrLen);