Author: jimtabor
Date: Tue Nov 3 19:22:00 2015
New Revision: 69796
URL:
http://svn.reactos.org/svn/reactos?rev=69796&view=rev
Log:
- Missing from patch 11. This should fix it.
Modified:
trunk/reactos/win32ss/user/user32/windows/message.c
Modified: trunk/reactos/win32ss/user/user32/windows/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/message.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/message.c [iso-8859-1] Tue Nov 3 19:22:00
2015
@@ -2320,6 +2320,7 @@
{
MSG UMMsg, KMMsg;
LRESULT Result;
+ BOOL Ret;
PWND Window;
PTHREADINFO ti = GetW32ThreadInfo();
@@ -2365,13 +2366,17 @@
return FALSE;
}
- Result = NtUserMessageCall( Wnd,
- KMMsg.message,
- KMMsg.wParam,
- KMMsg.lParam,
- (ULONG_PTR)&Result,
- FNID_SENDMESSAGE,
- FALSE);
+ Ret = NtUserMessageCall( Wnd,
+ KMMsg.message,
+ KMMsg.wParam,
+ KMMsg.lParam,
+ (ULONG_PTR)&Result,
+ FNID_SENDMESSAGE,
+ FALSE);
+ if (!Ret)
+ {
+ ERR("SendMessageW Error\n");
+ }
MsgiUMToKMCleanup(&UMMsg, &KMMsg);
@@ -2387,6 +2392,7 @@
{
MSG AnsiMsg, UcMsg, KMMsg;
LRESULT Result;
+ BOOL Ret;
PWND Window;
PTHREADINFO ti = GetW32ThreadInfo();
@@ -2438,13 +2444,17 @@
return FALSE;
}
- Result = NtUserMessageCall( Wnd,
- KMMsg.message,
- KMMsg.wParam,
- KMMsg.lParam,
- (ULONG_PTR)&Result,
- FNID_SENDMESSAGE,
- TRUE);
+ Ret = NtUserMessageCall( Wnd,
+ KMMsg.message,
+ KMMsg.wParam,
+ KMMsg.lParam,
+ (ULONG_PTR)&Result,
+ FNID_SENDMESSAGE,
+ TRUE);
+ if (!Ret)
+ {
+ ERR("SendMessageA Error\n");
+ }
MsgiUMToKMCleanup(&UcMsg, &KMMsg);
MsgiAnsiToUnicodeReply(&UcMsg, &AnsiMsg, &Result);
@@ -2886,10 +2896,15 @@
KMMsg.lParam = (LPARAM) ((char *) CallbackArgs +
sizeof(WINDOWPROC_CALLBACK_ARGUMENTS));
switch(KMMsg.message)
{
+ case WM_CREATE:
+ {
+ TRACE("WM_CREATE CB %p lParam %p\n",CallbackArgs, KMMsg.lParam);
+ break;
+ }
case WM_SYSTIMER:
{
- ERR("WM_SYSTIMER %p\n",KMMsg.hwnd);
- break;
+ TRACE("WM_SYSTIMER %p\n",KMMsg.hwnd);
+ break;
}
case WM_SIZING:
{