Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-01-28 04:31:00 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2002-01-28 04:31:00 +0300
commit3be1ef991bfd32f6862b9cbd47071557dd7bfe92 (patch)
tree38d5571a00360d0d25fa1e5a134f8c2027c607d3
parent28a632779a92c34f8048566c0426b936bc3ba348 (diff)
* include/winuser.h (GetWindowLongPtr[AW],
SetWindowLongPtr[AW]): Add prototypes for _WIN64.
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/winuser.h10
2 files changed, 15 insertions, 0 deletions
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 <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 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);