ifdwrapper.h File Reference

This wraps the dynamic ifdhandler functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

LONG IFDOpenIFD (PREADER_CONTEXT)
 Open a communication channel to the IFD.
LONG IFDCloseIFD (PREADER_CONTEXT)
 Close a communication channel to the IFD.
LONG IFDPowerICC (PREADER_CONTEXT, DWORD, PUCHAR, PDWORD)
 Power up/down or reset's an ICC located in the IFD.
LONG IFDStatusICC (PREADER_CONTEXT, PDWORD, PUCHAR, PDWORD)
 Provide statistical information about the IFD and ICC including insertions, atr, powering status/etc.
LONG IFDControl_v2 (PREADER_CONTEXT, PUCHAR, DWORD, PUCHAR, PDWORD)
LONG IFDControl (PREADER_CONTEXT, DWORD, LPCVOID, DWORD, LPVOID, DWORD, LPDWORD)
 Provide a means for toggling a specific action on the reader such as swallow, eject, biometric.
LONG IFDTransmit (PREADER_CONTEXT, SCARD_IO_HEADER, PUCHAR, DWORD, PUCHAR, PDWORD, PSCARD_IO_HEADER)
 Transmit an APDU to the ICC.
LONG IFDSetPTS (PREADER_CONTEXT, DWORD, UCHAR, UCHAR, UCHAR, UCHAR)
 Set the protocol type selection (PTS).
LONG IFDSetCapabilities (PREADER_CONTEXT, DWORD, DWORD, PUCHAR)
 Set capabilities in the reader.
LONG IFDGetCapabilities (PREADER_CONTEXT, DWORD, PDWORD, PUCHAR)
 Get's capabilities in the reader.


Detailed Description

This wraps the dynamic ifdhandler functions.

The abstraction will eventually allow multiple card slots in the same terminal.

Definition in file ifdwrapper.h.


Function Documentation

LONG IFDGetCapabilities ( PREADER_CONTEXT  rContext,
DWORD  dwTag,
PDWORD  pdwLength,
PUCHAR  pucValue 
)

Get's capabilities in the reader.

Other functions int this file will call the driver directly to not cause a deadlock.

Definition at line 275 of file ifdwrapper.c.

Referenced by SCardGetAttrib().

LONG IFDSetPTS ( PREADER_CONTEXT  rContext,
DWORD  dwProtocol,
UCHAR  ucFlags,
UCHAR  ucPTS1,
UCHAR  ucPTS2,
UCHAR  ucPTS3 
)

Set the protocol type selection (PTS).

This function sets the appropriate protocol to be used on the card.

Definition at line 36 of file ifdwrapper.c.

References IFDSetCapabilities(), and SCARD_E_UNSUPPORTED_FEATURE.

Referenced by PHSetProtocol().

Here is the call graph for this function:


Generated on Mon Aug 17 01:00:13 2009 for pcsc-lite by  doxygen 1.5.9