2
* MUSCLE SmartCard Development ( http://www.linuxnet.com )
5
* David Corcoran <corcoran@linuxnet.com>
7
* $Id: atrhandler.h 1421 2005-04-12 12:09:21Z rousseau $
12
* @brief This keeps track of smartcard protocols, timing issues
13
* and Answer to Reset ATR handling.
16
#ifndef __atrhandler_h__
17
#define __atrhandler_h__
24
#define SCARD_CONVENTION_DIRECT 0x0001
25
#define SCARD_CONVENTION_INVERSE 0x0002
27
typedef struct _SMARTCARD_EXTENSION
33
UCHAR Value[MAX_ATR_SIZE];
35
UCHAR HistoryValue[MAX_ATR_SIZE];
41
struct _CardCapabilities
43
UCHAR AvailableProtocols;
44
UCHAR CurrentProtocol;
82
* PREADER_CONNECTION psReaderConnection;
86
SMARTCARD_EXTENSION, *PSMARTCARD_EXTENSION;
89
* Decodes the ATR and fills the structure
92
short ATRDecodeAtr(PSMARTCARD_EXTENSION psExtension,
93
PUCHAR pucAtr, DWORD dwLength);
99
#endif /* __atrhandler_h__ */