Windows Media Format SDK banner art
PreviousNext

IWMReaderAdvanced::SetManualStreamSelection

The SetManualStreamSelection specifies whether stream selection is to be controlled manually or not.

Syntax

HRESULT SetManualStreamSelection(
  BOOL  fSelection
);

Parameters

  fSelection

[in]  Flag indicating selection.

Return Values

This method always returns S_OK.

Remarks

The user can select streams manually instead of relying on the automatic language or bandwidth stream selection that the reader normally provides. To determine what streams are in a Windows Media file, and what their stream numbers are, call QueryInterface using the stream configuration object to access the IWMProfile interface. When SetManualStreamSelection( TRUE ) is called, all streams are selected by default.

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

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.