共用方式為


IVideoProcAmp::put_Saturation

 
Microsoft DirectShow 9.0

IVideoProcAmp::put_Saturation

This topic applies only to Windows XP Service Pack 2 and later.

The put_Saturation method sets the camera's saturation setting.

Syntax

  HRESULT put_Saturation(
  long  Value,
  long  Flags
);

Parameters

Value

[in]  Specifies the saturation setting. Larger values indicate greater saturation. The value zero indicates grayscale.

Flags

[in]  Zero or more flags. See VideoProcAmpFlags. If the VideoProcAmp_Flags_Auto flag is used, the Value parameter is ignored and the camera sets the default value.

Return Values

Returns an HRESULT value.

Requirements

Header: Include Vidcap.h.

Library: None.

See Also