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 #define GreCreateRectRgnIndirect(prc) \ 19 NtGdiCreateRectRgn((prc)->left, (prc)->top, (prc)->right, (prc)->bottom) 20 21 #define GreSetRectRgnIndirect(hRgn, prc) \ 22 NtGdiSetRectRgn(hRgn, (prc)->left, (prc)->top, (prc)->right, (prc)->bottom); 23 24 BOOL FASTCALL co_UserRedrawWindow(PWND Wnd, const RECTL* UpdateRect, PREGION UpdateRgn, ULONG Flags); 25 VOID FASTCALL IntInvalidateWindows(PWND Window, PREGION Rgn, ULONG Flags); 26 BOOL FASTCALL IntGetPaintMessage(PWND Window, UINT MsgFilterMin, UINT MsgFilterMax, PTHREADINFO Thread, MSG *Message, BOOL Remove); 27 INT FASTCALL UserRealizePalette(HDC); 28 INT FASTCALL co_UserGetUpdateRgn(PWND, HRGN, BOOL); 29 BOOL FASTCALL co_UserGetUpdateRect(PWND, PRECT, BOOL); 30 VOID FASTCALL co_IntPaintWindows(PWND Window, ULONG Flags, BOOL Recurse); 31 VOID FASTCALL IntSendSyncPaint(PWND, ULONG); 32 VOID FASTCALL co_IntUpdateWindows(PWND, ULONG, BOOL); 33 BOOL FASTCALL IntIsWindowDirty(PWND); 34 BOOL FASTCALL IntEndPaint(PWND,PPAINTSTRUCT); 35 HDC FASTCALL IntBeginPaint(PWND,PPAINTSTRUCT); 36 PCURICON_OBJECT FASTCALL NC_IconForWindow( PWND ); 37 BOOL FASTCALL IntFlashWindowEx(PWND,PFLASHWINFO); 38 BOOL FASTCALL IntIntersectWithParents(PWND, RECTL *); 39 BOOL FASTCALL IntIsWindowDrawable(PWND); 40 BOOL UserDrawCaption(PWND,HDC,RECTL*,HFONT,HICON,const PUNICODE_STRING,UINT); 41 VOID FASTCALL UpdateThreadWindows(PWND,PTHREADINFO,HRGN); 42 VOID FASTCALL UserSyncAndPaintWindows(PWND pWnd, ULONG Flags); 43 VOID FASTCALL IntPaintWindow(PWND); 44