Compartilhar via


DDHAL_CREATEPALETTEDATA (Windows CE 5.0)

Send Feedback

This structure contains information necessary to create a DirectDrawPalette object for this DirectDraw object. This structure passes the information to the DirectDraw hardware abstraction layer (DDHAL) CreatePalette callback function.

typedef struct _DDHAL_CREATEPALETTEDATA {LPDDRAWI_DIRECTDRAW_GBLlpDD;LPDDRAWI_DDRAWPALETTE_GBLlpDDPalette;LPPALETTEENTRYlpColorTable;HRESULTddRVal;LPDDHAL_CREATEPALETTECreatePalette;BOOLis_excl;} DDHAL_CREATEPALETTEDATA;

Members

  • lpDD**
    Pointer to the DDRAWI_DIRECTDRAW_GBL structure that represents the DirectDraw object.
  • lpDDPalette**
    Pointer to the DDRAWI_DDRAWPALETTE_GBL structure that represents the DirectDrawPalette object.
  • lpColorTable**
    Pointer to an array of 2, 4, 16, or 256 PALETTEENTRY structures used to initialize the colors for this DirectDrawPalette object.
  • ddRVal**
    Passes the DirectDraw return values.
  • CreatePalette**
    Used by DirectDraw and should not be filled in by the driver.
  • is_excl
    Indicates whether this process has exclusive mode.

Requirements

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

See Also

CreatePalette | DDRAWI_DIRECTDRAW_GBL | DDRAWI_DDRAWPALETTE_GBL | DirectDraw Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.