pcsc-lite  1.8.10
ifdwrapper.h
Go to the documentation of this file.
1 /*
2  * MUSCLE SmartCard Development ( http://www.linuxnet.com )
3  *
4  * Copyright (C) 1999-2004
5  * David Corcoran <corcoran@linuxnet.com>
6  * Copyright (C) 2002-2010
7  * Ludovic Rousseau <ludovic.rouseau@free.fr>
8  *
9  * $Id: ifdwrapper.h 5434 2010-12-08 14:13:21Z rousseau $
10  */
11 
18 #ifndef __ifdwrapper_h__
19 #define __ifdwrapper_h__
20 
21  LONG IFDOpenIFD(READER_CONTEXT *);
23  LONG IFDPowerICC(READER_CONTEXT *, DWORD, PUCHAR, /*@out@*/ PDWORD);
24  LONG IFDStatusICC(READER_CONTEXT *, /*@out@*/ PDWORD);
25  LONG IFDControl_v2(READER_CONTEXT *, PUCHAR, DWORD, /*@out@*/ PUCHAR,
26  PDWORD);
27  LONG IFDControl(READER_CONTEXT *, DWORD, LPCVOID, DWORD, LPVOID,
28  DWORD, LPDWORD);
30  PUCHAR, DWORD, /*@out@*/ PUCHAR, PDWORD, PSCARD_IO_HEADER);
31  LONG IFDSetPTS(READER_CONTEXT *, DWORD, UCHAR, UCHAR, UCHAR, UCHAR);
32  LONG IFDSetCapabilities(READER_CONTEXT *, DWORD, DWORD, PUCHAR);
33  LONG IFDGetCapabilities(READER_CONTEXT *, DWORD, PDWORD, /*@out@*/ PUCHAR);
34 
35 #endif /* __ifdwrapper_h__ */
LONG IFDStatusICC(READER_CONTEXT *, PDWORD)
Provide statistical information about the IFD and ICC including insertions, atr, powering status/etc...
Definition: ifdwrapper.c:318
LONG IFDTransmit(READER_CONTEXT *, SCARD_IO_HEADER, PUCHAR, DWORD, PUCHAR, PDWORD, PSCARD_IO_HEADER)
Transmit an APDU to the ICC.
Definition: ifdwrapper.c:486
LONG IFDSetPTS(READER_CONTEXT *, DWORD, UCHAR, UCHAR, UCHAR, UCHAR)
Set the protocol type selection (PTS).
Definition: ifdwrapper.c:46
LONG IFDSetCapabilities(READER_CONTEXT *, DWORD, DWORD, PUCHAR)
Set capabilities in the reader.
Definition: ifdwrapper.c:183
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.
Definition: ifdwrapper.c:426
LONG IFDPowerICC(READER_CONTEXT *, DWORD, PUCHAR, PDWORD)
Power up/down or reset's an ICC located in the IFD.
Definition: ifdwrapper.c:244
LONG IFDOpenIFD(READER_CONTEXT *)
Open a communication channel to the IFD.
Definition: ifdwrapper.c:84
LONG IFDGetCapabilities(READER_CONTEXT *, DWORD, PDWORD, PUCHAR)
Get's capabilities in the reader.
Definition: ifdwrapper.c:214
LONG IFDCloseIFD(READER_CONTEXT *)
Close a communication channel to the IFD.
Definition: ifdwrapper.c:142
Use by SCardTransmit()
Definition: ifdhandler.h:288