IEncoderAPI::IsSupported method (strmif.h)
[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
[IEncoderAPI is no longer available for use. Instead, use ICodecAPI.]
The IsSupported method queries whether a given parameter is supported.
Syntax
HRESULT IsSupported(
[in] const GUID *Api
);
Parameters
[in] Api
Pointer to a GUID that specifies the parameter.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The encoder supports the parameter. |
|
The encoder does not support the parameter. |
Remarks
The method returns S_OK if the encoder recognizes the GUID. To check whether the parameter can be read or modified, call the IEncoderAPI::IsAvailable method.
Any errors besides those in the table above indicate an inability to process the call.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | strmif.h (include Dshow.h) |
Library | Strmiids.lib |