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

ifdhandler.h File Reference


Detailed Description

This provides reader specific low-level calls.

Definition in file ifdhandler.h.

#include <pcsclite.h>

Go to the source code of this file.

Classes

struct  _DEVICE_CAPABILITIES
struct  _ICC_STATE
struct  _PROTOCOL_OPTIONS
struct  _SCARD_IO_HEADER

Defines

#define IFD_COMMUNICATION_ERROR   612
#define IFD_ERROR_CONFISCATE   611
#define IFD_ERROR_EJECT   610
#define IFD_ERROR_NOT_SUPPORTED   606
#define IFD_ERROR_POWER_ACTION   608
#define IFD_ERROR_PTS_FAILURE   605
#define IFD_ERROR_SET_FAILURE   601
#define IFD_ERROR_SWALLOW   609
#define IFD_ERROR_TAG   600
#define IFD_ERROR_VALUE_READ_ONLY   602
#define IFD_HVERSION_1_0   0x00010000
#define IFD_HVERSION_2_0   0x00020000
#define IFD_HVERSION_3_0   0x00030000
#define IFD_ICC_NOT_PRESENT   616
#define IFD_ICC_PRESENT   615
#define IFD_NEGOTIATE_PTS1   1
#define IFD_NEGOTIATE_PTS2   2
#define IFD_NEGOTIATE_PTS3   4
#define IFD_NO_SUCH_DEVICE   617
#define IFD_NOT_SUPPORTED   614
#define IFD_POWER_DOWN   501
#define IFD_POWER_UP   500
#define IFD_PROTOCOL_NOT_SUPPORTED   607
#define IFD_RESET   502
#define IFD_RESPONSE_TIMEOUT   613
#define IFD_SUCCESS   0
#define TAG_IFD_ATR   0x0303
#define TAG_IFD_SIMULTANEOUS_ACCESS   0x0FAF
#define TAG_IFD_SLOT_THREAD_SAFE   0x0FAC
#define TAG_IFD_SLOTNUM   0x0180
#define TAG_IFD_SLOTS_NUMBER   0x0FAE
#define TAG_IFD_THREAD_SAFE   0x0FAD

Typedefs

typedef struct _DEVICE_CAPABILITIES DEVICE_CAPABILITIES
typedef struct _ICC_STATE ICC_STATE
typedef struct
_DEVICE_CAPABILITIES * 
PDEVICE_CAPABILITIES
typedef struct _ICC_STATE * PICC_STATE
typedef struct _PROTOCOL_OPTIONS * PPROTOCOL_OPTIONS
typedef struct _PROTOCOL_OPTIONS PROTOCOL_OPTIONS
typedef struct _SCARD_IO_HEADER * PSCARD_IO_HEADER
typedef long RESPONSECODE
typedef struct _SCARD_IO_HEADER SCARD_IO_HEADER

Functions

RESPONSECODE IFD_Confiscate_ICC ()
RESPONSECODE IFD_Eject_ICC ()
RESPONSECODE IFD_Get_Capabilities (DWORD, PUCHAR)
RESPONSECODE IFD_Is_ICC_Absent ()
RESPONSECODE IFD_Is_ICC_Present ()
RESPONSECODE IFD_Power_ICC (DWORD)
RESPONSECODE IFD_Set_Capabilities (DWORD, PUCHAR)
RESPONSECODE IFD_Set_Protocol_Parameters (DWORD, UCHAR, UCHAR, UCHAR, UCHAR)
RESPONSECODE IFD_Swallow_ICC ()
RESPONSECODE IFD_Transmit_to_ICC (SCARD_IO_HEADER, PUCHAR, DWORD, PUCHAR, PDWORD, PSCARD_IO_HEADER)
RESPONSECODE IFDHCloseChannel (DWORD)
RESPONSECODE IFDHControl (DWORD, DWORD, PUCHAR, DWORD, PUCHAR, DWORD, LPDWORD)
RESPONSECODE IFDHCreateChannel (DWORD, DWORD)
RESPONSECODE IFDHCreateChannelByName (DWORD, LPSTR)
RESPONSECODE IFDHGetCapabilities (DWORD, DWORD, PDWORD, PUCHAR)
RESPONSECODE IFDHICCPresence (DWORD)
RESPONSECODE IFDHPowerICC (DWORD, DWORD, PUCHAR, PDWORD)
RESPONSECODE IFDHSetCapabilities (DWORD, DWORD, DWORD, PUCHAR)
RESPONSECODE IFDHSetProtocolParameters (DWORD, DWORD, UCHAR, UCHAR, UCHAR, UCHAR)
RESPONSECODE IFDHTransmitToICC (DWORD, SCARD_IO_HEADER, PUCHAR, DWORD, PUCHAR, PDWORD, PSCARD_IO_HEADER)
RESPONSECODE IO_Close_Channel ()
RESPONSECODE IO_Create_Channel (DWORD)


Generated by  Doxygen 1.6.0   Back to index