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

RESPONSECODE IFDHICCPresence ( DWORD  Lun )

This function returns the status of the card inserted in the reader/slot specified by Lun. In cases where the device supports asynchronous card insertion/removal detection, it is advised that the driver manages this through a thread so the driver does not have to send and receive a command each time this function is called.

Parameters:
[in]LunLogical Unit Number
Returns:
Error codes
Return values:
IFD_SUCCESSSuccessful (IFD_SUCCESS)
IFD_COMMUNICATION_ERRORError has occurred (IFD_COMMUNICATION_ERROR)
IFD_ICC_NOT_PRESENTICC is not present (IFD_ICC_NOT_PRESENT)
IFD_NO_SUCH_DEVICEThe reader is no more present (IFD_NO_SUCH_DEVICE)

Referenced by IFDStatusICC().

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index