共用方式為


ICodecAPI::IsSupported

 
Microsoft DirectShow 9.0

ICodecAPI::IsSupported

The IsSupported method queries whether a given parameter is supported.

Syntax

  HRESULT IsSupported(
  const GUID* Api
);

Parameters

Api

[in]  Pointer to a GUID that specifies the parameter.

Return Values

Returns an HRESULT value. Possible values are shown in the following table.

Return code Description
S_FALSE The encoder does not support the parameter.
S_OK The encoder supports the parameter.

Remarks

Any errors besides those in the previous table indicate an inability to process the call.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also