Previous Next

RDF_READER_SWALLOW

The swallow callback function does a mechanical swallow.

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

Parameters

On input SmartcardExtension->MajorIoControlCode contains IOCTL_SMARTCARD_SWALLOW.

Return Value

This function returns an NTSTATUS value. Possible values are the following.

Value Meaning
STATUS_SUCCESS Function successfully executed.
STATUS_NO_MEDIA No card is in the reader.
STATUS_IO_TIMEOUT The request has timed out.

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, IOCTL_SMARTCARD_SWALLOW