Author: jimtabor
Date: Sat Nov  5 06:01:05 2011
New Revision: 54294

URL: http://svn.reactos.org/svn/reactos?rev=54294&view=rev
Log:
[Win32k]
- Reposition IntCallWndProc/Ret so it call when sending to client.

Modified:
    trunk/reactos/subsystems/win32/win32k/ntuser/message.c

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/message.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/message.c?rev=54294&r1=54293&r2=54294&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/message.c [iso-8859-1] 
(original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/message.c [iso-8859-1] Sat Nov 
 5 06:01:05 2011
@@ -1188,7 +1188,6 @@
 
     Win32Thread = PsGetCurrentThreadWin32Thread();
 
-    IntCallWndProc( Window, hWnd, Msg, wParam, lParam);
 
     if ( NULL != Win32Thread &&
          Window->head.pti->MessageQueue == Win32Thread->MessageQueue)
@@ -1198,6 +1197,8 @@
             /* Never send messages to exiting threads */
             RETURN( FALSE);
         }
+
+        IntCallWndProc( Window, hWnd, Msg, wParam, lParam);
 
         /* See if this message type is present in the table */
         MsgMemoryEntry = FindMsgMemory(Msg);
@@ -1268,8 +1269,6 @@
     while ((STATUS_TIMEOUT == Status) &&
            (uFlags & SMTO_NOTIMEOUTIFNOTHUNG) &&
            !MsqIsHung(Window->head.pti->MessageQueue)); // FIXME - Set window 
hung and add to a list.
-
-    IntCallWndProcRet( Window, hWnd, Msg, wParam, lParam, (LRESULT *)uResult);
 
     if (STATUS_TIMEOUT == Status)
     {
@@ -1456,8 +1455,6 @@
                                           Result);
         }
     }
-
-
 
     if (Window->head.pti->MessageQueue == Win32Thread->MessageQueue)
     {


Reply via email to