Author: gadamopoulos
Date: Sun Aug 21 14:57:04 2011
New Revision: 53357
URL:
http://svn.reactos.org/svn/reactos?rev=53357&view=rev
Log:
[win32k]
- Fix some debug output
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/callback.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/callback.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/callback.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/callback.c [iso-8859-1] Sun Aug 21
14:57:04 2011
@@ -174,6 +174,8 @@
ULONG ArgumentLength;
LRESULT Result;
+ TRACE_CH(UserMsgCall,"hwnd:0x%x, msg:%d, wparam:%d, lparam:%d\n", Wnd,
Message, wParam, lParam);
+
if (0 < lParamBufferSize)
{
ArgumentLength = sizeof(WINDOWPROC_CALLBACK_ARGUMENTS) + lParamBufferSize;
@@ -203,8 +205,6 @@
IntSetTebWndCallback (&Wnd, &pWnd);
- TRACE_CH(UserMsgCall,"hwnd:0x%x, msg:%d, wparam:%d, lparam:%d\n", Wnd,
Message, wParam, lParam);
-
UserLeaveCo();
Status = KeUserModeCallback(USER32_CALLBACK_WINDOWPROC,
@@ -220,6 +220,7 @@
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
+ ERR_CH(UserMsgCall,"Failed to copy result from user mode!\n");
Status = _SEH2_GetExceptionCode();
}
_SEH2_END;
@@ -230,6 +231,7 @@
if (!NT_SUCCESS(Status))
{
+ ERR_CH(UserMsgCall,"Call to user mode failed!\n");
if (0 < lParamBufferSize)
{
IntCbFreeMemory(Arguments);