169 if (
dx == 0 &&
dy == 0)
171 if (hrgnUpdate)
SetRectRgn(hrgnUpdate, 0, 0, 0, 0);
172 if (lprcUpdate) lprcUpdate->
left = lprcUpdate->
right =
173 lprcUpdate->
top = lprcUpdate->
bottom = 0;
329const BYTE MappingTable[33] = {5,9,2,3,5,7,0,0,0,7,5,5,3,2,7,5,3,3,0,5,7,10,5,0,11,4,1,1,3,8,6,12,7};
365 p[0].hBrush = hbrFrame;
366 p[1].hBrush = hbrFrame;
367 p[2].hBrush = hbrFrame;
368 p[3].hBrush = hbrFrame;
369 p[0].r.left =
r->left;
371 p[0].r.right =
r->right -
r->left;
373 p[1].r.left =
r->left;
374 p[1].r.top =
r->bottom -
width;
375 p[1].r.right =
r->right -
r->left;
377 p[2].r.left =
r->left;
380 p[2].r.bottom =
r->bottom -
r->top - (
width * 2);
381 p[3].r.left =
r->right -
width;
384 p[3].r.bottom =
r->bottom -
r->top - (
width * 2);
#define ERROR_INVALID_HANDLE
#define ValidateHwnd(hwnd)
void Erase(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, LONG radius)
GLuint GLuint GLsizei GLenum type
GLdouble GLdouble GLdouble r
GLint GLint GLsizei width
#define EXCEPTION_EXECUTE_HANDLER
#define WNDS_INTERNALPAINT
#define WNDS2_MAXIMIZEDMONITORREGION
BOOL NTAPI NtUserGetUpdateRect(HWND hWnd, LPRECT lpRect, BOOL fErase)
INT NTAPI NtUserGetUpdateRgn(HWND hWnd, HRGN hRgn, BOOL bErase)
BOOL NTAPI NtUserScrollDC(HDC hDC, int dx, int dy, CONST RECT *lprcScroll, CONST RECT *lprcClip, HRGN hrgnUpdate, LPRECT lprcUpdate)
INT NTAPI NtUserSetWindowRgn(HWND hWnd, HRGN hRgn, BOOL bRedraw)
#define WNDS_PAINTNOTPROCESSED
#define WNDS_SENDERASEBACKGROUND
static int rop(int rop, int src, int dst)
EXTINLINE BOOL NtUserxUpdateWindow(HWND hWnd)
EXTINLINE BOOL NtUserxValidateRgn(HWND hWnd, HRGN hRgn)
#define _SEH2_EXCEPT(...)
SETWINDOWRGN SetWindowRgn
BOOL FASTCALL EndUserApiHook(VOID)
BOOL FASTCALL BeginIfHookedUserApiHook(VOID)
static __inline void LoadUserApiHook()
int WINAPI GetUpdateRgn(HWND hWnd, HRGN hRgn, BOOL bErase)
INT WINAPI MirrorWindowRect(PWND pWnd, LPRECT lprc)
BOOL WINAPI GetUpdateRect(HWND Wnd, LPRECT Rect, BOOL Erase)
BOOL WINAPI MirrorRgn(HWND hwnd, HRGN hrgn)
BOOL WINAPI ScrollDC(HDC hDC, int dx, int dy, CONST RECT *lprcScroll, CONST RECT *lprcClip, HRGN hrgnUpdate, LPRECT lprcUpdate)
VOID CreateFrameBrushes(VOID)
static HBRUSH FrameBrushes[13]
int WINAPI GetWindowRgn(HWND hWnd, HRGN hRgn)
const DWORD HatchBitmap[4]
BOOL WINAPI DrawFrame(HDC hDc, RECT *r, DWORD width, DWORD type)
int WINAPI SetWindowRgn(HWND hWnd, HRGN hRgn, BOOL bRedraw)
int WINAPI GetWindowRgnBox(HWND hWnd, LPRECT lprc)
const BYTE MappingTable[33]
BOOL WINAPI ValidateRgn(HWND hWnd, HRGN hRgn)
VOID DeleteFrameBrushes(VOID)
BOOL WINAPI UpdateWindow(HWND hWnd)
BOOL WINAPI PolyPatBlt(HDC, DWORD, PPATRECT, INT, ULONG)
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)
int WINAPI CombineRgn(_In_opt_ HRGN hrgnDest, _In_opt_ HRGN hrgnSrc1, _In_opt_ HRGN hrgnSrc2, _In_ int fnCombineMode)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
BOOL WINAPI SetRectRgn(_In_ HRGN, _In_ int, _In_ int, _In_ int, _In_ int)
int WINAPI GetRgnBox(_In_ HRGN, _Out_ LPRECT)
HBRUSH WINAPI CreatePatternBrush(_In_ HBITMAP)
_In_ int _Inout_ LPRECT lprc