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