Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: GetMarkerTime
*Next Topic: GetMediaParameter

GetMediaInfoString Method

Retrieves show or clip information.

Syntax

sRetVal = MediaPlayer.GetMediaInfoString( lMediaInfoType )

Parameters

lMediaInfoType Long value indicating the type of show or clip information to return. See Remarks for supported types.

Return Value

Returns a String value associated with the given media information type.

Remarks

Valid media information types include the following.

Value Visual Basic Constant Description
0 mpShowFilename The name of the Advanced Stream Redirector (ASX) file containing the playlist.
1 mpShowTitle The playlist's title.
2 mpShowAuthor The playlist's author.
3 mpShowCopyright Copyright information for the playlist.
4 mpShowRating Rating information for the playlist.
5 mpShowDescription A description of the playlist.
6 mpShowLogoIcon The URL for the playlist's logo icon.
7 mpClipFilename The name of the current clip file.
8 mpClipTitle The clip's title.
9 mpClipAuthor The clip's author.
10 mpClipCopyright Copyright information for the clip.
11 mpClipRating Rating information for the clip.
12 mpClipDescription A description of the clip.
13 mpClipLogoIcon The URL for the clip's logo icon.
14 mpBannerImage The banner image URL.
15 mpBannerMoreInfo The more info URL associated with the banner.
16 mpWatermark The watermark image URL.

Show information refers to an ASX file containing a playlist.

Clip information refers to one of the individual media file entries specified in the playlist. Clip information comes either from the media file or from the ASX file referencing the media file. This method returns clip information from the ASX file if it is available. If the clip is accessed directly, this method returns information from the media file.

See Also

Retrieving Presentation Information


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