Commit 6ff78347 authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Remove a few traces that only duplicate the relay information.

parent 2a2e303d
...@@ -611,8 +611,6 @@ BOOL WINAPI UnregisterClassW( LPCWSTR className, HINSTANCE hInstance ) ...@@ -611,8 +611,6 @@ BOOL WINAPI UnregisterClassW( LPCWSTR className, HINSTANCE hInstance )
{ {
CLASS *classPtr = NULL; CLASS *classPtr = NULL;
TRACE("%s %p\n",debugstr_w(className), hInstance);
SERVER_START_REQ( destroy_class ) SERVER_START_REQ( destroy_class )
{ {
req->instance = hInstance; req->instance = hInstance;
...@@ -637,8 +635,6 @@ WORD WINAPI GetClassWord( HWND hwnd, INT offset ) ...@@ -637,8 +635,6 @@ WORD WINAPI GetClassWord( HWND hwnd, INT offset )
if (offset < 0) return GetClassLongA( hwnd, offset ); if (offset < 0) return GetClassLongA( hwnd, offset );
TRACE("%p %x\n",hwnd, offset);
if (!(class = get_class_ptr( hwnd, FALSE ))) return 0; if (!(class = get_class_ptr( hwnd, FALSE ))) return 0;
if (class == CLASS_OTHER_PROCESS) if (class == CLASS_OTHER_PROCESS)
...@@ -676,8 +672,6 @@ static ULONG_PTR CLASS_GetClassLong( HWND hwnd, INT offset, UINT size, ...@@ -676,8 +672,6 @@ static ULONG_PTR CLASS_GetClassLong( HWND hwnd, INT offset, UINT size,
CLASS *class; CLASS *class;
ULONG_PTR retvalue = 0; ULONG_PTR retvalue = 0;
TRACE("%p %d\n", hwnd, offset);
if (!(class = get_class_ptr( hwnd, FALSE ))) return 0; if (!(class = get_class_ptr( hwnd, FALSE ))) return 0;
if (class == CLASS_OTHER_PROCESS) if (class == CLASS_OTHER_PROCESS)
...@@ -835,8 +829,6 @@ WORD WINAPI SetClassWord( HWND hwnd, INT offset, WORD newval ) ...@@ -835,8 +829,6 @@ WORD WINAPI SetClassWord( HWND hwnd, INT offset, WORD newval )
if (offset < 0) return SetClassLongA( hwnd, offset, (DWORD)newval ); if (offset < 0) return SetClassLongA( hwnd, offset, (DWORD)newval );
TRACE("%p %d %x\n", hwnd, offset, newval);
if (!(class = get_class_ptr( hwnd, TRUE ))) return 0; if (!(class = get_class_ptr( hwnd, TRUE ))) return 0;
SERVER_START_REQ( set_class_info ) SERVER_START_REQ( set_class_info )
...@@ -870,8 +862,6 @@ static ULONG_PTR CLASS_SetClassLong( HWND hwnd, INT offset, LONG_PTR newval, ...@@ -870,8 +862,6 @@ static ULONG_PTR CLASS_SetClassLong( HWND hwnd, INT offset, LONG_PTR newval,
CLASS *class; CLASS *class;
ULONG_PTR retval = 0; ULONG_PTR retval = 0;
TRACE("%p %d %lx\n", hwnd, offset, newval);
if (!(class = get_class_ptr( hwnd, TRUE ))) return 0; if (!(class = get_class_ptr( hwnd, TRUE ))) return 0;
if (offset >= 0) if (offset >= 0)
...@@ -962,8 +952,6 @@ static ULONG_PTR CLASS_SetClassLong( HWND hwnd, INT offset, LONG_PTR newval, ...@@ -962,8 +952,6 @@ static ULONG_PTR CLASS_SetClassLong( HWND hwnd, INT offset, LONG_PTR newval,
*/ */
DWORD WINAPI SetClassLongW( HWND hwnd, INT offset, LONG newval ) DWORD WINAPI SetClassLongW( HWND hwnd, INT offset, LONG newval )
{ {
TRACE("%p %d %x\n", hwnd, offset, newval);
return CLASS_SetClassLong( hwnd, offset, newval, sizeof(LONG), TRUE ); return CLASS_SetClassLong( hwnd, offset, newval, sizeof(LONG), TRUE );
} }
...@@ -973,8 +961,6 @@ DWORD WINAPI SetClassLongW( HWND hwnd, INT offset, LONG newval ) ...@@ -973,8 +961,6 @@ DWORD WINAPI SetClassLongW( HWND hwnd, INT offset, LONG newval )
*/ */
DWORD WINAPI SetClassLongA( HWND hwnd, INT offset, LONG newval ) DWORD WINAPI SetClassLongA( HWND hwnd, INT offset, LONG newval )
{ {
TRACE("%p %d %x\n", hwnd, offset, newval);
return CLASS_SetClassLong( hwnd, offset, newval, sizeof(LONG), FALSE ); return CLASS_SetClassLong( hwnd, offset, newval, sizeof(LONG), FALSE );
} }
......
...@@ -1224,8 +1224,6 @@ BOOL WINAPI DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction ...@@ -1224,8 +1224,6 @@ BOOL WINAPI DdeAbandonTransaction(DWORD idInst, HCONV hConv, DWORD idTransaction
WDML_CONV* pConv; WDML_CONV* pConv;
WDML_XACT* pXAct; WDML_XACT* pXAct;
TRACE("(%08x,%p,%08x);\n", idInst, hConv, idTransaction);
if ((pInstance = WDML_GetInstance(idInst))) if ((pInstance = WDML_GetInstance(idInst)))
{ {
if (hConv) if (hConv)
......
...@@ -132,7 +132,6 @@ BOOL WINAPI UnpackDDElParam(UINT msg, LPARAM lParam, ...@@ -132,7 +132,6 @@ BOOL WINAPI UnpackDDElParam(UINT msg, LPARAM lParam,
if (uiHi) *uiHi = 0; if (uiHi) *uiHi = 0;
return FALSE; return FALSE;
} }
TRACE("unpacked: low %08lx, high %08lx\n", params[0], params[1]);
if (uiLo) *uiLo = params[0]; if (uiLo) *uiLo = params[0];
if (uiHi) *uiHi = params[1]; if (uiHi) *uiHi = params[1];
GlobalUnlock( (HGLOBAL)lParam ); GlobalUnlock( (HGLOBAL)lParam );
...@@ -1126,8 +1125,6 @@ HSZ WINAPI DdeCreateStringHandleW(DWORD idInst, LPCWSTR psz, INT codepage) ...@@ -1126,8 +1125,6 @@ HSZ WINAPI DdeCreateStringHandleW(DWORD idInst, LPCWSTR psz, INT codepage)
WDML_INSTANCE* pInstance; WDML_INSTANCE* pInstance;
HSZ hsz = 0; HSZ hsz = 0;
TRACE("(%d,%s,%d)\n", idInst, debugstr_w(psz), codepage);
pInstance = WDML_GetInstance(idInst); pInstance = WDML_GetInstance(idInst);
if (pInstance) if (pInstance)
{ {
...@@ -2026,8 +2023,6 @@ BOOL WINAPI DdeSetUserHandle(HCONV hConv, DWORD id, DWORD hUser) ...@@ -2026,8 +2023,6 @@ BOOL WINAPI DdeSetUserHandle(HCONV hConv, DWORD id, DWORD hUser)
{ {
WDML_CONV* pConv; WDML_CONV* pConv;
TRACE("(%p,%x,%x)\n", hConv, id, hUser);
pConv = WDML_GetConv(hConv, FALSE); pConv = WDML_GetConv(hConv, FALSE);
if (pConv == NULL) if (pConv == NULL)
return FALSE; return FALSE;
......
...@@ -518,8 +518,6 @@ BOOL WINAPI UnhookWindowsHookEx( HHOOK hhook ) ...@@ -518,8 +518,6 @@ BOOL WINAPI UnhookWindowsHookEx( HHOOK hhook )
{ {
BOOL ret; BOOL ret;
TRACE( "%p\n", hhook );
SERVER_START_REQ( remove_hook ) SERVER_START_REQ( remove_hook )
{ {
req->handle = hhook; req->handle = hhook;
...@@ -712,8 +710,6 @@ BOOL WINAPI UnhookWinEvent(HWINEVENTHOOK hEventHook) ...@@ -712,8 +710,6 @@ BOOL WINAPI UnhookWinEvent(HWINEVENTHOOK hEventHook)
{ {
BOOL ret; BOOL ret;
TRACE( "%p\n", hEventHook );
SERVER_START_REQ( remove_hook ) SERVER_START_REQ( remove_hook )
{ {
req->handle = hEventHook; req->handle = hEventHook;
......
...@@ -506,8 +506,6 @@ BOOL WINAPI SetKeyboardState( LPBYTE state ) ...@@ -506,8 +506,6 @@ BOOL WINAPI SetKeyboardState( LPBYTE state )
{ {
BOOL ret; BOOL ret;
TRACE("(%p)\n", state);
SERVER_START_REQ( set_key_state ) SERVER_START_REQ( set_key_state )
{ {
req->tid = GetCurrentThreadId(); req->tid = GetCurrentThreadId();
...@@ -580,7 +578,6 @@ WORD WINAPI VkKeyScanExW(WCHAR cChar, HKL dwhkl) ...@@ -580,7 +578,6 @@ WORD WINAPI VkKeyScanExW(WCHAR cChar, HKL dwhkl)
*/ */
DWORD WINAPI OemKeyScan(WORD wOemChar) DWORD WINAPI OemKeyScan(WORD wOemChar)
{ {
TRACE("(%d)\n", wOemChar);
return wOemChar; return wOemChar;
} }
......
...@@ -3580,7 +3580,6 @@ DWORD WINAPI CheckMenuItem( HMENU hMenu, UINT id, UINT flags ) ...@@ -3580,7 +3580,6 @@ DWORD WINAPI CheckMenuItem( HMENU hMenu, UINT id, UINT flags )
MENUITEM *item; MENUITEM *item;
DWORD ret; DWORD ret;
TRACE("menu=%p id=%04x flags=%04x\n", hMenu, id, flags );
if (!(item = MENU_FindItem( &hMenu, &id, flags ))) return -1; if (!(item = MENU_FindItem( &hMenu, &id, flags ))) return -1;
ret = item->fState & MF_CHECKED; ret = item->fState & MF_CHECKED;
if (flags & MF_CHECKED) item->fState |= MF_CHECKED; if (flags & MF_CHECKED) item->fState |= MF_CHECKED;
...@@ -3951,8 +3950,7 @@ BOOL WINAPI SetMenuItemBitmaps( HMENU hMenu, UINT nPos, UINT wFlags, ...@@ -3951,8 +3950,7 @@ BOOL WINAPI SetMenuItemBitmaps( HMENU hMenu, UINT nPos, UINT wFlags,
HBITMAP hNewUnCheck, HBITMAP hNewCheck) HBITMAP hNewUnCheck, HBITMAP hNewCheck)
{ {
MENUITEM *item; MENUITEM *item;
TRACE("(%p, %04x, %04x, %p, %p)\n",
hMenu, nPos, wFlags, hNewCheck, hNewUnCheck);
if (!(item = MENU_FindItem( &hMenu, &nPos, wFlags ))) return FALSE; if (!(item = MENU_FindItem( &hMenu, &nPos, wFlags ))) return FALSE;
if (!hNewCheck && !hNewUnCheck) if (!hNewCheck && !hNewUnCheck)
...@@ -4884,8 +4882,6 @@ BOOL WINAPI CheckMenuRadioItem(HMENU hMenu, ...@@ -4884,8 +4882,6 @@ BOOL WINAPI CheckMenuRadioItem(HMENU hMenu,
MENUITEM *mi_first = NULL, *mi_check; MENUITEM *mi_first = NULL, *mi_check;
HMENU m_first, m_check; HMENU m_first, m_check;
TRACE("%p: %u-%u, check %u, flags %04x\n", hMenu, first, last, check, bypos);
for (i = first; i <= last; i++) for (i = first; i <= last; i++)
{ {
UINT pos = i; UINT pos = i;
......
...@@ -3486,8 +3486,6 @@ BOOL WINAPI KillTimer( HWND hwnd, UINT_PTR id ) ...@@ -3486,8 +3486,6 @@ BOOL WINAPI KillTimer( HWND hwnd, UINT_PTR id )
{ {
BOOL ret; BOOL ret;
TRACE("%p %ld\n", hwnd, id );
SERVER_START_REQ( kill_win_timer ) SERVER_START_REQ( kill_win_timer )
{ {
req->win = hwnd; req->win = hwnd;
...@@ -3507,8 +3505,6 @@ BOOL WINAPI KillSystemTimer( HWND hwnd, UINT_PTR id ) ...@@ -3507,8 +3505,6 @@ BOOL WINAPI KillSystemTimer( HWND hwnd, UINT_PTR id )
{ {
BOOL ret; BOOL ret;
TRACE("%p %ld\n", hwnd, id );
SERVER_START_REQ( kill_win_timer ) SERVER_START_REQ( kill_win_timer )
{ {
req->win = hwnd; req->win = hwnd;
......
...@@ -2020,8 +2020,6 @@ BOOL WINAPI EnableScrollBar( HWND hwnd, UINT nBar, UINT flags ) ...@@ -2020,8 +2020,6 @@ BOOL WINAPI EnableScrollBar( HWND hwnd, UINT nBar, UINT flags )
BOOL bFineWithMe; BOOL bFineWithMe;
SCROLLBAR_INFO *infoPtr; SCROLLBAR_INFO *infoPtr;
TRACE("%p %d %d\n", hwnd, nBar, flags );
flags &= ESB_DISABLE_BOTH; flags &= ESB_DISABLE_BOTH;
if (nBar == SB_BOTH) if (nBar == SB_BOTH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment