- Reposition IntCallWndProc/Ret so it call when sending to client.

svn path=/trunk/; revision=54294
This commit is contained in:
James Tabor 2011-11-05 06:01:05 +00:00
parent c30a8a6e49
commit 98c56da01a

View file

@ -1188,7 +1188,6 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
Win32Thread = PsGetCurrentThreadWin32Thread();
IntCallWndProc( Window, hWnd, Msg, wParam, lParam);
if ( NULL != Win32Thread &&
Window->head.pti->MessageQueue == Win32Thread->MessageQueue)
@ -1199,6 +1198,8 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
RETURN( FALSE);
}
IntCallWndProc( Window, hWnd, Msg, wParam, lParam);
/* See if this message type is present in the table */
MsgMemoryEntry = FindMsgMemory(Msg);
if (NULL == MsgMemoryEntry)
@ -1269,8 +1270,6 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
(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)
{
/*
@ -1457,8 +1456,6 @@ co_IntSendMessageWithCallBack( HWND hWnd,
}
}
if (Window->head.pti->MessageQueue == Win32Thread->MessageQueue)
{
if (! NT_SUCCESS(UnpackParam(lParamPacked, Msg, wParam, lParam, FALSE)))