// smclib.h
NTSTATUS (*ReaderFunction[RDF_CARD_EJECT])(
PSMARTCARD_EXTENSION SmartcardExtension
);
View the official Windows hardware development documentationNo description available.
The RDF_CARD_EJECT callback function ejects an inserted smart card from the reader.
This function returns one of the following NTSTATUS values:
| 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. |
It is optional for smart card reader drivers to implement this callback function.
| Target platform | Desktop |
| Header | Smclib.h (include Smclib.h) |