Freigeben über


ICodecAPI::GetValue

 
Microsoft DirectShow 9.0

ICodecAPI::GetValue

The GetValue method retrieves the current value of a specified parameter.

Syntax

  HRESULT GetValue(
  const GUID*  Api,
  VARIANT*  Value
);

Parameters

Api

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

Value

[out]  Pointer to a VARIANT type that receives the value of the parameter.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
S_OK Success.
VFW_E_CODECAPI_NO_CURRENT_VALUE The specified parameter does not have a current value.

Requirements

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

Library: Use Strmiids.lib.

See Also