IDXGIOutput::GetGammaControl method (dxgi.h)

Gets the gamma control settings.

Syntax

HRESULT GetGammaControl(
  [out] DXGI_GAMMA_CONTROL *pArray
);

Parameters

[out] pArray

Type: DXGI_GAMMA_CONTROL*

An array of gamma control settings (see DXGI_GAMMA_CONTROL).

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