From af1376546d3e6d10915465ced716ced5973bf1db Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Thu, 22 May 2008 08:39:24 +0000 Subject: [PATCH] implemented GetTitleBarInfo in user32 it works now same as xp/vista left todo implemented it proper in win32k on the syscall NtUserGetTitleBarInfo that is stub at moment. svn path=/trunk/; revision=33632 --- reactos/dll/win32/user32/windows/window.c | 5 ++--- reactos/include/reactos/win32k/ntuser.h | 4 ++-- reactos/subsystems/win32/win32k/ntuser/ntstubs.c | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/reactos/dll/win32/user32/windows/window.c b/reactos/dll/win32/user32/windows/window.c index 723c3a25d67..4e20a511b06 100644 --- a/reactos/dll/win32/user32/windows/window.c +++ b/reactos/dll/win32/user32/windows/window.c @@ -978,14 +978,13 @@ GetProcessDefaultLayout(DWORD *pdwDefaultLayout) /* - * @unimplemented + * @implemented */ BOOL STDCALL GetTitleBarInfo(HWND hwnd, PTITLEBARINFO pti) { - UNIMPLEMENTED; - return FALSE; + return NtUserGetTitleBarInfo(hwnd,pti); } diff --git a/reactos/include/reactos/win32k/ntuser.h b/reactos/include/reactos/win32k/ntuser.h index 0a3b2156c7b..bb27cee49f8 100644 --- a/reactos/include/reactos/win32k/ntuser.h +++ b/reactos/include/reactos/win32k/ntuser.h @@ -1480,8 +1480,8 @@ NtUserGetThreadState( DWORD NTAPI NtUserGetTitleBarInfo( - DWORD Unknown0, - DWORD Unknown1); + HWND hwnd, + PTITLEBARINFO pti); BOOL NTAPI NtUserGetUpdateRect(HWND hWnd, LPRECT lpRect, BOOL fErase); diff --git a/reactos/subsystems/win32/win32k/ntuser/ntstubs.c b/reactos/subsystems/win32/win32k/ntuser/ntstubs.c index 39bef007897..6d221416919 100644 --- a/reactos/subsystems/win32/win32k/ntuser/ntstubs.c +++ b/reactos/subsystems/win32/win32k/ntuser/ntstubs.c @@ -321,8 +321,8 @@ NtUserGetMouseMovePointsEx( DWORD STDCALL NtUserGetTitleBarInfo( - DWORD Unknown0, - DWORD Unknown1) + HWND hwnd, + PTITLEBARINFO pti) { UNIMPLEMENTED