The IOCTL_SMARTCARD_EJECT DeviceIoControl operation ejects the currently inserted smart card from the smart card reader.
Information is set to zero. Status can be:
Status | Meaning |
---|---|
STATUS_SUCCESS | Card successfully ejected. |
STATUS_NO_MEDIA | No card in reader. |
STATUS_NOT_SUPPORTED | Reader does not support card eject. |
STATUS_IO_TIMEOUT | Operation has timed out. |
The IOCTL_SMARTCARD_EJECT DeviceIoControl operation ejects the currently inserted smart card from the smart card reader.
Following are possible return values.
Value | Meaning |
---|---|
STATUS_SUCCESS | Card successfully ejected. |
STATUS_NO_MEDIA | No card in reader. |
STATUS_NOT_SUPPORTED | Reader does not support card eject. |
STATUS_IO_TIMEOUT | Operation has timed out. |