Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: GetStreamSelected
*Next Topic: GoUp

GetSubpictureLanguage Method

Retrieves a value specifying the language for the specified subpicture stream.

Syntax

sRetVal = MediaPlayer.DVD.GetSubpictureLanguage( uStream )

Parameters

uStream ULONG value specifying the subpicture stream number.

Return Value

Returns a BSTR value identifying a language according to the Alpha-2 Code defined in ISO-639. See Remarks.

Remarks

Subpictures are encoded graphics, such as subtitles or menus, that can be displayed over the top of the video.

This method returns an error unless the domain is TT_DOM. For more information on domains, see the CurrentDomain property.

The following link contains information on the Alpha-2 Codes defined in ISO-639, external linkhttp://www.ics.uci.edu/pub/ietf/http/related/iso639.txt.

See Also

CurrentSubpictureStream, SubpictureOn, SubpictureStreamsAvailable, EC_DVD_SUBPICTURE_STREAM_CHANGE


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