From 2999165c83523f4081a2e06735ecc91c6c0c977b Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Sat, 27 Sep 2003 03:47:07 +0000 Subject: [PATCH] Implemented RealGetWindowClass. --- dlls/user/user32.spec | 6 ++++-- include/winuser.h | 3 +++ windows/class.c | 18 ++++++++++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 6ab21186c14..a9383085cc0 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -448,9 +448,11 @@ @ stdcall PostThreadMessageA(long long long long) @ stdcall PostThreadMessageW(long long long long) @ stdcall PtInRect(ptr long long) -# @ stub RealChildWindowFromPoint -# @ stub RealGetWindowClass @ stub QuerySendMessage +# @ stub RealChildWindowFromPoint +@ stdcall RealGetWindowClass(long ptr long) RealGetWindowClassA +@ stdcall RealGetWindowClassA(long ptr long) +@ stdcall RealGetWindowClassW(long ptr long) @ stdcall RedrawWindow(long ptr long long) @ stdcall RegisterClassA(ptr) @ stdcall RegisterClassExA(ptr) diff --git a/include/winuser.h b/include/winuser.h index 7b93b88d49b..eff497ce0c6 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -4266,6 +4266,9 @@ UINT WINAPI PrivateExtractIconExW(LPCWSTR,int,HICON*,HICON*,UINT); UINT WINAPI PrivateExtractIconsA(LPCSTR,int,int,int,HICON*,UINT*,UINT,UINT); UINT WINAPI PrivateExtractIconsW(LPCWSTR,int,int,int,HICON*,UINT*,UINT,UINT); BOOL WINAPI PtInRect(const RECT*,POINT); +UINT WINAPI RealGetWindowClassA(HWND,LPSTR,UINT); +UINT WINAPI RealGetWindowClassW(HWND,LPWSTR,UINT); +#define RealGetWindowClass WINELIB_NAME_AW(RealGetWindowClass) BOOL WINAPI RedrawWindow(HWND,const RECT*,HRGN,UINT); ATOM WINAPI RegisterClassA(const WNDCLASSA *); ATOM WINAPI RegisterClassW(const WNDCLASSW *); diff --git a/windows/class.c b/windows/class.c index 05f6ee481e3..9272acf3bba 100644 --- a/windows/class.c +++ b/windows/class.c @@ -1103,6 +1103,24 @@ INT WINAPI GetClassNameW( HWND hwnd, LPWSTR buffer, INT count ) /*********************************************************************** + * RealGetWindowClassA (USER32.@) + */ +UINT WINAPI RealGetWindowClassA( HWND hwnd, LPSTR buffer, UINT count ) +{ + return GetClassNameA( hwnd, buffer, count ); +} + + +/*********************************************************************** + * RealGetWindowClassW (USER32.@) + */ +UINT WINAPI RealGetWindowClassW( HWND hwnd, LPWSTR buffer, UINT count ) +{ + return GetClassNameW( hwnd, buffer, count ); +} + + +/*********************************************************************** * GetClassInfo (USER.404) */ BOOL16 WINAPI GetClassInfo16( HINSTANCE16 hInst16, SEGPTR name, WNDCLASS16 *wc ) -- 2.11.4.GIT