Module: wine Branch: master Commit: 3ad92b0c2522de5aa1c6b7910533b17a248ce1af URL: http://source.winehq.org/git/wine.git/?a=commit;h=3ad92b0c2522de5aa1c6b79105...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Tue Mar 6 20:41:06 2007 +0000
user32: Replace const pointer parameters with correct pointers to const.
---
dlls/user32/mdi.c | 4 ++-- dlls/user32/painting.c | 2 +- include/winuser.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index 190e0cc..de43ae3 100644 --- a/dlls/user32/mdi.c +++ b/dlls/user32/mdi.c @@ -1852,7 +1852,7 @@ void WINAPI ScrollChildren(HWND hWnd, UINT uMsg, WPARAM wParam, * Failure: 0 */ WORD WINAPI -CascadeWindows (HWND hwndParent, UINT wFlags, const LPRECT lpRect, +CascadeWindows (HWND hwndParent, UINT wFlags, const RECT *lpRect, UINT cKids, const HWND *lpKids) { FIXME("(%p,0x%08x,...,%u,...): stub\n", hwndParent, wFlags, cKids); @@ -1868,7 +1868,7 @@ CascadeWindows (HWND hwndParent, UINT wFlags, const LPRECT lpRect, * Failure: 0 */ WORD WINAPI -TileWindows (HWND hwndParent, UINT wFlags, const LPRECT lpRect, +TileWindows (HWND hwndParent, UINT wFlags, const RECT *lpRect, UINT cKids, const HWND *lpKids) { FIXME("(%p,0x%08x,...,%u,...): stub\n", hwndParent, wFlags, cKids); diff --git a/dlls/user32/painting.c b/dlls/user32/painting.c index 9fe6764..5c70b2a 100644 --- a/dlls/user32/painting.c +++ b/dlls/user32/painting.c @@ -353,7 +353,7 @@ static void update_now( HWND hwnd, UINT rdw_flags ) * caret. Its caret needs to be hidden during the scroll operation and * moved to new_caret_pos if move_caret is TRUE. */ -static HWND fix_caret(HWND hWnd, const LPRECT scroll_rect, INT dx, INT dy, +static HWND fix_caret(HWND hWnd, const RECT *scroll_rect, INT dx, INT dy, UINT flags, LPBOOL move_caret, LPPOINT new_caret_pos) { GUITHREADINFO info; diff --git a/include/winuser.h b/include/winuser.h index c3056d2..e5de917 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -4185,7 +4185,7 @@ BOOL WINAPI UpdateLayeredWindowIndirect(HWND,UPDATELAYEREDWINDOWINFO CONS #endif /* defined(_WINGDI_) && !defined(NOGDI) */
HKL WINAPI ActivateKeyboardLayout(HKL,UINT); -WORD WINAPI CascadeWindows(HWND, UINT, const LPRECT, UINT, const HWND *); +WORD WINAPI CascadeWindows(HWND, UINT, const RECT *, UINT, const HWND *); INT WINAPI CopyAcceleratorTableA(HACCEL,LPACCEL,INT); INT WINAPI CopyAcceleratorTableW(HACCEL,LPACCEL,INT); #define CopyAcceleratorTable WINELIB_NAME_AW(CopyAcceleratorTable) @@ -4259,7 +4259,7 @@ BOOL WINAPI SetMenuItemInfoW(HMENU,UINT,BOOL,const MENUITEMINFOW*); #define SetMenuItemInfo WINELIB_NAME_AW(SetMenuItemInfo) BOOL WINAPI SetWindowContextHelpId(HWND,DWORD); HWINEVENTHOOK WINAPI SetWinEventHook(DWORD,DWORD,HMODULE,WINEVENTPROC,DWORD,DWORD,DWORD); -WORD WINAPI TileWindows (HWND, UINT, const LPRECT, +WORD WINAPI TileWindows (HWND, UINT, const RECT *, UINT, const HWND *); INT WINAPI ToUnicode(UINT,UINT,PBYTE,LPWSTR,int,UINT); INT WINAPI ToUnicodeEx(UINT,UINT,LPBYTE,LPWSTR,int,UINT,HKL);