Ignore:
Timestamp:
Nov 25, 2011, 10:19:52 PM (14 years ago)
Author:
dmik
Message:

Make the debug version of ported DLLs build.

Location:
branches/gcc-kmk/src/user32
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/user32/dbglocal.cpp

    r9930 r21824  
    2020USHORT DbgEnabledLvl2USER32[DBG_MAXFILES] = {0};
    2121
    22 static char *DbgFileNames[DBG_MAXFILES] =
     22static const char *DbgFileNames[DBG_MAXFILES] =
    2323{
    2424"user32",
  • branches/gcc-kmk/src/user32/dbgwrap.cpp

    r21553 r21824  
    1616
    1717#define DBG_LOCALLOG    DBG_trace
    18 #include <dbglocal.h>
     18#include "dbglocal.h"
    1919
    2020#define DBGWRAP_MODULE "USER32"
  • branches/gcc-kmk/src/user32/initterm.cpp

    r21811 r21824  
    152152           return 0UL;
    153153
    154     dprintf(("user32 init %s %s (%x)", __DATE__, __TIME__, inittermUser32));
     154    dprintf(("user32 init %s %s (%x)", __DATE__, __TIME__, DLL_InitUser32));
    155155
    156156    //SvL: Try to start communication with our message spy queue server
  • branches/gcc-kmk/src/user32/win32wbase.cpp

    r21808 r21824  
    307307BOOL Win32BaseWindow::IsWindowUnicode()
    308308{
    309     dprintf2(("IsWindowUnicode %x %d", getWindowHandle(), WINPROC_GetProcType(getWindowProc()) == WIN_PROC_32W));
     309    dprintf2(("IsWindowUnicode %x %d", getWindowHandle(),
     310              WINPROC_GetProcType((HWINDOWPROC)getWindowProc()) == WIN_PROC_32W));
    310311    return (WINPROC_GetProcType((HWINDOWPROC)getWindowProc()) == WIN_PROC_32W);
    311312}
     
    42994300//******************************************************************************
    43004301//******************************************************************************
    4301 LONG  Win32BaseWindow::release(char *function, int line)
     4302LONG  Win32BaseWindow::release(const char *function, int line)
    43024303{
    43034304//    dprintf2(("release %s %d %x %d", function, line, getWindowHandle(), getRefCount()-1));
  • branches/gcc-kmk/src/user32/win32wbase.h

    r21802 r21824  
    353353#ifdef DEBUG
    354354         LONG addRef();
    355          LONG release(char *function = __FUNCTION__, int line = __LINE__ );
     355         LONG release(const char *function = __FUNCTION__, int line = __LINE__ );
    356356#endif
    357357
  • branches/gcc-kmk/src/user32/win32wbaseprop.cpp

    r21808 r21824  
    7070
    7171    if(HIWORD(str)) {
    72          dprintf2(("GetProp %x %s %x", getWindowHandle, str, prop ? prop->handle : 0));
    73     }
    74     else dprintf2(("GetProp %x %x %x", getWindowHandle, str, prop ? prop->handle : 0));
     72         dprintf2(("GetProp %x %s %x", getWindowHandle(), str, prop ? prop->handle : 0));
     73    }
     74    else dprintf2(("GetProp %x %x %x", getWindowHandle(), str, prop ? prop->handle : 0));
    7575
    7676    return prop ? prop->handle : 0;
     
    8585
    8686    if (HIWORD(str)) {
    87          dprintf2(("SetProp %x %s %x", getWindowHandle, str, handle));
    88     }
    89     else dprintf2(("SetProp %x %x %x", getWindowHandle, str, handle));
     87         dprintf2(("SetProp %x %s %x", getWindowHandle(), str, handle));
     88    }
     89    else dprintf2(("SetProp %x %x %x", getWindowHandle(), str, handle));
    9090
    9191    if (!(prop = findWindowProperty(str)))
     
    192192    INT ret = -1;
    193193
    194     dprintf(("EnumPropsExA %x %x %x", getWindowHandle, func, lParam));
     194    dprintf(("EnumPropsExA %x %x %x", getWindowHandle(), func, lParam));
    195195
    196196    for (prop = propertyList; (prop); prop = next)
     
    220220    INT ret = -1;
    221221
    222     dprintf(("EnumPropsExW %x %x %x", getWindowHandle, func, lParam));
     222    dprintf(("EnumPropsExW %x %x %x", getWindowHandle(), func, lParam));
    223223
    224224    for (prop = propertyList; (prop); prop = next)
  • branches/gcc-kmk/src/user32/wndmsg.cpp

    r21720 r21824  
    2323typedef struct
    2424{
    25     LPSTR pszMsg;
     25    LPCSTR pszMsg;
    2626    UINT msg;
    2727    UINT Flags;
     
    750750
    751751
    752 char *GetMsgText(int Msg)
     752const char *GetMsgText(int Msg)
    753753{
    754754 static char msgtxt[64];
  • branches/gcc-kmk/src/user32/wndmsg.h

    r21356 r21824  
    1717
    1818#ifdef DEBUG_LOGGING
    19 char *GetMsgText(int Msg);
     19const char *GetMsgText(int Msg);
    2020
    2121void DebugPrintMessage(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam, BOOL fUnicode, BOOL fInternalMsg);
Note: See TracChangeset for help on using the changeset viewer.