Partager via


DDGAMMARAMP (Windows Embedded CE 6.0)

1/6/2010

This structure contains red, green, and blue gamma ramp data.

This structure is used to set and retrieve a gamma ramp with IDirectDrawGammaControl::GetGammaRamp and IDirectDrawGammaControl::SetGammaRamp.

Syntax

typedef struct _DDGAMMARAMP
{
  WORD red[256];
  WORD green[256];
  WORD blue[256];
}DDGAMMARAMP, *LPDDGAMMARAMP;

Members

  • red
    An array of 256 WORD elements that describes the red gamma ramp.
  • green
    An array of 256 WORD elements that describes the green gamma ramp.
  • blue
    An array of 256 WORD elements that describes the blue gamma ramp.

Requirements

Header ddraw.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

DirectDraw Structures