|Microsoft DirectX 9.0|
The get_MediaState method retrieves the current state of the media.
HRESULT get_MediaState( long *pState );
[out] Pointer to a long integer that receives one of the following values.
|ED_MEDIA_SPIN_DOWN||For disk media: Stopped spinning. For tape media: Tape is unthreaded.|
|ED_MEDIA_SPIN_UP||For disk media: Started spinning, but not at full speed. For tape media: Threading the tape.|
|ED_MEDIA_UNLOAD||Media is ejected from the drive.|
When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.
MSDV does not support this method. It returns E_NOTIMPL.