Share via


Smart Card Driver Functions (Windows CE 5.0)

Send Feedback

The following table shows the Smart Card driver functions with a description of the purpose of each.

Programming element Description
MapNtStatusToWinError This function maps a Microsoft® Windows NT® status code to a Microsoft Win32® error code.
RDF_CARD_EJECT The RDF_CARD_EJECT callback function ejects an inserted smart card.
RDF_CARD_POWER The RDF_CARD_POWER callback function resets or powers down an inserted smart card.
RDF_CARD_TRACKING The RDF_CARD_TRACKING callback function installs an event handler to track card insertions and removals.
RDF_IOCTL_VENDOR The RDF_IOCTL_VENDOR callback function performs vendor-specific IOCTL operations.
RDF_READER_SWALLOW 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.
RDF_SET_PROTOCOL The RDF_SET_PROTOCOL callback function selects a transmission protocol for the currently inserted card.
RDF_TRANSMIT The RDF_TRANSMIT callback function performs data transmissions.
SmartcardCreateLink The SmartcardCreateLink function registers a friendly name that an application can use to access the device through the smart card resource manager.
SmartcardDeleteLink The SmartcardDeleteLink function deletes links that were created with SmartcardCreateLink.
SmartcardDeviceControl The SmartcardDeviceControl function is the main entry function for the smart card driver library.
SmartcardExit The SmartcardExit function frees buffers that were allocated during a call to SmartcardInitialize.
SmartcardInitialize The SmartcardInitialize function allocates internal buffers for the library.
SmartcardLockDevice The SmartcardLockDevice function takes the device critical section.
SmartcardRawReply The SmartcardRawReply function transfers the data received from the card to the user buffer.
SmartcardRawRequest The SmartcardRawRequest function copies data from the user buffer to the send buffer that the driver uses to transmit data to the reader.
SmartcardT0Reply The SmartcardT0Reply function transfers the data received from the card to the user buffer.
SmartcardT0Request The SmartcardT0Request function copies data from the user buffer to the send buffer that the driver uses to transmit data to the reader.
SmartcardT1Reply The SmartcardT1Reply function copies data from the receive buffer to the user buffer and checks the T=1 protocol status.
SmartcardT1Request The SmartcardT1Request function copies data from the user buffer to a send buffer and checks the T=1 protocol status.
SmartcardUnlockDevice The SmartcardUnlockDevice function releases the device critical section claimed by SmartcardLockDevice.
SmartcardUpdateCardCapabilities The SmartcardUpdateCardCapabilities function translates an ATR string into the SCARD_CARD_CAPABILITIES structure that can be used by the driver.

See Also

Smart Card Driver Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.