GetCodecInstalled
A version of this page is also available for
4/8/2010
This method retrieves a value indicating whether a given codec is installed.
Compatibility: Windows Media Player
Syntax
bRetVal = MediaPlayer.GetCodecInstalled(
lCodecNum
)
Parameters
- lCodecNum
[in] Long value indicating the codec number.
Return Value
Returns a Boolean containing one of the following values.
Value | Description |
---|---|
TRUE |
The specified codec is installed. |
FALSE |
The specified codec is not installed. |
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
Windows Embedded CE | Windows CE 3.0 and later |
See Also
Reference
Windows Media Player Methods
CodecCount
GetCodecDescription
GetCodecURL