共用方式為


IVideoProcAmp::put_Contrast

 
Microsoft DirectShow 9.0

IVideoProcAmp::put_Contrast

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

The put_Contrast method sets the camera's contrast setting.

Syntax

  HRESULT put_Contrast(
  long  Value,
  long  Flags
);

Parameters

Value

[in]  Specifies the contrast setting. Larger values indicate increased contrast.

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