This wraps the dynamic ifdhandler functions. More...
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. | |
This wraps the dynamic ifdhandler functions.
The abstraction will eventually allow multiple card slots in the same terminal.
Definition in file ifdwrapper.h.
| 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.
References ReaderContext::dwSlot, ReaderContext::dwVersion, ReaderContext::mMutex, ReaderContext::psFunctions, ReaderContext::psFunctions_v1, and ReaderContext::psFunctions_v2.
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 ReaderContext::dwSlot, ReaderContext::dwVersion, IFDSetCapabilities(), ReaderContext::psFunctions, ReaderContext::psFunctions_v1, ReaderContext::psFunctions_v2, and SCARD_E_UNSUPPORTED_FEATURE.
Referenced by PHSetProtocol().
1.6.1