SMARTCARD_EXTENSION
Other versions of this page are also available for the following:
8/28/2008
The SMARTCARD_EXTENSION structure is used by the driver to access all the other smart card data structures, and additional information. This structure is passed to all callback functions.
Syntax
typedef struct _SMARTCARD_EXTENSION {
ULONG Version;
VENDOR_ATTR VendorAttr;
NTSTATUS (*ReaderFunction[16])(PSMARTCARD_EXTENSION);
SCARD_CARD_CAPABILITIES CardCapabilities;
ULONG LastError;
struct {
PULONG Information;
PUCHAR RequestBuffer;
ULONG RequestBufferLength;
PUCHAR ReplyBuffer;
ULONG ReplyBufferLength;
} IoRequest;
ULONG MajorIoControlCode;
ULONG MinorIoControlCode;
POS_DEP_DATA OsData;
SCARD_READER_CAPABILITIES ReaderCapabilities;
PREADER_EXTENSION ReaderExtension;
SMARTCARD_REPLY SmartcardReply;
SMARTCARD_REQUEST SmartcardRequest;
T0_DATA T0;
T1_DATA T1;
ULONG Reserved[25];
} SMARTCARD_EXTENSION, *PSMARTCARD_EXTENSION;
Members
- Version
The version of this structure.
- VendorAttr
Mandatory vendor attribute data.
- ReaderFunction
An array of smart card reader callback functions.
- CardCapabilities
The capabilities of the currently inserted card.
- LastError
The last error of an overlapped operation.
- IoRequest
A structure containing the data of a user's I/O request.
- MajorIoControlCode
The major I/O Control Code for the current request.
- MinorIoControlCode
The minor I/O Control Code for the current request.
- OsData
Pointer to an OS_DEP_DATA structure containing information.
- ReaderCapabilities
Capabilities of the keyboard reader.
- ReaderExtension
A pointer to reader specific data.
- SmartcardReply
A buffer where the card reader stores all replies from the smart card.
- SmartcardRequest
The current command to send to the smart card.
- T0
Data for T=0.
- T1
Data for T=1.
- Reserved[25]
A buffer of 25 ULONG values, reserved for future use. Drivers should not use this space.
Requirements
Header | smclib.h |
Windows Embedded CE | Windows CE 3.0 and later |