IOCTL_STORAGE_EJECT_MEDIA

IOCTL_STORAGE_EJECT_MEDIA control code

Causes the device to eject the media if the device supports ejection capabilities.

Input Parameters

None

Output Parameters

None

I/O 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

Header

Ntddstor.h (include Ntddstor.h)

See also

IOCTL_STORAGE_EJECTION_CONTROL

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft