IMFMediaEngineEx::GetResourceCharacteristics method

Gets various flags that describe the media resource.

Syntax


HRESULT GetResourceCharacteristics(
  [out]  DWORD *pCharacteristics
);

Parameters

pCharacteristics [out]

Receives a bitwise OR of zero or more flags. The following flags are defined.

ValueMeaning
0x00000001

The media resource represents a live data source, such as a video camera. If playback is stopped and then restarted, there will be a gap in the content.

0x00000002

The media resource supports seeking. To get the seekable range, call IMFMediaEngine::GetSeekable.

0x00000003

The media resource can be paused.

0x00000004

Seeking this resource can take a long time. For example, it might download through HTTP.

 

Return value

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

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaEngineEx

 

 

Community Additions

ADD
Show:
© 2014 Microsoft