Fix Validate{Rect,Rgn} prototypes.
This commit is contained in:
parent
16f3c788d0
commit
75b31e3e32
|
@ -4384,8 +4384,8 @@ BOOL WINAPI UnregisterClassW(LPCWSTR,HINSTANCE);
|
||||||
#define UnregisterClass WINELIB_NAME_AW(UnregisterClass)
|
#define UnregisterClass WINELIB_NAME_AW(UnregisterClass)
|
||||||
VOID WINAPI UpdateWindow(HWND);
|
VOID WINAPI UpdateWindow(HWND);
|
||||||
UINT WINAPI UserRealizePalette(HDC);
|
UINT WINAPI UserRealizePalette(HDC);
|
||||||
VOID WINAPI ValidateRect(HWND,const RECT*);
|
BOOL WINAPI ValidateRect(HWND,const RECT*);
|
||||||
VOID WINAPI ValidateRgn(HWND,HRGN);
|
BOOL WINAPI ValidateRgn(HWND,HRGN);
|
||||||
WORD WINAPI VkKeyScanA(CHAR);
|
WORD WINAPI VkKeyScanA(CHAR);
|
||||||
WORD WINAPI VkKeyScanW(WCHAR);
|
WORD WINAPI VkKeyScanW(WCHAR);
|
||||||
#define VkKeyScan WINELIB_NAME_AW(VkKeyScan)
|
#define VkKeyScan WINELIB_NAME_AW(VkKeyScan)
|
||||||
|
|
|
@ -876,18 +876,18 @@ BOOL WINAPI InvalidateRect( HWND hwnd, const RECT *rect, BOOL erase )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ValidateRgn (USER32.@)
|
* 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.@)
|
* 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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue