GetCodecInstalled
This method retrieves a value indicating whether a given codec is installed.
Compatibility: Windows Media Player
bRetVal = MediaPlayer.GetCodecInstalled(
lCodecNum
)
Parameters
- lCodecNum
[in] Long value indicating the codec number.
Return Values
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
OS Versions: Windows CE 3.0 and later.
See Also
Windows Media Player Methods | Compatibility Modes | CodecCount | GetCodecDescription | GetCodecURL
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.