SCardGetAttrib function Null safety winscard

int SCardGetAttrib(
  1. int hCard,
  2. int dwAttrId,
  3. Pointer<Uint8> pbAttr,
  4. Pointer<Uint32> pcbAttrLen
)

The SCardGetAttrib function retrieves the current reader attributes for the given handle. It does not affect the state of the reader, driver, or card.

LONG SCardGetAttrib(
  SCARDHANDLE hCard,
  DWORD       dwAttrId,
  LPBYTE      pbAttr,
  LPDWORD     pcbAttrLen
);

Implementation

int SCardGetAttrib(int hCard, int dwAttrId, Pointer<Uint8> pbAttr,
        Pointer<Uint32> pcbAttrLen) =>
    _SCardGetAttrib(hCard, dwAttrId, pbAttr, pcbAttrLen);