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

GetStreamSelected Method

Retrieves a value indicating whether the given stream is currently selected.

Syntax

bRetVal = MediaPlayer.GetStreamSelected( lStreamNum )

Parameters

lStreamNum Long value specifying a stream ID number.

Return Value

Returns TRUE if the given stream is currently selected, returns FALSE otherwise.

Remarks

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

See Also

GetStreamName, StreamCount, StreamSelect


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