Partager via


IVideoProcAmp::put_WhiteBalance

 
Microsoft DirectShow 9.0

IVideoProcAmp::put_WhiteBalance

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

The put_WhiteBalance method sets the camera's white balance, specified as a color temperature.

Syntax

  HRESULT put_WhiteBalance(
  long  Value,
  long  Flags
);

Parameters

Value

[in]  Specifies the white balance, in degrees Kelvin.

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