DDHAL_GAMMACONTROLDATA (Compact 2013)

3/26/2014

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

See Also

Reference

Color Control Structures
DDRAWI_DIRECTDRAW_GBL
DDRAWI_DDRAWSURFACE_LCL