Author: hpoussin
Date: Sat Jun 7 15:44:57 2008
New Revision: 33889
URL:
http://svn.reactos.org/svn/reactos?rev=33889&view=rev
Log:
Write the complete error message to debug log, instead of partial information
Modified:
trunk/reactos/subsystems/win32/csrss/win32csr/dllmain.c
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/dllmain.c [iso-8859-1] Sat Jun 7
15:44:57 2008
@@ -195,8 +195,8 @@
HardErrorMessage->Response = ResponseNotHandled;
- DPRINT1("NumberOfParameters = %d\n",
HardErrorMessage->NumberOfParameters);
- DPRINT1("Status = %lx\n", HardErrorMessage->Status);
+ DPRINT("NumberOfParameters = %d\n",
HardErrorMessage->NumberOfParameters);
+ DPRINT("Status = %lx\n", HardErrorMessage->Status);
// open client process
InitializeObjectAttributes(&ObjectAttributes, NULL, 0, NULL, NULL);
@@ -514,6 +514,7 @@
}
// FIXME: We should not use MessageBox !!!!
+ DPRINT1("%S\n", szxMessageBody);
MessageBoxResponse = MessageBoxW(0, szxMessageBody, szxCaptionText,
responce|MB_ICONERROR|MB_SYSTEMMODAL|MB_SETFOREGROUND);
RtlFreeHeap (RtlGetProcessHeap(), 0, szxMessageBody);