SetGammaControl

IDXGIOutput::SetGammaControl method

Sets the gamma controls.

Syntax


HRESULT SetGammaControl(
  [inconst DXGI_GAMMA_CONTROL *pArray
);

Parameters

pArray [in]

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

Header

DXGI.h

Library

DXGI.lib

See also

IDXGIOutput

 

 

Show:
© 2016 Microsoft