]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/winuser.h (GWLP_*,DWLP_*): Add missing constants.
authorDanny Smith <dannysmith@users.sourceforge.net>
Sun, 27 Jan 2002 23:42:49 +0000 (23:42 +0000)
committerDanny Smith <dannysmith@users.sourceforge.net>
Sun, 27 Jan 2002 23:42:49 +0000 (23:42 +0000)
(GetWindowLongPtr[AW], SetWindowLongPtr[AW]): Map them to
{Get Set}WindowLong[AW], as in Win32 they are equivalent.
(GetWindowLongPtr, SetWindowLongPtr): Add Unicode mappings.

winsup/w32api/ChangeLog
winsup/w32api/include/winuser.h

index d8f61d86548b8ce6463e40b0fa64e290f4e00f9e..262120c10aace5f54b3167cb29c3f7b94d4fffb2 100644 (file)
@@ -1,6 +1,13 @@
+2002-01-28  Mattia Barbon  <mbarbon@users.sourceforge.net>
+
+       * include/winuser.h (GWLP_*,DWLP_*): Add missing constants.
+       (GetWindowLongPtr[AW], SetWindowLongPtr[AW]): Map them to
+       {Get Set}WindowLong[AW], as in Win32 they are equivalent.
+       (GetWindowLongPtr, SetWindowLongPtr): Add Unicode mappings.
+
 2002-01-28  Danny Smith  <dannysmith@users.sourceforge.net>
 
-       * lib/test.c: Include wsnetbsd.h.
+       * lib/test.c: Include wsnetbs.h.
 
 2002-01-28  Kai Henningsen  <kai-henningsen@users.sourceforge.net>
 
index 496861c4e274761443ca546ef60342a8728199ff..3517ea5f45199802631aa1adbe07cbae6eda3b5e 100644 (file)
@@ -701,13 +701,21 @@ extern "C" {
 #define GWL_EXSTYLE (-20)
 #define GWL_STYLE (-16)
 #define GWL_WNDPROC (-4)
+#define GWLP_WNDPROC (-4)
 #define GWL_HINSTANCE (-6)
+#define GWLP_HINSTANCE (-6)
 #define GWL_HWNDPARENT (-8)
+#define GWLP_HWNDPARENT (-8)
 #define GWL_ID (-12)
+#define GWLP_ID (-12)
 #define GWL_USERDATA (-21)
+#define GWLP_USERDATA (-21)
 #define DWL_DLGPROC 4
+#define DWLP_DLGPROC 4
 #define DWL_MSGRESULT 0
+#define DWLP_MSGRESULT 0
 #define DWL_USER 8
+#define DWLP_USER 8
 #define QS_ALLEVENTS 191
 #define QS_ALLINPUT 255
 #define QS_HOTKEY 128
@@ -2846,6 +2854,8 @@ 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);
+#define GetWindowLongPtrA GetWindowLongA
+#define GetWindowLongPtrW GetWindowLongW
 HDESK WINAPI GetThreadDesktop(DWORD);
 HWND WINAPI GetTopWindow(HWND);
 BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL);
@@ -3063,6 +3073,8 @@ 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);
+#define SetWindowLongPtrA SetWindowLongA
+#define SetWindowLongPtrW SetWindowLongW
 BOOL WINAPI SetWindowPlacement(HWND hWnd,const WINDOWPLACEMENT*);
 BOOL WINAPI SetWindowPos(HWND,HWND,int,int,int,int,UINT);
 int WINAPI SetWindowRgn(HWND,HRGN,BOOL);
@@ -3210,6 +3222,7 @@ typedef MULTIKEYHELPW MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
 #define GetTabbedTextExtent GetTabbedTextExtentW
 #define GetUserObjectInformation GetUserObjectInformationW
 #define GetWindowLong GetWindowLongW
+#define GetWindowLongPtr GetWindowLongPtrW
 #define GetWindowText GetWindowTextW
 #define GetWindowTextLength GetWindowTextLengthW
 #define GetAltTabInfo GetAltTabInfoW
@@ -3262,6 +3275,7 @@ typedef MULTIKEYHELPW MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
 #define SetProp SetPropW
 #define SetUserObjectInformation SetUserObjectInformationW
 #define SetWindowLong SetWindowLongW
+#define SetWindowLongPtr SetWindowLongPtrW
 #define SetWindowsHook SetWindowsHookW
 #define SetWindowsHookEx SetWindowsHookExW
 #define SetWindowText SetWindowTextW
@@ -3361,6 +3375,7 @@ typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
 #define GetTabbedTextExtent GetTabbedTextExtentA
 #define GetUserObjectInformation GetUserObjectInformationA
 #define GetWindowLong GetWindowLongA
+#define GetWindowLongPtr GetWindowLongPtrA
 #define GetWindowText GetWindowTextA
 #define GetWindowTextLength GetWindowTextLengthA
 #define GetAltTabInfo GetAltTabInfoA
@@ -3413,6 +3428,7 @@ typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
 #define SetProp SetPropA
 #define SetUserObjectInformation SetUserObjectInformationA
 #define SetWindowLong SetWindowLongA
+#define SetWindowLongPtr SetWindowLongPtrA
 #define SetWindowsHook SetWindowsHookA
 #define SetWindowsHookEx SetWindowsHookExA
 #define SetWindowText SetWindowTextA
This page took 0.04284 seconds and 5 git commands to generate.