Previous Next

RDF_ATR_PARSE

The answer-to-reset (ATR) parse function parses an ATR for the smart card driver library when the driver library is unable to recognize or parse it.

NTSTATUS 
  (*ReaderFunction[RDF_ATR_PARSE])(
    PSMARTCARD_EXTENSION  SmartcardExtension
    );

Parameters

SmartcardExtension
Pointer to the smart card extension of the device. On input, the structure pointed to by SmartcardExtension should have the MajorIoControlCode member set to IOCTL_SMARTCARD_SET_PROTOCOL.

Return Value

This function returns an NTSTATUS value, or the appropriate error value.

Headers

Declared in smclib.h. Include smclib.h.

Comments

It is optional for card reader drivers to implement this callback function.

See Also

SMARTCARD_EXTENSION