mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 12:18:13 +00:00
[Win32k]
- Reposition IntCallWndProc/Ret so it call when sending to client. svn path=/trunk/; revision=54294
This commit is contained in:
parent
c30a8a6e49
commit
98c56da01a
|
@ -1188,7 +1188,6 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
|
||||||
|
|
||||||
Win32Thread = PsGetCurrentThreadWin32Thread();
|
Win32Thread = PsGetCurrentThreadWin32Thread();
|
||||||
|
|
||||||
IntCallWndProc( Window, hWnd, Msg, wParam, lParam);
|
|
||||||
|
|
||||||
if ( NULL != Win32Thread &&
|
if ( NULL != Win32Thread &&
|
||||||
Window->head.pti->MessageQueue == Win32Thread->MessageQueue)
|
Window->head.pti->MessageQueue == Win32Thread->MessageQueue)
|
||||||
|
@ -1199,6 +1198,8 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
|
||||||
RETURN( FALSE);
|
RETURN( FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
IntCallWndProc( Window, hWnd, Msg, wParam, lParam);
|
||||||
|
|
||||||
/* See if this message type is present in the table */
|
/* See if this message type is present in the table */
|
||||||
MsgMemoryEntry = FindMsgMemory(Msg);
|
MsgMemoryEntry = FindMsgMemory(Msg);
|
||||||
if (NULL == MsgMemoryEntry)
|
if (NULL == MsgMemoryEntry)
|
||||||
|
@ -1269,8 +1270,6 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
|
||||||
(uFlags & SMTO_NOTIMEOUTIFNOTHUNG) &&
|
(uFlags & SMTO_NOTIMEOUTIFNOTHUNG) &&
|
||||||
!MsqIsHung(Window->head.pti->MessageQueue)); // FIXME - Set window hung and add to a list.
|
!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)
|
if (STATUS_TIMEOUT == Status)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -1457,8 +1456,6 @@ co_IntSendMessageWithCallBack( HWND hWnd,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (Window->head.pti->MessageQueue == Win32Thread->MessageQueue)
|
if (Window->head.pti->MessageQueue == Win32Thread->MessageQueue)
|
||||||
{
|
{
|
||||||
if (! NT_SUCCESS(UnpackParam(lParamPacked, Msg, wParam, lParam, FALSE)))
|
if (! NT_SUCCESS(UnpackParam(lParamPacked, Msg, wParam, lParam, FALSE)))
|
||||||
|
|
Loading…
Reference in a new issue