Commit 75b31e3e authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Fix Validate{Rect,Rgn} prototypes.

parent 16f3c788
......@@ -4384,8 +4384,8 @@ BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
#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)
......
......@@ -876,18 +876,18 @@ BOOL WINAPI InvalidateRect( HWND hwnd, const RECT *rect, BOOL erase )
/***********************************************************************
* 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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment