xref: /reactos/win32ss/user/ntuser/painting.h (revision feb9c045)
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 RDW_CLIPCHILDREN  4096
16 #define RDW_NOUPDATEDIRTY 32768
17 
18 BOOL FASTCALL co_UserRedrawWindow(PWND Wnd, const RECTL* UpdateRect, PREGION UpdateRgn, ULONG Flags);
19 VOID FASTCALL IntInvalidateWindows(PWND Window, PREGION Rgn, ULONG Flags);
20 BOOL FASTCALL IntGetPaintMessage(PWND Window, UINT MsgFilterMin, UINT MsgFilterMax, PTHREADINFO Thread, MSG *Message, BOOL Remove);
21 INT FASTCALL UserRealizePalette(HDC);
22 INT FASTCALL co_UserGetUpdateRgn(PWND, HRGN, BOOL);
23 BOOL FASTCALL co_UserGetUpdateRect(PWND, PRECT, BOOL);
24 VOID FASTCALL co_IntPaintWindows(PWND Window, ULONG Flags, BOOL Recurse);
25 VOID FASTCALL IntSendSyncPaint(PWND, ULONG);
26 VOID FASTCALL co_IntUpdateWindows(PWND, ULONG, BOOL);
27 BOOL FASTCALL IntIsWindowDirty(PWND);
28 BOOL FASTCALL IntEndPaint(PWND,PPAINTSTRUCT);
29 HDC FASTCALL IntBeginPaint(PWND,PPAINTSTRUCT);
30 PCURICON_OBJECT FASTCALL NC_IconForWindow( PWND );
31 BOOL FASTCALL IntFlashWindowEx(PWND,PFLASHWINFO);
32 BOOL FASTCALL IntIntersectWithParents(PWND, RECTL *);
33 BOOL FASTCALL IntIsWindowDrawable(PWND);
34 BOOL UserDrawCaption(PWND,HDC,RECTL*,HFONT,HICON,const PUNICODE_STRING,UINT);
35 VOID FASTCALL UpdateThreadWindows(PWND,PTHREADINFO,HRGN);
36 VOID FASTCALL UserSyncAndPaintWindows(PWND pWnd, ULONG Flags);
37 VOID FASTCALL IntPaintWindow(PWND);
38 VOID FASTCALL IntSendNCPaint(PWND,HRGN);
39