Subsections


IFDHCreateChannelByName

Synopsis:

#include <PCSC/ifdhandler.h>

RESPONSECODE IFDHCreateChannelByName(DWORD Lun,
    LPSTR deviceName);

Parameters:

Lun IN Logical Unit Number
DeviceName IN String device path

Description:

This function is required to open a communications channel to the port listed by DeviceName.

Once the channel is opened the reader must be in a state in which it is possible to query IFDHICCPresence() for card status.

Returns:

IFD_SUCCESS Successful
IFD_COMMUNICATION_ERROR Error has occurred
IFD_NO_SUCH_DEVICE The reader is no more present

Ludovic Rousseau 2008-01-18