ChangeLog Fix Validate{Rect,Rgn} prototypes Index: include/winuser.h =================================================================== RCS file: /var/cvs/wine/include/winuser.h,v retrieving revision 1.143 diff -u -r1.143 winuser.h --- include/winuser.h 29 Sep 2002 18:04:55 -0000 1.143 +++ include/winuser.h 2 Oct 2002 17:47:50 -0000 @@ -4384,8 +4384,8 @@ #define UnregisterClass WINELIB_NAME_AW(UnregisterClass) VOID WINAPI UpdateWindow(HWND); UINT WINAPI UserRealizePalette(HDC); -VOID WINAPI ValidateRect(HWND,const RECT*); -VOID WINAPI ValidateRgn(HWND,HRGN); +BOOL WINAPI ValidateRect(HWND,const RECT*); +BOOL WINAPI ValidateRgn(HWND,HRGN); WORD WINAPI VkKeyScanA(CHAR); WORD WINAPI VkKeyScanW(WCHAR); #define VkKeyScan WINELIB_NAME_AW(VkKeyScan) Index: ./windows/painting.c =================================================================== RCS file: /var/cvs/wine/windows/painting.c,v retrieving revision 1.74 diff -u -r1.74 painting.c --- ./windows/painting.c 29 Aug 2002 02:48:09 -0000 1.74 +++ ./windows/painting.c 2 Oct 2002 17:49:11 -0000 @@ -876,18 +876,18 @@ /*********************************************************************** * ValidateRgn (USER32.@) */ -void WINAPI ValidateRgn( HWND hwnd, HRGN hrgn ) +BOOL WINAPI ValidateRgn( HWND hwnd, HRGN hrgn ) { - RedrawWindow( hwnd, NULL, hrgn, RDW_VALIDATE | RDW_NOCHILDREN ); + return RedrawWindow( hwnd, NULL, hrgn, RDW_VALIDATE | RDW_NOCHILDREN ); } /*********************************************************************** * ValidateRect (USER32.@) */ -void WINAPI ValidateRect( HWND hwnd, const RECT *rect ) +BOOL WINAPI ValidateRect( HWND hwnd, const RECT *rect ) { - RedrawWindow( hwnd, rect, 0, RDW_VALIDATE | RDW_NOCHILDREN ); + return RedrawWindow( hwnd, rect, 0, RDW_VALIDATE | RDW_NOCHILDREN ); }