다음을 통해 공유


GetCodecDescription (Windows CE 5.0)

Send Feedback

This method retrieves the descriptive name of the given codec.

Compatibility: Windows Media Player

sRetVal = MediaPlayer.GetCodecDescription(sCodecNum)

Parameters

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

Return Values

Returns a String containing the descriptive name of the given codec.

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

Remarks

The 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 | GetCodecInstalled | GetCodecURL

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.