IOCTL_STORAGE_EJECT_MEDIA IOCTL (ntddstor.h)
Causes the device to eject the media if the device supports ejection capabilities.
Major code
Input buffer
None.
Input buffer length
None.
Output buffer
None.
Output buffer length
None.
Status block
The Information field is set to zero. The Status field is set to STATUS_SUCCESS, or possibly to STATUS_NO_MEDIA_IN_DEVICE or STATUS_INVALID_DEVICE_REQUEST.
Requirements
Requirement | Value |
---|---|
Header | ntddstor.h (include Ntddstor.h) |
See also
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