mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:32:59 +00:00
[WIN32K]
Fix MSVC build. svn path=/trunk/; revision=54639
This commit is contained in:
parent
388f6d13c8
commit
df57cb5880
1 changed files with 6 additions and 5 deletions
|
@ -622,7 +622,7 @@ static LRESULT handle_internal_message( PWND pWnd, UINT msg, WPARAM wparam, LPAR
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT FASTCALL
|
LRESULT FASTCALL
|
||||||
IntDispatchMessage(PMSG pMsg)
|
IntDispatchMessage(PMSG pMsg)
|
||||||
|
@ -632,6 +632,7 @@ IntDispatchMessage(PMSG pMsg)
|
||||||
LRESULT retval = 0;
|
LRESULT retval = 0;
|
||||||
PTHREADINFO pti;
|
PTHREADINFO pti;
|
||||||
PWND Window = NULL;
|
PWND Window = NULL;
|
||||||
|
HRGN hrgn;
|
||||||
|
|
||||||
if (pMsg->hwnd)
|
if (pMsg->hwnd)
|
||||||
{
|
{
|
||||||
|
@ -705,7 +706,7 @@ IntDispatchMessage(PMSG pMsg)
|
||||||
{
|
{
|
||||||
Window->state2 &= ~WNDS2_WMPAINTSENT;
|
Window->state2 &= ~WNDS2_WMPAINTSENT;
|
||||||
/* send a WM_NCPAINT and WM_ERASEBKGND if the non-client area is still invalid */
|
/* send a WM_NCPAINT and WM_ERASEBKGND if the non-client area is still invalid */
|
||||||
HRGN hrgn = IntSysCreateRectRgn( 0, 0, 0, 0 );
|
hrgn = IntSysCreateRectRgn( 0, 0, 0, 0 );
|
||||||
co_UserGetUpdateRgn( Window, hrgn, TRUE );
|
co_UserGetUpdateRgn( Window, hrgn, TRUE );
|
||||||
GreDeleteObject(hrgn);
|
GreDeleteObject(hrgn);
|
||||||
}
|
}
|
||||||
|
@ -1447,7 +1448,7 @@ co_IntSendMessageNoWait(HWND hWnd,
|
||||||
&Result))
|
&Result))
|
||||||
{
|
{
|
||||||
Result = ((ULONG_PTR)-1);
|
Result = ((ULONG_PTR)-1);
|
||||||
}
|
}
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
/* MSDN:
|
/* MSDN:
|
||||||
|
@ -1528,7 +1529,7 @@ co_IntSendMessageWithCallBack( HWND hWnd,
|
||||||
{
|
{
|
||||||
ERR("SMWCB: Internal Message!\n");
|
ERR("SMWCB: Internal Message!\n");
|
||||||
Result = (ULONG_PTR)handle_internal_message( Window, Msg, wParam, lParam );
|
Result = (ULONG_PTR)handle_internal_message( Window, Msg, wParam, lParam );
|
||||||
if (uResult) *uResult = Result;
|
if (uResult) *uResult = Result;
|
||||||
RETURN( TRUE);
|
RETURN( TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1616,7 +1617,7 @@ CLEANUP:
|
||||||
/*
|
/*
|
||||||
This HACK function posts a message if the destination's message queue belongs to
|
This HACK function posts a message if the destination's message queue belongs to
|
||||||
another thread, otherwise it sends the message. It does not support broadcast
|
another thread, otherwise it sends the message. It does not support broadcast
|
||||||
messages!
|
messages!
|
||||||
*/
|
*/
|
||||||
LRESULT FASTCALL
|
LRESULT FASTCALL
|
||||||
co_IntPostOrSendMessage( HWND hWnd,
|
co_IntPostOrSendMessage( HWND hWnd,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue