IAMExtTransport::get_MediaState

 
Microsoft DirectShow 9.0

IAMExtTransport::get_MediaState

The get_MediaState method retrieves the current state of the media.

This method is not implemented.

Syntax

  HRESULT get_MediaState(
  long *pState
);

Parameters

pState

[out]  Pointer to a long integer that receives one of the following values.

Value Description
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.

Return Values

When this method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

DV Implementation

MSDV does not support this method. It returns E_NOTIMPL.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also