Add proper prototypes for GetClassLongPtrA/W for _WIN64 case

Dmitry Timoshkov dmitry at baikal.ru
Wed Oct 27 00:59:19 CDT 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Add proper prototypes for GetClassLongPtrA/W for _WIN64 case.

--- cvs/hq/wine/include/winuser.h	Sun Oct 24 01:57:10 2004
+++ wine/include/winuser.h	Wed Oct 27 05:52:48 2004
@@ -4140,8 +4140,13 @@ BOOL      WINAPI GetClassInfoExW(HINSTAN
 LONG        WINAPI GetClassLongA(HWND,INT);
 LONG        WINAPI GetClassLongW(HWND,INT);
 #define     GetClassLong WINELIB_NAME_AW(GetClassLong)
+#ifdef _WIN64
+LONG_PTR    WINAPI GetClassLongPtrA(HWND,INT);
+LONG_PTR    WINAPI GetClassLongPtrW(HWND,INT);
+#else
 #define     GetClassLongPtrA GetClassLongA
 #define     GetClassLongPtrW GetClassLongW
+#endif
 #define     GetClassLongPtr WINELIB_NAME_AW(GetClassLongPtr)
 INT         WINAPI GetClassNameA(HWND,LPSTR,INT);
 INT         WINAPI GetClassNameW(HWND,LPWSTR,INT);






More information about the wine-patches mailing list