2 * GDI palette definitions
4 * Copyright 1994 Alexandre Julliard
7 #ifndef __WINE_PALETTE_H
8 #define __WINE_PALETTE_H
12 #define NB_RESERVED_COLORS 20 /* number of fixed colors in system palette */
14 /* GDI logical palette object */
19 LOGPALETTE logpalette; /* _MUST_ be the last field */
22 extern HPALETTE16 PALETTE_Init(void);
23 extern int PALETTE_GetObject( PALETTEOBJ * palette, int count, LPSTR buffer );
24 extern BOOL32 PALETTE_DeleteObject( HPALETTE16 hpalette, PALETTEOBJ *palette );
25 extern BOOL32 PALETTE_UnrealizeObject( HPALETTE16 hpalette, PALETTEOBJ *palette);
27 extern HPALETTE16 WINAPI CreateHalftonePalette16(HDC16 hdc);
28 extern HPALETTE32 WINAPI CreateHalftonePalette32(HDC32 hdc);
30 #endif /* __WINE_PALETTE_H */