IOCTL_SMARTCARD_EJECT IOCTL (winsmcrd.h)
The IOCTL_SMARTCARD_EJECT request ejects the currently inserted smart card from the smart card reader.
Major code
Input buffer
None
Output buffer
None
Status block
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Possible error codes are:
Return Code | Description |
---|---|
STATUS_NO_MEDIA | No smart card is in the reader. |
STATUS_NOT_SUPPORTED | Reader does not support smart card eject. |
STATUS_IO_TIMEOUT | Operation timed out. |
Requirements
Requirement | Value |
---|---|
Header | winsmcrd.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for