Microsoft DirectX 9.0

IAMNetShowExProps::GetCodecInstalled

The GetCodecInstalled method queries whether a specified codec is installed on the local system.

Syntax

HRESULT GetCodecInstalled(
  long  CodecNum,
  VARIANT_BOOL *pCodecInstalled
);

Parameters

CodecNum

Specifies the codec to query, indexed from zero. Call get_CodecCount to obtain the number of codecs.

pCodecInstalled

Pointer that receives a Boolean value.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

See Also