Hi, This is a stub for AlignRects which is called by desk.cpl ChangeLog: - AlignRects stub Rob
Index: wine/dlls/user/misc.c =================================================================== RCS file: /home/wine/wine/dlls/user/misc.c,v retrieving revision 1.10 diff -u -r1.10 misc.c --- wine/dlls/user/misc.c 22 Nov 2002 21:22:15 -0000 1.10 +++ wine/dlls/user/misc.c 11 Jan 2003 21:07:27 -0000 @@ -195,10 +195,10 @@ /*********************************************************************** * RegisterShellHookWindow [USER32.@] */ -HRESULT WINAPI RegisterShellHookWindow ( DWORD u ) +BOOL WINAPI RegisterShellHookWindow ( HWND hWnd ) { - FIXME("0x%08lx stub\n",u); - return 0; + FIXME("(%p): stub\n", hWnd); + return 0; } @@ -252,3 +252,12 @@ * USER_496 (USER.496) */ LONG WINAPI stub_USER_496(void) { FIXME("stub\n"); return 0; } + +BOOL WINAPI AlignRects(LPRECT rect, DWORD b, DWORD c, DWORD d) +{ + FIXME("(%p, %ld, %ld, %ld): stub\n", rect, b, c, d); + if (rect) + FIXME("rect: [[%ld, %ld], [%ld, %ld]]\n", rect->left, rect->top, rect->right, rect->bottom); + // Calls OffsetRect + return FALSE; +} Index: wine/dlls/user/user32.spec =================================================================== RCS file: /home/wine/wine/dlls/user/user32.spec,v retrieving revision 1.66 diff -u -r1.66 user32.spec --- wine/dlls/user/user32.spec 2 Jan 2003 19:34:14 -0000 1.66 +++ wine/dlls/user/user32.spec 11 Jan 2003 21:07:27 -0000 @@ -643,6 +643,7 @@ @ stub UnregisterDeviceNotification # win98/win2k +@ stdcall AlignRects(ptr long long long) AlignRects @ stdcall AllowSetForegroundWindow (long) AllowSetForegroundWindow @ stdcall AnimateWindow(long long long) AnimateWindow @ stdcall DrawMenuBarTemp(long long long long long) DrawMenuBarTemp