[Win32SS]
[reactos.git] / reactos / win32ss / user / ntuser / painting.h
1 #pragma once
2
3 #define FLASHW_MASK 0x0000000f
4 #define FLASHW_SYSTIMER 0x00000400
5 #define FLASHW_FINISHED 0x00000800
6 #define FLASHW_STARTED 0x00001000
7 #define FLASHW_COUNT 0x00002000
8 #define FLASHW_KILLSYSTIMER 0x00004000
9 #define FLASHW_ACTIVE 0x00008000
10
11 #define PRGN_NULL ((PREGION)0) /* NULL empty region */
12 #define PRGN_WINDOW ((PREGION)1) /* region from window rcWindow */
13 #define PRGN_MONITOR ((PREGION)2) /* region from monitor region. */
14
15 #define GreCreateRectRgnIndirect(prc) \
16 NtGdiCreateRectRgn((prc)->left, (prc)->top, (prc)->right, (prc)->bottom)
17
18 #define GreSetRectRgnIndirect(hRgn, prc) \
19 NtGdiSetRectRgn(hRgn, (prc)->left, (prc)->top, (prc)->right, (prc)->bottom);
20
21 BOOL FASTCALL co_UserRedrawWindow(PWND Wnd, const RECTL* UpdateRect, PREGION UpdateRgn, ULONG Flags);
22 VOID FASTCALL IntInvalidateWindows(PWND Window, PREGION Rgn, ULONG Flags);
23 BOOL FASTCALL IntGetPaintMessage(PWND Window, UINT MsgFilterMin, UINT MsgFilterMax, PTHREADINFO Thread, MSG *Message, BOOL Remove);
24 INT FASTCALL UserRealizePalette(HDC);
25 INT FASTCALL co_UserGetUpdateRgn(PWND, HRGN, BOOL);
26 BOOL FASTCALL co_UserGetUpdateRect(PWND, PRECT, BOOL);
27 VOID FASTCALL co_IntPaintWindows(PWND Window, ULONG Flags, BOOL Recurse);
28 VOID FASTCALL IntSendSyncPaint(PWND, ULONG);
29 VOID FASTCALL co_IntUpdateWindows(PWND, ULONG, BOOL);
30 BOOL FASTCALL IntIsWindowDirty(PWND);
31 BOOL FASTCALL IntEndPaint(PWND,PPAINTSTRUCT);
32 HDC FASTCALL IntBeginPaint(PWND,PPAINTSTRUCT);
33 PCURICON_OBJECT FASTCALL NC_IconForWindow( PWND );
34 BOOL FASTCALL IntFlashWindowEx(PWND,PFLASHWINFO);
35 BOOL FASTCALL IntIntersectWithParents(PWND, RECTL *);
36 BOOL FASTCALL IntIsWindowDrawable(PWND);