D3DKMT_SETGAMMARAMP - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmthk.h

typedef struct _D3DKMT_SETGAMMARAMP {
  [in] D3DKMT_HANDLE                  hDevice;
  [in] D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  [in] D3DDDI_GAMMARAMP_TYPE          Type;
  union {
    [in] D3DDDI_GAMMA_RAMP_RGB256x3x16 *pGammaRampRgb256x3x16;
    [in] D3DDDI_GAMMA_RAMP_DXGI_1      *pGammaRampDXGI1;
  };
  [in] UINT                           Size;
} D3DKMT_SETGAMMARAMP;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmthk-_d3dkmt_setgammaramp)

_D3DKMT_SETGAMMARAMP structure

Description

The D3DKMT_SETGAMMARAMP structure describes parameters for setting the gamma ramp.

Members

hDevice [in]

A handle to the device.

VidPnSourceId [in]

The zero-based identification number of the video present source in a path of a video present network (VidPN) topology for the VidPN source.

Type [in]

A D3DDDI_GAMMARAMP_TYPE-typed value. This member can be one of the following: D3DDDI_GAMMARAMP_UNINITIALIZED (0), D3DDDI_GAMMARAMP_DEFAULT (1), D3DDDI_GAMMARAMP_RGB256x3x16 (2), or D3DDDI_GAMMARAMP_DXGI_1 (3).

pGammaRampRgb256x3x16 [in]

A pointer to a D3DDDI_GAMMA_RAMP_RGB256x3x16 structure. The union that is contained in D3DKMT_SETGAMMARAMP holds a structure of this type if the Type member is D3DDDI_GAMMARAMP_RGB256x3x16.

pGammaRampDXGI1 [in]

A pointer to a D3DDDI_GAMMA_RAMP_DXGI_1 structure. The union that is contained in D3DKMT_SETGAMMARAMP holds a structure of this type if the Type member is D3DDDI_GAMMARAMP_DXGI_1.

Size [in]

The size of the D3DDDI_GAMMA_RAMP_RGB256x3x16 or D3DDDI_GAMMA_RAMP_DXGI_1 structure that D3DDDI_GAMMA_RAMP_RGB256x3x16 or D3DDDI_GAMMA_RAMP_DXGI_1 points to.

See also

D3DDDI_GAMMARAMP_TYPE

D3DDDI_GAMMA_RAMP_DXGI_1

D3DDDI_GAMMA_RAMP_RGB256x3x16

D3DKMTSetGammaRamp