From 3be1ef991bfd32f6862b9cbd47071557dd7bfe92 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 28 Jan 2002 01:31:00 +0000 Subject: [PATCH] * include/winuser.h (GetWindowLongPtr[AW], SetWindowLongPtr[AW]): Add prototypes for _WIN64. --- winsup/w32api/ChangeLog | 5 +++++ winsup/w32api/include/winuser.h | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 262120c10..42e3c0c58 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2002-01-28 Danny Smith + + * include/winuser.h (GetWindowLongPtr[AW], + SetWindowLongPtr[AW]): Add prototypes for _WIN64. + 2002-01-28 Mattia Barbon * include/winuser.h (GWLP_*,DWLP_*): Add missing constants. diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h index 3517ea5f4..5b3755061 100644 --- a/winsup/w32api/include/winuser.h +++ b/winsup/w32api/include/winuser.h @@ -2854,8 +2854,13 @@ DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT); DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT); LONG WINAPI GetWindowLongA(HWND,int); LONG WINAPI GetWindowLongW(HWND,int); +#ifdef _WIN64 +LONG_PTR WINAPI GetWindowLongPtrA(HWND,int); +LONG_PTR WINAPI GetWindowLongPtrW(HWND,int); +#else #define GetWindowLongPtrA GetWindowLongA #define GetWindowLongPtrW GetWindowLongW +#endif HDESK WINAPI GetThreadDesktop(DWORD); HWND WINAPI GetTopWindow(HWND); BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL); @@ -3073,8 +3078,13 @@ BOOL WINAPI SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIP BOOL WINAPI SetWindowContextHelpId(HWND,DWORD); LONG WINAPI SetWindowLongA(HWND,int,LONG); LONG WINAPI SetWindowLongW(HWND,int,LONG); +#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 BOOL WINAPI SetWindowPlacement(HWND hWnd,const WINDOWPLACEMENT*); BOOL WINAPI SetWindowPos(HWND,HWND,int,int,int,int,UINT); int WINAPI SetWindowRgn(HWND,HRGN,BOOL);