RDF_CARD_EJECT (Optional)

The RDF_CARD_EJECT callback function ejects an inserted smart card.

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

Parameters

SmartcardExtension
Points to the smart card extension of the device.

Input Values

SmartcardExtension->MajorIoControlCode
Contains IOCTL_SMARTCARD_EJECT.

Return Values

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.