WDM Driver Functions

The following functions can be used when developing WDM drivers.

Function Description
SmartcardCreateLink (WDM) Creates a DOS device name.
SmartcardDeleteLink (WDM) Deletes the link that was created with SmartcardCreateLink (WDM).
SmartcardDeviceControl (WDM) Checks parameters and completes calls that do not require I/O with the reader.
SmartcardExit (WDM) Frees buffers allocated during a call to SmartcardInitialize (WDM).
SmartcardInitialize (WDM) Allocates internal buffers for the library.
SmartcardLogError (WDM) Writes an error message to the event log.
SmartcardRawReply (WDM) Copies data from the receive buffer to the user buffer.
SmartcardRawRequest (WDM) Copies data from the user buffer to the send buffer for transmitting data to the reader.
SmartcardT0Reply (WDM) Copies data from the receive buffer to the user buffer.
SmartcardT0Request (WDM) Copies data from the user buffer to the send buffer for transmitting data to the reader.
SmartcardT1Reply (WDM) Copies data from the receive buffer to the user buffer and checks the T=1 protocol status.
SmartcardT1Request (WDM) Copies data from the user buffer to the send buffer and checks the T=1 protocol status.
SmartcardUpdateCardCapabilities (WDM) Translates an ATR string into a SCARD_CARD_CAPABILITIES structure that can be used by the driver.

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