Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method retrieves the URL location containing additional information about the given codec.

Compatibility:Windows Media Player

Syntax

sRetVal = MediaPlayer.GetCodecURL(

lCodecNum
)

Parameters

lCodecNum

[in] Longvalue indicating the codec number.

Return Value

Returns a Stringvalue indicating the URL location that contains additional information about the given codec.

This method returns a null string if the specified codec is not found.

Remarks

Codec numbers start with 1.

You will get an error if you use 0.

Typically, the codec number is 1 for audio and 2 for video.

Valid values for codec numbers range from 1 to the value of the CodecCountproperty.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also