IDXGIOutput::SetGammaControl method (dxgi.h)

Sets the gamma controls.

Syntax

HRESULT SetGammaControl(
  [in] const DXGI_GAMMA_CONTROL *pArray
);

Parameters

[in] pArray

Type: const DXGI_GAMMA_CONTROL*

A pointer to a DXGI_GAMMA_CONTROL structure that describes the gamma curve to set.

Return value

Type: HRESULT

Returns one of the DXGI_ERROR values.

Remarks

Note  Calling this method is only supported while in full-screen mode.
 

For info about using gamma correction, see Using gamma correction.

Requirements

Requirement Value
Target Platform Windows
Header dxgi.h
Library DXGI.lib

See also

IDXGIOutput