ReAlloc should be able to move memory blocks if necessary. This fixes
[reactos.git] / reactos / include / win32k / color.h
1 #ifndef __WIN32K_COLOR_H
2 #define __WIN32K_COLOR_H
3
4 #ifndef CLR_INVALID
5 #define CLR_INVALID 0xffffffff
6 #endif
7 #define PC_SYS_USED 0x80 /* palentry is used (both system and logical) */
8 #define PC_SYS_RESERVED 0x40 /* system palentry is not to be mapped to */
9 #define PC_SYS_MAPPED 0x10 /* logical palentry is a direct alias for system palentry */
10
11 BOOL
12 STDCALL
13 NtGdiAnimatePalette (
14 HPALETTE hpal,
15 UINT StartIndex,
16 UINT Entries,
17 CONST PPALETTEENTRY ppe
18 );
19 HPALETTE
20 STDCALL
21 NtGdiCreateHalftonePalette (
22 HDC hDC
23 );
24 HPALETTE
25 STDCALL
26 NtGdiCreatePalette (
27 CONST PLOGPALETTE lgpl
28 );
29 BOOL
30 STDCALL
31 NtGdiGetColorAdjustment (
32 HDC hDC,
33 LPCOLORADJUSTMENT ca
34 );
35 COLORREF
36 STDCALL
37 NtGdiGetNearestColor (
38 HDC hDC,
39 COLORREF Color
40 );
41 UINT
42 STDCALL
43 NtGdiGetNearestPaletteIndex (
44 HPALETTE hpal,
45 COLORREF Color
46 );
47 UINT
48 STDCALL
49 NtGdiGetPaletteEntries (
50 HPALETTE hpal,
51 UINT StartIndex,
52 UINT Entries,
53 LPPALETTEENTRY pe
54 );
55 UINT
56 STDCALL
57 NtGdiGetSystemPaletteEntries (
58 HDC hDC,
59 UINT StartIndex,
60 UINT Entries,
61 LPPALETTEENTRY pe
62 );
63 UINT
64 STDCALL
65 NtGdiGetSystemPaletteUse (
66 HDC hDC
67 );
68 UINT
69 STDCALL
70 NtGdiRealizePalette (
71 HDC hDC
72 );
73 BOOL
74 STDCALL
75 NtGdiResizePalette (
76 HPALETTE hpal,
77 UINT Entries
78 );
79 HPALETTE
80 STDCALL
81 NtGdiSelectPalette (
82 HDC hDC,
83 HPALETTE hpal,
84 BOOL ForceBackground
85 );
86 BOOL
87 STDCALL
88 NtGdiSetColorAdjustment (
89 HDC hDC,
90 CONST LPCOLORADJUSTMENT ca
91 );
92 UINT
93 STDCALL
94 NtGdiSetPaletteEntries (
95 HPALETTE hpal,
96 UINT Start,
97 UINT Entries,
98 CONST LPPALETTEENTRY pe
99 );
100 UINT
101 STDCALL
102 NtGdiSetSystemPaletteUse (
103 HDC hDC,
104 UINT Usage
105 );
106 BOOL
107 STDCALL
108 NtGdiUnrealizeObject (
109 HGDIOBJ hgdiobj
110 );
111 BOOL
112 STDCALL
113 NtGdiUpdateColors (
114 HDC hDC
115 );
116 #endif