共用方式為


IVideoProcAmp::get_Gamma

 
Microsoft DirectShow 9.0

IVideoProcAmp::get_Gamma

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

The get_Gamma method returns the camera's gamma setting.

Syntax

  HRESULT get_Gamma(
  long*  pValue,
  long*  pFlags
);

Parameters

pValue

[out]  Receives the gamma setting, in units of gamma * 100. Theoretical values range from 1 to 500, but the actual range depends on the camera. See IVideoProcAmp::getRange_Gamma.

pFlags

[out]  Receives one or more flags. See VideoProcAmpFlags.

Return Values

Returns an HRESULT value.

Requirements

Header: Include Vidcap.h.

Library: None.

See Also