user32: Replace const pointer parameters with correct pointers to
const
Andrew Talbot
Andrew.Talbot at talbotville.com
Tue Mar 6 14:41:06 CST 2007
Changelog:
user32: Replace const pointer parameters with correct pointers to const.
diff -urN a/dlls/user32/mdi.c b/dlls/user32/mdi.c
--- a/dlls/user32/mdi.c 2007-02-13 17:12:38.000000000 +0000
+++ b/dlls/user32/mdi.c 2007-03-06 19:33:55.000000000 +0000
@@ -1852,7 +1852,7 @@
* 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 @@
* 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 -urN a/dlls/user32/painting.c b/dlls/user32/painting.c
--- a/dlls/user32/painting.c 2007-02-15 16:39:06.000000000 +0000
+++ b/dlls/user32/painting.c 2007-03-06 19:40:04.000000000 +0000
@@ -353,7 +353,7 @@
* 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 -urN a/include/winuser.h b/include/winuser.h
--- a/include/winuser.h 2007-02-19 14:28:36.000000000 +0000
+++ b/include/winuser.h 2007-03-06 20:05:23.000000000 +0000
@@ -4185,7 +4185,7 @@
#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 @@
#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);
More information about the wine-patches
mailing list