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

RESPONSECODE IFDHSetCapabilities ( DWORD  Lun,
DWORD  Tag,
DWORD  Length,
PUCHAR  Value 
)

This function should set 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.

Parameters:
[in]LunLogical Unit Number
[in]TagTag of the desired data value
[in,out]LengthLength of the desired data value
[out]ValueValue of the desired data

This function is also called when the application uses the PC/SC SCardGetAttrib() function. The list of supported tags is not limited.

Returns:
Error codes
Return values:
IFD_SUCCESSSuccessful (IFD_SUCCESS)
IFD_ERROR_TAGInvalid tag given (IFD_ERROR_TAG)
IFD_ERROR_SET_FAILURECould not set value (IFD_ERROR_SET_FAILURE)
IFD_ERROR_VALUE_READ_ONLYTrying to set read only value (IFD_ERROR_VALUE_READ_ONLY)
IFD_NO_SUCH_DEVICEThe reader is no more present (IFD_NO_SUCH_DEVICE)

Referenced by IFDSetCapabilities().

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index