Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: GetNumberOfChapters
*Next Topic: GetStreamName

GetStreamGroup Method

Retrieves the group associated with the given media stream.

Syntax

lRetVal = MediaPlayer.GetStreamGroup( lStreamNum )

Parameters

lStreamNum Long value specifying 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

GetStreamName, GetStreamSelected, StreamCount, StreamSelect


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.