| /* |
| * GDI palette definitions |
| * |
| * Copyright 1994 Alexandre Julliard |
| */ |
| |
| #ifndef __WINE_PALETTE_H |
| #define __WINE_PALETTE_H |
| |
| #include "gdi.h" |
| |
| #pragma pack(1) |
| |
| /* GDI logical palette object */ |
| typedef struct |
| { |
| GDIOBJHDR header; |
| int *mapping WINE_PACKED; |
| LOGPALETTE logpalette WINE_PACKED; /* _MUST_ be the last field */ |
| } PALETTEOBJ; |
| |
| #pragma pack(4) |
| |
| extern int PALETTE_GetObject( PALETTEOBJ * palette, int count, LPSTR buffer ); |
| extern BOOL PALETTE_DeleteObject( HPALETTE16 hpalette, PALETTEOBJ *palette ); |
| extern BOOL PALETTE_UnrealizeObject( HPALETTE16 hpalette, PALETTEOBJ *palette); |
| |
| #endif /* __WINE_PALETTE_H */ |