Microsoft DirectX 9.0

IAMNetShowExProps::GetCodecURL

The GetCodecURL method retrieves the URL where the codec may be downloaded.

Syntax

HRESULT GetCodecURL(
  long  CodecNum,
  BSTR FAR*  pbstrCodecURL
);

Parameters

CodecNum

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

pbstrCodecURL

Pointer that receives the URL.

Return Values

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

Remarks

The caller must release the returned BSTR, by calling SysFreeString.

See Also