mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
- Change user32 to Wine-compatible debug-print messages system. TRACE/FIXME/ERR and DPRINT/DPRINT1 are supported now in every file, however they are turned on in a different way: you have to place "#define YDEBUG" before #include <wine/debug.h> in order to get debug messages coming from this file
- Give more space to user32.dll by changing preferred loading base svn path=/trunk/; revision=22634
This commit is contained in:
parent
9cc30a5902
commit
baaaee3af6
52 changed files with 98 additions and 59 deletions
|
@ -119,7 +119,7 @@
|
|||
<property name="BASEADDRESS_OLE32" value="0x77a50000" />
|
||||
<property name="BASEADDRESS_OLEPRO32" value="0x77aa0000" />
|
||||
<property name="BASEADDRESS_ADVAPI32" value="0x77dc0000" />
|
||||
<property name="BASEADDRESS_USER32" value="0x77e50000" />
|
||||
<property name="BASEADDRESS_USER32" value="0x77e40000" />
|
||||
<property name="BASEADDRESS_GDI32" value="0x77f10000" />
|
||||
<property name="BASEADDRESS_DNSAPI" value="0x77f30000" />
|
||||
<property name="BASEADDRESS_MSVCRT" value="0x78000000" />
|
||||
|
|
|
@ -63,9 +63,10 @@
|
|||
* - Button_SetImageList
|
||||
* - Button_SetTextMargin
|
||||
*/
|
||||
#define NDEBUG // turn off TRACEs
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* GetWindowLong offsets for window extra information */
|
||||
#define STATE_GWL_OFFSET 0
|
||||
#define HFONT_GWL_OFFSET (sizeof(LONG))
|
||||
|
|
|
@ -33,9 +33,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(combo);
|
||||
|
||||
/* bits in the dwKeyData */
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(edit);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(combo);
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
#ifdef __REACTOS__
|
||||
#define MAKEINTATOMW(atom) ((LPCWSTR)((ULONG_PTR)((WORD)(atom))))
|
||||
#define ICONTITLE_CLASS_ATOM MAKEINTATOMW(32772)
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* Start of hack section -------------------------------- */
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
static void RegisterBuiltinClass(const struct builtin_class_descr *Descr)
|
||||
{
|
||||
WNDCLASSEXW wc;
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
/* INCLUDES *******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
|
||||
/* GLOBAL VARIABLES ***********************************************************/
|
||||
|
|
|
@ -44,6 +44,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(static);
|
||||
|
||||
static void STATIC_PaintOwnerDrawfn( HWND hwnd, HDC hdc, DWORD style );
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include <win32k/callback.h>
|
||||
|
||||
/* WINE Headers */
|
||||
#include <wine/debug.h>
|
||||
#include <wine/unicode.h>
|
||||
|
||||
/* Internal User32 Headers */
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(ddeml);
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(ddeml);
|
||||
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(ddeml);
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
#define DESKTOP_CLASS_ATOM MAKEINTATOMA(32769) /* Desktop */
|
||||
static LRESULT WINAPI DesktopWndProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
#define SIZEOF_DEVMODEA_300 124
|
||||
#define SIZEOF_DEVMODEA_400 148
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
static ULONG User32TlsIndex;
|
||||
HINSTANCE User32Instance;
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/*
|
||||
* Sequence of events:
|
||||
*
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* Start of Hack section */
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
/*
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FIXME: Currently IsBadWritePtr is implemented using VirtualQuery which
|
||||
does not seem to work properly for stack address space. */
|
||||
/* kill `left-hand operand of comma expression has no effect' warning */
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
typedef struct tagHEAP_STRING_POOLA
|
||||
{
|
||||
char* data;
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* WinHelp internal structure */
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(string);
|
||||
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* this is the 8 byte accel struct used in Win32 resources (internal only) */
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
#include "pshpack1.h"
|
||||
|
||||
typedef struct {
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
void DrawCaret(HWND hWnd, PTHRDCARETINFO CaretInfo)
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
extern BOOL ControlsInitialized;
|
||||
|
||||
/*
|
||||
|
|
|
@ -29,9 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
#undef CopyCursor
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
/*
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
#ifndef WM_SETVISIBLE
|
||||
#define WM_SETVISIBLE 9
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* MACROS/DEFINITIONS ********************************************************/
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES *******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
//#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
|
|
|
@ -81,8 +81,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(mdi);
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* internal popup menu window messages */
|
||||
#define MM_SETMENUHANDLE (WM_USER + 0)
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
*/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* DDE message exchange
|
||||
*
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* DEFINES *******************************************************************/
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
/* INCLUDES *******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
#define HAS_DLGFRAME(Style, ExStyle) \
|
||||
(((ExStyle) & WS_EX_DLGMODALFRAME) || \
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
static HBRUSH FrameBrushes[13];
|
||||
static HBITMAP hHatch;
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
typedef struct _PROPLISTITEM
|
||||
{
|
||||
ATOM Atom;
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
/*
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
static WORD
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
/* INCLUDES ******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
BOOL ControlsInitialized = FALSE;
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
#include <user32.h>
|
||||
|
||||
#include <wine/debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
UINT STDCALL
|
||||
|
|
Loading…
Reference in a new issue