Smart Card Driver Functions (Windows Embedded CE 6.0)
1/6/2010
The following table shows the smart card reader driver functions with a description of the purpose of each.
Programming element | Description |
---|---|
This function maps a Microsoft® Windows NT® status code to a Microsoft Win32® error code. |
|
The RDF_CARD_EJECT callback function ejects an inserted smart card. |
|
The RDF_CARD_POWER callback function resets or powers down an inserted smart card. |
|
The RDF_CARD_TRACKING callback function installs an event handler to track card insertions and removals. |
|
The RDF_IOCTL_VENDOR callback function performs vendor-specific IOCTL operations. |
|
The RDF_READER_SWALLOW callback function notifies the callee that there is a non-powered card in the reader and the card is in position for use. |
|
The RDF_SET_PROTOCOL callback function selects a transmission protocol for the currently inserted card. |
|
The RDF_TRANSMIT callback function performs data transmissions. |
|
The SmartcardCreateLink function registers a friendly name that an application can use to access the device through the Smart Card Resource Manager. |
|
The SmartcardDeleteLink function deletes links that were created with SmartcardCreateLink. |
|
The SmartcardDeviceControl function is the main entry function for the Smart Card Driver Library. |
|
The SmartcardExit function frees buffers that were allocated during a call to SmartcardInitialize. |
|
The SmartcardInitialize function allocates internal buffers for the library. |
|
The SmartcardLockDevice function takes the device critical section. |
|
The SmartcardRawReply function transfers the data received from the card to the user buffer. |
|
The SmartcardRawRequest function copies data from the user buffer to the send buffer that the driver uses to transmit data to the reader. |
|
The SmartcardT0Reply function transfers the data received from the card to the user buffer. |
|
The SmartcardT0Request function copies data from the user buffer to the send buffer that the driver uses to transmit data to the reader. |
|
The SmartcardT1Reply function copies data from the receive buffer to the user buffer and checks the T=1 protocol status. |
|
The SmartcardT1Request function copies data from the user buffer to a send buffer and checks the T=1 protocol status. |
|
The SmartcardUnlockDevice function releases the device critical section claimed by SmartcardLockDevice. |
|
The SmartcardUpdateCardCapabilities function translates an ATR string into the SCARD_CARD_CAPABILITIES structure that can be used by the driver. |