Subsections

IFDHICCPresence

Synopsis:

#include <PCSC/ifdhandler.h>

RESPONSECODE IFDHICCPresence(DWORD Lun);

Parameters:

Lun IN Logical Unit Number

Description:

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.

Returns:

IFD_ICC_PRESENT ICC is present
IFD_ICC_NOT_PRESENT ICC is not present
IFD_COMMUNICATION_ERROR An error has occurred
IFD_NO_SUCH_DEVICE The reader is no more present



Ludovic Rousseau 2008-01-18