GetGammaCapsDXGI routine

The GetGammaCapsDXGI function retrieves gamma capabilities.

Syntax


pfnGetGammaCaps GetGammaCapsDXGI;

HRESULT __stdcall* GetGammaCapsDXGI(
  DXGI_DDI_ARG_GET_GAMMA_CONTROL_CAPS *pGammaData
)
{ ... }

Parameters

pGammaData

[in] A pointer to a DXGI_DDI_ARG_GET_GAMMA_CONTROL_CAPS structure that contains gamma capabilities.

Return value

GetGammaCapsDXGI returns S_OK if the gamma capabilities are successfully retrieved.

The driver should not encounter any error. The driver should ensure that it has the gamma capability information before it returns from a call to its CreateDevice(D3D10) function.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Dxgiddi.h (include D3d10umddi.h)

See also

CreateDevice(D3D10)
DXGI_DDI_ARG_GET_GAMMA_CONTROL_CAPS
DXGI_DDI_BASE_FUNCTIONS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft