Share via


IEncoderAPI::IsAvailable Method

Note  The IEncoderAPI interface is deprecated. Use ICodecAPI instead.
The IsAvailable method queries whether a given parameter can be read and modified.

Syntax

HRESULT IsAvailable(
  [in]  const GUID *Api
);

Parameters

  • Api [in]
    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

Header Declared in Strmif.h; include Dshow.h.
Library Use Strmiids.lib.

See Also

Encoder API
IEncoderAPI Interface

Send comments about this topic to Microsoft

Build date: 12/4/2008