Windows Media Player SDK banner art
PreviousNext

Player6.GetStreamGroup

This method retrieves the group associated with the given media stream.

Syntax

MediaPlayer.GetStreamGroup(lStreamNum)

Parameters

  lStreamNum

Long value indicating a stream number.

Return Value

Returns a Long value indicating the group associated with the given media stream.

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.