Share via


IAMVideoProcAmp::Set

 
Microsoft DirectShow 9.0

IAMVideoProcAmp::Set

The Set method sets video quality for a specified property.

Syntax

  HRESULT Set(
  long Property,
  long lValue,
  long Flags
);

Parameters

Property

[in] Specifies the property to set, as a value from the VideoProcAmpProperty enumeration.

lValue

[in] Specifes the new value of the property.

Flags

[in] Specifies the desired control setting, as a member of the VideoProcAmpFlags enumeration

Return Values

If the method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

Remarks

If the pCapsFlags parameter is VideoProcAmp_Flags_Auto, the method ignores the lValue parameter.

Requirements

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

Library: Use Strmiids.lib.

See Also