DDHAL_COLORCONTROLDATA (Compact 2013)

3/26/2014

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

Syntax

typedef struct _DDHAL_COLORCONTROLDATA {
  LPDDRAWI_DIRECTDRAW_GBL lpDD;
  LPDDRAWI_DDRAWSURFACE_LCL lpDDSurface;
  LPDDCOLORCONTROL lpColorData;
  DWORD dwFlags;
  HRESULT ddRVal;
} DDHAL_COLORCONTROLDATA;

Members

  • lpColorData
    Pointer to a DDCOLORCONTROL structure that defines the color control associated with an overlay or primary surface.
  • dwFlags
    Color control flags.

    The following table shows the possible flags.

    Flag

    Description

    DDCOLORC_I_GETCOLOR

    Indicates you want to get the current color controls.

    DDCOLORC_I_SETCOLOR

    Indicates you want to set new color control values.

  • ddRVal
    Passes the DirectDraw return values.

Requirements

Header

ddrawi.h

See Also

Reference

Color Control Structures
DDRAWI_DIRECTDRAW_GBL
DDRAWI_DDRAWSURFACE_LCL

Other Resources

DDCOLORCONTROL