共用方式為


IVideoProcAmp::put_WhiteBalanceComponent

 
Microsoft DirectShow 9.0

IVideoProcAmp::put_WhiteBalanceComponent

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

The put_WhiteBalanceComponent method sets the camera's white balance, specified as red and blue component values.

Syntax

  HRESULT put_WhiteBalanceComponent(
  long  Value1,
  long  Value2,
  long  Flags
);

Parameters

Value1

[in]  Specifies the red component.

Value2

[in]  Specifies the blue component.

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