}
}
return 0;
-}
+}
LRESULT FASTCALL
IntDispatchMessage(PMSG pMsg)
LRESULT retval = 0;
PTHREADINFO pti;
PWND Window = NULL;
+ HRGN hrgn;
if (pMsg->hwnd)
{
{
Window->state2 &= ~WNDS2_WMPAINTSENT;
/* 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 );
GreDeleteObject(hrgn);
}
&Result))
{
Result = ((ULONG_PTR)-1);
- }
+ }
return Result;
}
/* MSDN:
{
ERR("SMWCB: Internal Message!\n");
Result = (ULONG_PTR)handle_internal_message( Window, Msg, wParam, lParam );
- if (uResult) *uResult = Result;
+ if (uResult) *uResult = Result;
RETURN( TRUE);
}
/*
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
- messages!
+ messages!
*/
LRESULT FASTCALL
co_IntPostOrSendMessage( HWND hWnd,