Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DDRAWI_DDRAWPALETTE_GBLstructure contains the global DirectDrawPalette data that can be shared between object instances.
typedef struct _DDRAWI_DDRAWPALETTE_GBL { DWORD dwRefCnt ; DWORD dwFlags ; LPDDRAWI_DIRECTDRAW_LCL lpDD_lcl ; DWORD dwProcessId ; LPPALETTEENTRY lpColorTable ; union { DWORD dwReserved1 ; HPALETTE hHELGDIPalette ; }; DWORD dwDriverReserved ; DWORD dwContentsStamp ; DWORD dwSaveStamp ; } DDRAWI_DDRAWPALETTE_GBL;
Members
Flag | Usage |
---|---|
DDRAWIPAL_16 | Indicates a 16-entry palette. |
DDRAWIPAL_2 | Indicates a 2-entry palette. |
DDRAWIPAL_256 | Indicates a 256-entry palette. |
DDRAWIPAL_4 | Indicates a 4-entry palette. |
DDRAWIPAL_ALLOW256 | Indicates that the palette can be fully updated. |
DDRAWIPAL_ALPHA | Indicates the palette contains alpha. |
DDRAWIPAL_DIRTY | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWIPAL_EXCLUSIVE | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWIPAL_GDI | Indicates the palette is allocated through GDI. |
DDRAWIPAL_INHEL | This flag is used by DirectDraw and should not be set by the driver. |
DDRAWIPAL_STORED_8 | Indicates the palette is stored as 8 bpp per entry. |
DDRAWIPAL_STORED_8INDEX | Indicates the palette is stored as an 8-bit index into the destination palette. |
DDRAWIPAL_STORED_16 | Indicates the palette is stored as 16 bpp per entry. |
DDRAWIPAL_STORED_24 | Indicates the palette is stored as 24 bpp per entry. |
Last updated on Tuesday, July 13, 2004