pcsc-lite  1.8.20
Functions
ifdwrapper.h File Reference

This wraps the dynamic ifdhandler functions. More...

Go to the source code of this file.

Functions

LONG IFDOpenIFD (READER_CONTEXT *)
 Open a communication channel to the IFD.
 
LONG IFDCloseIFD (READER_CONTEXT *)
 Close a communication channel to the IFD.
 
LONG IFDPowerICC (READER_CONTEXT *, DWORD, PUCHAR, PDWORD)
 Power up/down or reset's an ICC located in the IFD.
 
LONG IFDStatusICC (READER_CONTEXT *, PDWORD)
 Provide statistical information about the IFD and ICC including insertions, atr, powering status/etc.
 
LONG IFDControl_v2 (READER_CONTEXT *, PUCHAR, DWORD, PUCHAR, PDWORD)
 
LONG IFDControl (READER_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 (READER_CONTEXT *, SCARD_IO_HEADER, PUCHAR, DWORD, PUCHAR, PDWORD, PSCARD_IO_HEADER)
 Transmit an APDU to the ICC.
 
LONG IFDSetPTS (READER_CONTEXT *, DWORD, UCHAR, UCHAR, UCHAR, UCHAR)
 Set the protocol type selection (PTS). More...
 
LONG IFDSetCapabilities (READER_CONTEXT *, DWORD, DWORD, PUCHAR)
 Set capabilities in the reader.
 
LONG IFDGetCapabilities (READER_CONTEXT *, DWORD, PDWORD, PUCHAR)
 Get's capabilities in the reader. More...
 

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

◆ IFDGetCapabilities()

LONG IFDGetCapabilities ( READER_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 235 of file ifdwrapper.c.

◆ IFDSetPTS()

LONG IFDSetPTS ( READER_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 67 of file ifdwrapper.c.