Add prototypes for GetWindowLongPtr/SetWindowLongPtr
Dmitry Timoshkov
dmitry at baikal.ru
Wed Oct 6 01:52:22 CDT 2004
Hello,
Changelog:
Dmitry Timoshkov <dmitry at codeweavers.com>
Add prototypes for GetWindowLongPtr/SetWindowLongPtr.
--- cvs/hq/wine/include/winuser.h Fri Sep 24 00:56:18 2004
+++ wine/include/winuser.h Wed Oct 06 06:41:54 2004
@@ -4234,9 +4234,16 @@ BOOL WINAPI GetWindowInfo(HWND, P
LONG WINAPI GetWindowLongA(HWND,INT);
LONG WINAPI GetWindowLongW(HWND,INT);
#define GetWindowLong WINELIB_NAME_AW(GetWindowLong)
+
+#ifdef _WIN64
+LONG_PTR WINAPI GetWindowLongPtrA(HWND,INT);
+LONG_PTR WINAPI GetWindowLongPtrW(HWND,INT);
+#else
#define GetWindowLongPtrA GetWindowLongA
#define GetWindowLongPtrW GetWindowLongW
+#endif
#define GetWindowLongPtr WINELIB_NAME_AW(GetWindowLongPtr)
+
UINT WINAPI GetWindowModuleFileNameA(HWND,LPSTR,UINT);
UINT WINAPI GetWindowModuleFileNameW(HWND,LPWSTR,UINT);
#define GetWindowModuleFileName WINELIB_NAME_AW(GetWindowModuleFileName)
@@ -4460,9 +4467,16 @@ BOOL WINAPI SetUserObjectSecurity
LONG WINAPI SetWindowLongA(HWND,INT,LONG);
LONG WINAPI SetWindowLongW(HWND,INT,LONG);
#define SetWindowLong WINELIB_NAME_AW(SetWindowLong)
+
+#ifdef _WIN64
+LONG_PTR WINAPI SetWindowLongPtrA(HWND,INT,LONG_PTR);
+LONG_PTR WINAPI SetWindowLongPtrW(HWND,INT,LONG_PTR);
+#else
#define SetWindowLongPtrA SetWindowLongA
#define SetWindowLongPtrW SetWindowLongW
+#endif
#define SetWindowLongPtr WINELIB_NAME_AW(SetWindowLongPtr)
+
BOOL WINAPI SetWindowPlacement(HWND,const WINDOWPLACEMENT*);
HHOOK WINAPI SetWindowsHookA(INT,HOOKPROC);
HHOOK WINAPI SetWindowsHookW(INT,HOOKPROC);
More information about the wine-patches
mailing list