[USER32] Add wine/debug.h to the PCH and remove an unneeded wine/unicode.h inclusion.

This commit is contained in:
Amine Khaldi 2017-12-23 23:42:40 +01:00
parent 17b691f5a9
commit 3d93998d6e
45 changed files with 5 additions and 136 deletions

View file

@ -15,10 +15,8 @@
//
//
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
#define DIALOG_MARGIN 8 // margin of dialog contents

View 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 */

View file

@ -34,7 +34,6 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(combo);
/*

View 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);

View file

@ -32,8 +32,6 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(listbox);
/* Items array granularity */

View file

@ -26,15 +26,10 @@
* 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 */

View 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 );

View file

@ -54,6 +54,7 @@
/* WINE Headers */
#include <wine/unicode.h>
#include <wine/debug.h>
/* Internal User32 Headers */
#include "user32p.h"

View 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);

View 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 */

View 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);

View file

@ -25,8 +25,6 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(ddeml);
static const WCHAR szServerNameClass[] = L"DDEMLMom";

View file

@ -10,7 +10,6 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/*********************************************************************

View 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
*/

View file

@ -2,7 +2,6 @@
#include <ndk/cmfuncs.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
#define KEY_LENGTH 1024

View file

@ -24,8 +24,6 @@
#include <user32.h>
#include <wine/debug.h>
/* Start of Hack section */
WINE_DEFAULT_DEBUG_CHANNEL(icon);

View file

@ -11,8 +11,6 @@
#include <user32.h>
#include <winnls32.h>
#include <wine/debug.h>
#include <strsafe.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);

View 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
*/

View file

@ -25,15 +25,10 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* FUNCTIONS *****************************************************************/
/*
* @implemented
*/

View file

@ -1,6 +1,5 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(resource);
#ifndef _CFGMGR32_H_

View file

@ -11,8 +11,6 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/*

View file

@ -25,14 +25,8 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
/* FUNCTIONS *****************************************************************/
/*
* @implemented
*/

View 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);

View file

@ -25,12 +25,8 @@
* 23-08-2002 RDD Created from wine sources
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
/* WinHelp internal structure */
typedef struct
{

View file

@ -10,10 +10,8 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(winsta);
/*
* @implemented
*/

View file

@ -26,12 +26,8 @@
* 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
{

View file

@ -10,7 +10,6 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
#define USE_VERSIONED_CLASSES

View file

@ -9,17 +9,12 @@
*
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#define NDEBUG
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* FUNCTIONS *****************************************************************/
/*
* @implemented
*/

View 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);

View file

@ -25,15 +25,8 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
/* FUNCTIONS *****************************************************************/
BOOL
WINAPI
GdiReleaseDC(HDC hdc);

View file

@ -11,7 +11,6 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/*

View file

@ -28,11 +28,8 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* MACROS/DEFINITIONS ********************************************************/

View file

@ -28,12 +28,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* INCLUDES *******************************************************************/
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* GLOBALS *******************************************************************/

View file

@ -26,12 +26,8 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
typedef struct _NOTIFYEVENT

View file

@ -25,22 +25,12 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <strsafe.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* GLOBALS *******************************************************************/
/* FUNCTIONS *****************************************************************/
/*
* @implemented
*/

View file

@ -82,8 +82,6 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(mdi);
#define MDI_MAXTITLELENGTH 0xa1

View file

@ -8,10 +8,7 @@
* James Tabor
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
BOOL WINAPI GdiValidateHandle(HGDIOBJ hobj);

View file

@ -10,10 +10,8 @@
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
#ifdef __i386__
/* For bad applications which provide bad (non stdcall) WndProc */
extern

View file

@ -29,12 +29,8 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(user32);
/* DEFINES *******************************************************************/

View file

@ -19,11 +19,8 @@
* 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) \

View file

@ -25,14 +25,8 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
/* FUNCTIONS *****************************************************************/
/*
* @implemented
*/

View file

@ -20,13 +20,12 @@
*/
#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

View file

@ -25,14 +25,8 @@
* 09-05-2001 CSH Created
*/
/* INCLUDES ******************************************************************/
#include <user32.h>
#include <wine/debug.h>
/* FUNCTIONS *****************************************************************/
static WORD
GetC1Type(WCHAR Ch)
{

View 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 );

View 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 )