Implement RealGetWindowClass
Dmitry Timoshkov
dmitry at baikal.ru
Fri Sep 26 07:01:38 CDT 2003
Hello,
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
Implement RealGetWindowClass.
diff -u cvs/hq/wine/dlls/user/user32.spec wine/dlls/user/user32.spec
--- cvs/hq/wine/dlls/user/user32.spec Thu Sep 18 10:44:11 2003
+++ wine/dlls/user/user32.spec Fri Sep 26 20:38:56 2003
@@ -448,9 +448,10 @@
@ 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 RealGetWindowClassA(long ptr long)
+@ stdcall RealGetWindowClassW(long ptr long)
@ stdcall RedrawWindow(long ptr long long)
@ stdcall RegisterClassA(ptr)
@ stdcall RegisterClassExA(ptr)
diff -u cvs/hq/wine/include/winuser.h wine/include/winuser.h
--- cvs/hq/wine/include/winuser.h Fri Sep 26 20:20:03 2003
+++ wine/include/winuser.h Fri Sep 26 20:26:13 2003
@@ -4266,6 +4266,9 @@ UINT WINAPI PrivateExtractIconExW
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 -u cvs/hq/wine/windows/class.c wine/windows/class.c
--- cvs/hq/wine/windows/class.c Fri Sep 12 12:52:49 2003
+++ wine/windows/class.c Fri Sep 26 20:28:14 2003
@@ -1103,6 +1103,24 @@ INT WINAPI GetClassNameW( HWND hwnd, LPW
/***********************************************************************
+ * 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 )
More information about the wine-patches
mailing list