The following table lists the smart card driver library functions.
Function | Description |
---|---|
MapNtStatusToWinError (VxD) | Maps a Windows NT status code to a Win32® error code. Not available for WDM drivers. |
SmartcardCompleteCardTracking (VxD) | Informs the caller of a card insertion or removal event. Not available for WDM drivers. |
SmartcardCompleteRequest (VxD) | Informs the caller of the completion of a request, unlocks memory, and enables further calls to the smart card library. Not available for WDM drivers. |
SmartcardCreateLink (WDM) -or- |
WDM: Creates a DOS device name that the smart card resource manager uses to access the driver. VxD: Creates a registry entry that is used by the smart card resource manager to access a device. |
SmartcardDeleteLink (WDM) -or- |
Deletes the link that was created with SmartcardCreateLink. |
SmartcardDeviceControl (WDM) -or- |
The main entry function for the smart card driver library. Performs parameter checking and completes calls that do not require I/O with the reader. |
SmartcardExit (WDM) -or- |
Frees buffers that were allocated during a call to SmartcardInitialize. |
SmartcardInitialize (WDM) -or- |
Allocates internal buffers for the library. |
SmartcardLogError (WDM) | Writes an error message to the event log. Not available for VxD drivers. |
SmartcardRawReply (WDM) -or- |
Transfers the data received from the card to the user buffer. |
SmartcardRawRequest (WDM) -or- |
Copies data from the user buffer to a send buffer. |
SmartcardT0Reply (WDM) -or- |
Transfers the data received from the card to the user buffer. |
SmartcardT0Request (WDM) -or- |
Copies data from the user buffer to a send buffer. |
SmartcardT1Reply (WDM) -or- |
Copies data from the user buffer to a send buffer and checks the T=1 protocol status. |
SmartcardT1Request (WDM) -or- |
Copies data from the user buffer to a send buffer and checks the T=1 protocol status. |
SmartcardUpdateCardCapabilities_(WDM) -or- |
Translates an ATR string into the SCARD_CARD_CAPABILITIES structure that can be used by the driver. |
VxD_CreateDevice (VxD) | Creates a new instance of a device. Not available for WDM drivers. |
VxD_DeleteDevice (VxD) | Deletes a device that was created using VxD_CreateDevice. Not available for WDM drivers. |