VxD Driver Functions

The following functions can be used when developing VxD drivers.

Function Description
SmartcardCompleteCardTracking (VxD) Informs the caller of a card insertion or removal event.
SmartcardCompleteRequest (VxD) Informs the caller of the completion of a request.
SmartcardCreateLink (VxD) Creates a registry entry that is used by the smart card resource manager to access a device.
SmartcardDeleteLink (VxD) Deletes the link that was created with SmartcardCreateLink (VxD).
SmartcardDeviceControl (VxD) Checks parameters and completes calls that do not require I/O with the reader.
SmartcardExit (VxD) Frees buffers allocated during a call to SmartcardInitialize (VxD).
SmartcardInitialize (VxD) Allocates internal buffers for the library.
SmartcardRawReply (VxD) Copies data from the receive buffer to the user buffer.
SmartcardRawRequest (VxD) Copies data from the user buffer to the send buffer for transmitting data to the reader.
SmartcardT0Reply (VxD) Copies data from the receive buffer to the user buffer.
SmartcardT0Request (VxD) Copies data from the user buffer to the send buffer for transmitting data to the reader.
SmartcardT1Reply (VxD) Copies data from the receive buffer to the user buffer and checks the T=1 protocol status.
SmartcardT1Request (VxD) Copies data from the user buffer to the send buffer and checks the T=1 protocol status.
SmartcardUpdateCardCapabilities (VxD) Translates an ATR string into a SCARD_CARD_CAPABILITIES structure that can be used by the driver.
MapNtStatusToWinError (VxD) Maps a Microsoft® Windows NT® status code to a Win32® error code.
VxD_CreateDevice (VxD) Creates a new instance of a device.
VxD_DeleteDevice (VxD) Deletes a device that was created using VxD_CreateDevice (VxD).

For a list of the functions that can be used when developing WDM drivers, see WDM Driver Functions.