Windows Media Format SDK banner art
PreviousNext

IWMReaderAdvanced::GetStreamSelected

The GetStreamSelected method retrieves flag indicating whether a particular stream is currently selected.  This can be used only when manual stream selection has been specified.

Syntax

HRESULT GetStreamSelected(
  WORD  wStreamNum,
  WMT_STREAM_SELECTION*  pSelection
);

Parameters

  wStreamNum

[in]  Word containing the stream number.

  pSelection

[out]  Pointer to one member of the WMT_STREAM_SELECTION enumeration type.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
E_UNEXPECTED The method failed for an unspecified reason.
E_POINTER The pSelection parameter is NULL.

Remarks

Stream numbers may only be in the range of 1-64.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.