Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: GetCodecDescription
*Next Topic: GetCodecURL

GetCodecInstalled Method

Retrieves a value specifying whether a given codec is installed.

Syntax

bRetVal = MediaPlayer.GetCodecInstalled( lCodecNum )

Parameters

lCodecNum Long value specifying the codec number.

Return Value

Returns TRUE if the specified codec is installed, otherwise returns FALSE.

Remarks

Codec numbers start with 1. You will get an error if you use zero. 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

CodecCount, GetCodecDescription, GetCodecURL


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.