Share via


DDHAL_GAMMACONTROLDATA (Windows Embedded CE 6.0)

1/6/2010

This structure contains the gamma control information for a specified surface.

Syntax

typedef struct _DDHAL_GAMMACONTROLDATA {
  LPDDRAWI_DIRECTDRAW_GBL     lpDD;
  LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface;
  LPDDGAMMARAMP lpGammaData;
  DWORD dwFlags;
  HRESULT ddRVal;
} DDHAL_GAMMACONTROLDATA, * LPDDHAL_GAMMACONTROLDATA;

Members

  • lpGammaData
    Pointer to a DDGAMMARAMP structure that defines the gamma controls associated with an overlay or primary surface.
  • dwFlags
    Color control flags.

    The following table shows the possible flags.

    Flag Description

    DDGAMMAC_I_GETGAMMA

    Indicates you want to get the current gamma controls.

    DDGAMMAC_I_SETGAMMA

    Indicates you want to set new gamma control values.

  • ddRVal
    Passes the DirectDraw return values.

Requirements

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

See Also

Reference

DDRAWI_DIRECTDRAW_GBL
DDRAWI_DDRAWSURFACE_LCL

Concepts

Color Control Structures