diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-01-28 01:31:00 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-01-28 01:31:00 +0000 |
commit | 3be1ef991bfd32f6862b9cbd47071557dd7bfe92 (patch) | |
tree | 38d5571a00360d0d25fa1e5a134f8c2027c607d3 | |
parent | 28a632779a92c34f8048566c0426b936bc3ba348 (diff) | |
download | newlib-3be1ef991bfd32f6862b9cbd47071557dd7bfe92.zip newlib-3be1ef991bfd32f6862b9cbd47071557dd7bfe92.tar.gz newlib-3be1ef991bfd32f6862b9cbd47071557dd7bfe92.tar.bz2 |
* include/winuser.h (GetWindowLongPtr[AW],
SetWindowLongPtr[AW]): Add prototypes for _WIN64.
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/winuser.h | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 262120c..42e3c0c 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2002-01-28 Danny Smith <dannysmith@users.sourceforge.net> + + * include/winuser.h (GetWindowLongPtr[AW], + SetWindowLongPtr[AW]): Add prototypes for _WIN64. + 2002-01-28 Mattia Barbon <mbarbon@users.sourceforge.net> * include/winuser.h (GWLP_*,DWLP_*): Add missing constants. diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h index 3517ea5..5b37550 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); |