Share via


DDHAL_COLORCONTROLDATA (Windows CE 5.0)

Send Feedback

This structure contains the color control information for a specified surface. It passes the information to the DirectDraw hardware abstraction layer (DDHAL) HalColorControl (color control callback) function.

typedef struct _DDHAL_COLORCONTROLDATA {LPDDRAWI_DIRECTDRAW_GBLlpDD;LPDDRAWI_DDRAWSURFACE_LCLlpDDSurface;LPDDCOLORCONTROLlpColorData;DWORDdwFlags;HRESULTddRVal;LPDDHALCOLORCB_COLORCONTROLColorControl;} DDHAL_COLORCONTROLDATA;

Members

  • lpDD**
    Pointer to the DDRAWI_DIRECTDRAW_GBL structure that represents the DirectDraw object.

  • lpDDSurface**
    Pointer to the DDRAWI_DDRAWSURFACE_LCL structure that represents the DirectDrawSurface object.

  • 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
    DDRAWI_GETCOLOR Indicates you want to get the current color controls.
    DDRAWI_SETCOLOR Indicates you want to set new color control values.
  • ddRVal**
    Passes the DirectDraw return values.

  • ColorControl**
    Used by DirectDraw and should not be filled in by the driver.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.

See Also

DDRAWI_DIRECTDRAW_GBL | DDRAWI_DDRAWSURFACE_LCL | DDCOLORCONTROL | HalColorControl (color control callback) | Color Control Structure

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.