Smart card client driver support methods

The client driver support methods that are defined by the smart card class extension (WudfSmcClassExt) library. These methods are implemented by the smart card class extension module, Wudfsmcclassext.dll, which is an inbox component starting with Windows 10. Your smart card client driver calls these methods to communicate with smart card framework extension and the smart card hardware.

In this section

Topic Description

SMC_CONFIG_INIT

Initializes a SMC_CONFIG structure.

SmcCxDeinitializeCx

Releases resources allocated in its previous call to SmcCxInitialize.

SmcCxDeviceIoControl

Processes the requested I/O control code.

SmcDeviceInitConfig

Registers client driver-implemented callback functions with the smart card class extension before the framework creates a device object for the smart card device.

SmcCxGetCardCapabilities

Queries the supported functionality of the inserted smart card.

SmcCxGetCardState

Gets the current state of the smart card.

SmcCxGetIoRequestParams

Gets parameters that are associated with an I/O request.

SmcCxGetReaderCapabilities

Gets the capabilities of the smart card reader.

SmcCxGetT0Data

Gets the data for use with the T=0 protocol.

SmcCxGetT1Data

Gets the data for use with the T=1 protocol.

SmcCxGetSmartcardReplyBuffer

Gets the buffer that contains data received from the smart card.

SmcCxGetSmartcardRequestBuffer

Gets the buffer that contains data in the user's I/O request to be sent to the card.

SmcCxGetVendorAttr

Gets information that identifies the smart card reader, such as the vendor name, unit number, and serial number.

SmcCxInitializeCx

Initializes the Microsoft-provided smart card class extension (WudfSmcClassExt.dll).

SmcCxParseDataLengths

Parses the request buffer and determines the Lc and Le lengths of the request.

SmcCxT0Reply

Gets reply data for use with the T=0 protocol.

SmcCxT0Request

Prepares the buffer with data for use with the T=0 protocol to send to the smart card.

SmcCxT1Reply

Gets reply data for use with the T=1 protocol.

SmcCxT1Request

Prepares the buffer with data for use with the T=1 protocol to send to the smart card.

SmcCxSetSmartcardBufferSize

Sets the number of bytes to allocate for the buffer.

SmcCxSetCardState

Sets the current state of the smart card.

SmcCxUpdateCardCapabilities

Translates information from an answer-to-reset (ATR) string.

 

 

 

Send comments about this topic to Microsoft