다음을 통해 공유


DDHAL_SETPALETTEDATA (Windows CE 5.0)

Send Feedback

This structure contains information necessary to set a palette to a specific surface. This structure passes the information to the DirectDraw hardware abstraction layer (DDHAL) SetPalette callback function.

typedef struct _DDHAL_SETPALETTEDATA {LPDDRAWI_DIRECTDRAW_GBLlpDD;LPDDRAWI_DDRAWSURFACE_LCLlpDDSurface;LPDDRAWI_DDRAWPALETTE_GBLlpDDPalette;HRESULTddRVal;LPDDHALSURFCB_SETPALETTESetPalette;BOOLAttach;} DDHAL_SETPALETTEDATA;

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.
  • lpDDPalette**
    Pointer to the DDRAWI_DDRAWPALETTE_GBL structure that represents the palette to set to the surface.
  • ddRVal**
    Passes the DirectDraw return values.
  • SetPalette**
    This member is used by DirectDraw and should not be filled in by the driver.
  • Attach
    Indicates whether to attach this palette to the surface.

Requirements

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

See Also

SetPalette | DDRAWI_DIRECTDRAW_GBL | DDRAWI_DDRAWSURFACE_LCL | DDRAWI_DDRAWPALETTE_GBL | DirectDrawSurface Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.