IEncoderAPI::IsAvailable method (strmif.h)

[IEncoderAPI is no longer available for use. Instead, use ICodecAPI.]

The IsAvailable method queries whether a given parameter can be read and modified.

Syntax

HRESULT IsAvailable(
  [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
S_OK
The parameter can be read and modified. (Set and get operations are supported for this parameter.)
E_NOTIMPL
The parameter cannot be read or modified.

Remarks

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

Requirements

   
Target Platform Windows
Header strmif.h (include Dshow.h)
Library Strmiids.lib

See also

Encoder API

IEncoderAPI Interface