Windows Media Player SDK banner art
PreviousNext

Player6.GetCodecInstalled

This method retrieves a value indicating whether a given codec is installed.

Syntax

MediaPlayer.GetCodecInstalled(lCodecNum)

Parameters

  lCodecNum

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 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

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.