Subsections

IFDHSetProtocolParameters

Synopsis:

#include <PCSC/ifdhandler.h>

RESPONSECODE IFDHSetProtocolParameters(DWORD Lun,
    DWORD Protocol,
    UCHAR Flags,
    UCHAR PTS1,
    UCHAR PTS2,
    UCHAR PTS3);

Parameters:

Lun IN Logical Unit Number
Protocol IN Desired protocol
Flags IN OR'd Flags (See below)
PTS1 IN 1st PTS Value
PTS2 IN 2nd PTS Value
PTS3 IN 3rd PTS Value

Description:

This function should set the Protocol Type Selection (PTS) of a particular card/slot using the three PTS parameters sent

Returns:

IFD_SUCCESS Success
IFD_ERROR_PTS_FAILURE Could not set PTS value
IFD_COMMUNICATION_ERROR Error has occurred
IFD_PROTOCOL_NOT_SUPPORTED Protocol is not supported
IFD_NOT_SUPPORTED Action not supported
IFD_NO_SUCH_DEVICE The reader is no more present

Ludovic Rousseau 2008-01-18