Windows Media Player SDK banner art
PreviousNext

Player6.StreamSelect

This method selects the media stream indicated by the specified stream number.

Syntax

MediaPlayer.StreamSelect(lStreamNum)

Parameters

  lStreamNum

Long value indicating a stream number to select.

Return Value

This method does not return a value.

Remarks

Stream numbers are zero-based. Valid values for stream numbers range from zero to the value of the StreamCount property minus one.

Related streams are often grouped together. For example, a stream group could be made up of audio language tracks. Only one stream in a group can be selected at any one time. Selecting a stream in a group automatically deselects all other streams in that group.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.