GetCodecURL

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

Compatibility: Windows Media Player

sRetVal = MediaPlayer.GetCodecURL(
  lCodecNum
)

Parameters

  • lCodecNum
    [in] Long value indicating the codec number.

Return Values

Returns a String value 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 CodecCount property.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Methods | Compatibility Modes | CodecCount | GetCodecDescription | GetCodecInstalled

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.