GetCodecInstalled (Compact 7)
3/12/2014
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.
See Also
Reference
Windows Media Player Methods
CodecCount
GetCodecDescription
GetCodecURL