Export (0) Print
Expand All

IMFMediaEngineEx::GetStreamSelection method

Queries whether a stream is selected to play.

Syntax


HRESULT GetStreamSelection(
  [in]   DWORD dwStreamIndex,
  [out]  BOOL *pEnabled
);

Parameters

dwStreamIndex [in]

The zero-based index of the stream. To get the number of streams, call IMFMediaEngineEx::GetNumberOfStreams.

pEnabled [out]

Receives a Boolean value.

ValueMeaning
TRUE

The stream is selected. During playback, this stream will play.

FALSE

The stream is not selected. During playback, this stream will not play.

 

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