#include <PCSC/ifdhandler.h> RESPONSECODE IFDHICCPresence(DWORD Lun);
| Lun | IN | Logical Unit Number |
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.
| 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 |