Logo Search packages:      
Sourcecode: pcsc-lite version File versions  Download package

UCHAR PHGetAvailableProtocols ( PUCHAR  pucAtr,
DWORD  dwLength 

Get the protocols supported by the card.

These protocols are returned from the function as bit masks.

Definition at line 55 of file prothandler.c.

References ATRDecodeAtr().

Referenced by SCardConnect(), and SCardReconnect().


       * Zero out everything
      memset(&sSmartCard, 0x00, sizeof(SMARTCARD_EXTENSION));

      if (ATRDecodeAtr(&sSmartCard, pucAtr, dwLength))
            return sSmartCard.CardCapabilities.AvailableProtocols;
            return 0x00;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index