Subsections

IFDHGetCapabilities

Synopsis:

#include <PCSC/ifdhandler.h>

RESPONSECODE IFDHGetCapabilities(DWORD Lun,
    DWORD Tag,
    PDWORD Length,
    PUCHAR Value);

Parameters:

Lun IN Logical Unit Number
Tag IN Tag of the desired data value
Length INOUT Length of the desired data value
Value OUT Value of the desired data

Description:

This function should get the slot/card capabilities for a particular slot/card specified by Lun. Again, if you have only 1 card slot and don't mind loading a new driver for each reader then ignore Lun.

This function is also called when the application uses the PC/SC SCardGetAttrib() function. The list of supported tags is not limited. The ones above are used by the PC/SC lite resource manager.

Returns:

IFD_SUCCESS Successful
IFD_ERROR_TAG Invalid tag given
IFD_NO_SUCH_DEVICE The reader is no more present

Ludovic Rousseau 2008-01-18