diff --git a/reactos/dll/win32/user32/windows/nonclient.c b/reactos/dll/win32/user32/windows/nonclient.c index 9f6caf3063c..da9b62dccf8 100644 --- a/reactos/dll/win32/user32/windows/nonclient.c +++ b/reactos/dll/win32/user32/windows/nonclient.c @@ -265,8 +265,6 @@ UserDrawCaptionButtonWnd(HWND hWnd, HDC hDC, BOOL bDown, ULONG Type) will cause clipRgn to be deleted after ReleaseDC(). Now, how is the "system" supposed to tell what happened? */ -#define DCX_USESTYLE 0x00010000 -#define DCX_KEEPCLIPRGN 0x00040000 // <-- You do this! /* * FIXME: * - Drawing of WS_BORDER after scrollbars diff --git a/reactos/include/reactos/win32k/ntuser.h b/reactos/include/reactos/win32k/ntuser.h index fba9c3f29c8..1d81fa3795c 100644 --- a/reactos/include/reactos/win32k/ntuser.h +++ b/reactos/include/reactos/win32k/ntuser.h @@ -496,6 +496,11 @@ typedef struct _USERCONNECT #define WM_SYSTIMER 280 #define WM_POPUPSYSTEMMENU 787 +// +// Non SDK DCE types. +// +#define DCX_USESTYLE 0x00010000 +#define DCX_KEEPCLIPRGN 0x00040000 DWORD NTAPI diff --git a/reactos/subsystems/win32/win32k/include/dce.h b/reactos/subsystems/win32/win32k/include/dce.h index c1ef15bb3e8..568196e7598 100644 --- a/reactos/subsystems/win32/win32k/include/dce.h +++ b/reactos/subsystems/win32/win32k/include/dce.h @@ -41,8 +41,6 @@ typedef struct tagDCE #define DCX_DCEDIRTY 0x00002000 #define DCX_LAYEREDWIN 0x00004000 #define DCX_DCPOWNED 0x00008000 -#define DCX_USESTYLE 0x00010000 -#define DCX_KEEPCLIPRGN 0x00040000 #define DCX_NOCLIPCHILDREN 0x00080000 #define DCX_NORECOMPUTE 0x00100000