[USER32] Add wine/debug.h to the PCH and remove an unneeded wine/unicode.h inclusion.
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 23 Dec 2017 22:42:40 +0000 (23:42 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 23 Dec 2017 22:42:40 +0000 (23:42 +0100)
45 files changed:
win32ss/user/user32/controls/appswitch.c
win32ss/user/user32/controls/button.c
win32ss/user/user32/controls/combo.c
win32ss/user/user32/controls/edit.c
win32ss/user/user32/controls/listbox.c
win32ss/user/user32/controls/scrollbar.c
win32ss/user/user32/controls/static.c
win32ss/user/user32/include/user32.h
win32ss/user/user32/misc/dde.c
win32ss/user/user32/misc/ddeclient.c
win32ss/user/user32/misc/ddemisc.c
win32ss/user/user32/misc/ddeserver.c
win32ss/user/user32/misc/desktop.c
win32ss/user/user32/misc/display.c
win32ss/user/user32/misc/dllmain.c
win32ss/user/user32/misc/exticon.c
win32ss/user/user32/misc/imm.c
win32ss/user/user32/misc/logon.c
win32ss/user/user32/misc/object.c
win32ss/user/user32/misc/resources.c
win32ss/user/user32/misc/stubs.c
win32ss/user/user32/misc/timer.c
win32ss/user/user32/misc/usrapihk.c
win32ss/user/user32/misc/winhelp.c
win32ss/user/user32/misc/winsta.c
win32ss/user/user32/windows/accel.c
win32ss/user/user32/windows/class.c
win32ss/user/user32/windows/clipboard.c
win32ss/user/user32/windows/cursoricon.c
win32ss/user/user32/windows/dc.c
win32ss/user/user32/windows/defwnd.c
win32ss/user/user32/windows/dialog.c
win32ss/user/user32/windows/draw.c
win32ss/user/user32/windows/hook.c
win32ss/user/user32/windows/input.c
win32ss/user/user32/windows/mdi.c
win32ss/user/user32/windows/menu.c
win32ss/user/user32/windows/message.c
win32ss/user/user32/windows/messagebox.c
win32ss/user/user32/windows/nonclient.c
win32ss/user/user32/windows/rect.c
win32ss/user/user32/windows/spy.c
win32ss/user/user32/windows/text.c
win32ss/user/user32/windows/window.c
win32ss/user/user32/windows/winpos.c

index cd13841..c776008 100644 (file)
 //
 //
 
-
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 #define DIALOG_MARGIN   8       // margin of dialog contents
index 1dc8af3..c6f01c8 100644 (file)
@@ -62,9 +62,9 @@
  *  - Button_SetImageList
  *  - Button_SetTextMargin
  */
+
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(button);
 
 /* GetWindowLong offsets for window extra information */
index 8ec5bd9..eb9d6fd 100644 (file)
@@ -34,7 +34,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(combo);
 
 /*
index 2eadddb..f1db16f 100644 (file)
@@ -46,8 +46,6 @@
 #define WIN32_LEAN_AND_MEAN
 #include <usp10.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(edit);
 WINE_DECLARE_DEBUG_CHANNEL(combo);
 WINE_DECLARE_DEBUG_CHANNEL(relay);
index f440a6d..d149688 100644 (file)
@@ -32,8 +32,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(listbox);
 
 /* Items array granularity */
index 496985a..dac106b 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-/* INCLUDES *******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(scrollbar);
 
-/* GLOBAL VARIABLES ***********************************************************/
-
 /* Definitions for scrollbar hit testing [See SCROLLBARINFO in MSDN] */
 #define SCROLL_NOWHERE         0x00    /* Outside the scroll bar */
 #define SCROLL_TOP_ARROW       0x01    /* Top or left arrow */
index b5bca09..76d22d9 100644 (file)
@@ -44,8 +44,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(static);
 
 static void STATIC_PaintOwnerDrawfn( HWND hwnd, HDC hdc, DWORD style );
index 4692382..4993f46 100644 (file)
@@ -54,6 +54,7 @@
 
 /* WINE Headers */
 #include <wine/unicode.h>
+#include <wine/debug.h>
 
 /* Internal User32 Headers */
 #include "user32p.h"
index 2d959a0..5500c49 100644 (file)
@@ -7,11 +7,9 @@
  */
 
 #include <user32.h>
-#include <wine/debug.h>
 
 WINE_DEFAULT_DEBUG_CHANNEL(ddeml);
 
-
 BOOL FASTCALL DdeAddPair(HGLOBAL ClientMem, HGLOBAL ServerMem);
 HGLOBAL FASTCALL DdeGetPair(HGLOBAL ServerMem);
 
index 6f5a5e9..f0959f4 100644 (file)
@@ -25,8 +25,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(ddeml);
 
 static LRESULT CALLBACK WDML_ClientProc(HWND, UINT, WPARAM, LPARAM);   /* only for one client, not conv list */
index 498bdb2..d94617b 100644 (file)
@@ -24,9 +24,8 @@
  */
 
 #include <user32.h>
+
 #include "dde_private.h"
-#include "wine/unicode.h"
-#include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(ddeml);
 
index b6bde97..289f87d 100644 (file)
@@ -25,8 +25,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(ddeml);
 
 static const WCHAR szServerNameClass[] = L"DDEMLMom";
index 49f23c2..2f78f7b 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 /*********************************************************************
index 7548c8c..b3047fe 100644 (file)
@@ -5,11 +5,8 @@
  * PROGRAMMER:      Casper S. Hornstrup (chorns@users.sourceforge.net)
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 #define SIZEOF_DEVMODEA_300 124
@@ -19,8 +16,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(user32);
 #define SIZEOF_DEVMODEW_400 212
 #define SIZEOF_DEVMODEW_500 220
 
-/* FUNCTIONS *****************************************************************/
-
 /*
  * @implemented
  */
index 0316de1..5bf6855 100644 (file)
@@ -2,7 +2,6 @@
 
 #include <ndk/cmfuncs.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 #define KEY_LENGTH 1024
index 5ae3ea7..8b65d83 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
-
 /* Start of Hack section */
 
 WINE_DEFAULT_DEBUG_CHANNEL(icon);
index 9c26bcf..b06bb5d 100644 (file)
@@ -11,8 +11,6 @@
 #include <user32.h>
 
 #include <winnls32.h>
-
-#include <wine/debug.h>
 #include <strsafe.h>
 
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
index 3df5a95..bc735aa 100644 (file)
@@ -6,16 +6,10 @@
  * PROGRAMMER:      Thomas Weidenmueller (w3seek@users.sourceforge.net)
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
-/* FUNCTIONS *****************************************************************/
-
 /*
  * @implemented
  */
index e14eb04..812d0d6 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
-/* FUNCTIONS *****************************************************************/
-
 /*
  * @implemented
  */
index 9148f2f..3145e71 100644 (file)
@@ -1,6 +1,5 @@
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(resource);
 
 #ifndef _CFGMGR32_H_
index aa7e75e..b73397d 100644 (file)
@@ -11,8 +11,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 /*
index ce653a4..3988822 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-/* FUNCTIONS *****************************************************************/
-
-
 /*
  * @implemented
  */
index 30cefd8..7e856d4 100644 (file)
@@ -11,9 +11,8 @@
  *   http://www.reactos.org/wiki/RegisterUserApiHook
  *
  */
-#include <user32.h>
 
-#include <wine/debug.h>
+#include <user32.h>
 
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
index 8bb6be9..1e25c11 100644 (file)
  *      23-08-2002  RDD  Created from wine sources
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
 /* WinHelp internal structure */
 typedef struct
 {
index a5ecc5c..b3b8887 100644 (file)
 
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(winsta);
 
-
 /*
  * @implemented
  */
index d25b01f..08995b4 100644 (file)
  *      08/07/2003  KJK  Fully implemented
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
 /* this is the 8 byte accel struct used in Win32 resources (internal only) */
 typedef struct
 {
index caa5931..c0ad6a6 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 #define USE_VERSIONED_CLASSES
index 955b2c1..66a4217 100644 (file)
@@ -9,17 +9,12 @@
  *
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
 #define NDEBUG
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
-/* FUNCTIONS *****************************************************************/
-
 /*
  * @implemented
  */
index 97ce68b..ee28658 100644 (file)
@@ -8,8 +8,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(cursor);
 WINE_DECLARE_DEBUG_CHANNEL(icon);
 //WINE_DECLARE_DEBUG_CHANNEL(resource);
index 658c2df..6841c37 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
-/* FUNCTIONS *****************************************************************/
-
-
 BOOL
 WINAPI
 GdiReleaseDC(HDC hdc);
index 9239775..7098c34 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 /*
index aa39401..7042f45 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 /* MACROS/DEFINITIONS ********************************************************/
index 3cb9f10..dd1d6dd 100644 (file)
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-/* INCLUDES *******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 /* GLOBALS *******************************************************************/
index 8276389..e0cb8e4 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 typedef struct _NOTIFYEVENT
index 5372e0c..aa398d7 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
 #include <strsafe.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
-/* GLOBALS *******************************************************************/
-
-
-
-/* FUNCTIONS *****************************************************************/
-
-
 /*
  * @implemented
  */
index b103908..9f25daf 100644 (file)
@@ -82,8 +82,6 @@
 
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(mdi);
 
 #define MDI_MAXTITLELENGTH      0xa1
index d95c300..231c2f7 100644 (file)
@@ -8,10 +8,7 @@
  *                  James Tabor
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
-#include <wine/debug.h>
 
 BOOL WINAPI GdiValidateHandle(HGDIOBJ hobj);
 
index f9ef59f..44345e7 100644 (file)
 
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
-
 #ifdef __i386__
 /* For bad applications which provide bad (non stdcall) WndProc */
 extern
index 7d136c2..2ceb24f 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 /* DEFINES *******************************************************************/
index 80d1128..ba2440a 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-/* INCLUDES *******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 #define HASSIZEGRIP(Style, ExStyle, ParentStyle, WindowRect, ParentClientRect) \
index 51226e4..8b7826d 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
-/* FUNCTIONS *****************************************************************/
-
 /*
  * @implemented
  */
index cbefece..e17a521 100644 (file)
  */
 
 #include <user32.h>
+
 #include <wine/commctrl.h>
 #include <commdlg.h>
 #include <richedit.h>
 #include <prsht.h>
 
-#include <wine/debug.h>
-
 WINE_DEFAULT_DEBUG_CHANNEL(message);
 
 #define SPY_MAX_MSGNUM   WM_USER
index ab9f575..a27d68d 100644 (file)
  *      09-05-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
-
-/* FUNCTIONS *****************************************************************/
-
 static WORD
 GetC1Type(WCHAR Ch)
 {
index 75dc96e..fd00648 100644 (file)
@@ -8,11 +8,9 @@
  *      06-06-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
 #define DEBUG
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 void MDI_CalcDefaultChildPos( HWND hwndClient, INT total, LPPOINT lpPos, INT delta, UINT *id );
index 5cf21b6..156b46a 100644 (file)
@@ -8,11 +8,8 @@
  *      06-06-2001  CSH  Created
  */
 
-/* INCLUDES ******************************************************************/
-
 #include <user32.h>
 
-#include <wine/debug.h>
 WINE_DEFAULT_DEBUG_CHANNEL(user32);
 
 void mirror_rect( const RECT *window_rect, RECT *rect )