RDF_CARD_POWER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// smclib.h

NTSTATUS (*ReaderFunction[RDF_CARD_POWER])(
   PSMARTCARD_EXTENSION SmartcardExtension
);
View the official Windows hardware development documentation

NtDoc

No description available.

Windows hardware development documentation (smartcard-rdf-card-power-callback)

RDF_CARD_POWER callback function

The RDF_CARD_POWER callback function resets or turns off an inserted smart card.

Parameters

Return value

This function returns one of the following NTSTATUS values:

Return code Description
STATUS_SUCCESS The function was successfully executed.
STATUS_NO_MEDIA No smart card is inserted in the reader.
STATUS_IO_TIMEOUT The request timed out.
STATUS_BUFFER_TOO_SMALL The user buffer is not large enough to hold the answer-to-reset (ATR).

Remarks

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

On input, the structure pointed to by SmartcardExtension should have the following member values:

On output, the structure pointed to by SmartcardExtension should have the following values:

Requirements

Target platform Desktop
Header Smclib.h (include Smclib.h)

See also

SMARTCARD_EXTENSION