RDF_READER_SWALLOW callback function

The RDF_READER_SWALLOW callback function performs a mechanical swallow, which is what happens when the smart card is fully inserted into the smart card reader.

Syntax

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

Parameters

Return value

This function returns an NTSTATUS value. Possible values include the following:

Return code Description
STATUS_SUCCESS

Function successfully executed.

STATUS_NO_MEDIA

No smart card is inserted in the reader.

STATUS_IO_TIMEOUT

The request timed out.

 

Remarks

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

Requirements

Target platform

Desktop

Header

Smclib.h (include Smclib.h)

See also

IOCTL_SMARTCARD_SWALLOW

SMARTCARD_EXTENSION

 

 

Send comments about this topic to Microsoft