mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-28 20:15:24 +08:00
* 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.
This commit is contained in:
parent
a4f2440619
commit
28a632779a
@ -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>
|
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>
|
2002-01-28 Kai Henningsen <kai-henningsen@users.sourceforge.net>
|
||||||
|
|
||||||
|
@ -701,13 +701,21 @@ extern "C" {
|
|||||||
#define GWL_EXSTYLE (-20)
|
#define GWL_EXSTYLE (-20)
|
||||||
#define GWL_STYLE (-16)
|
#define GWL_STYLE (-16)
|
||||||
#define GWL_WNDPROC (-4)
|
#define GWL_WNDPROC (-4)
|
||||||
|
#define GWLP_WNDPROC (-4)
|
||||||
#define GWL_HINSTANCE (-6)
|
#define GWL_HINSTANCE (-6)
|
||||||
|
#define GWLP_HINSTANCE (-6)
|
||||||
#define GWL_HWNDPARENT (-8)
|
#define GWL_HWNDPARENT (-8)
|
||||||
|
#define GWLP_HWNDPARENT (-8)
|
||||||
#define GWL_ID (-12)
|
#define GWL_ID (-12)
|
||||||
|
#define GWLP_ID (-12)
|
||||||
#define GWL_USERDATA (-21)
|
#define GWL_USERDATA (-21)
|
||||||
|
#define GWLP_USERDATA (-21)
|
||||||
#define DWL_DLGPROC 4
|
#define DWL_DLGPROC 4
|
||||||
|
#define DWLP_DLGPROC 4
|
||||||
#define DWL_MSGRESULT 0
|
#define DWL_MSGRESULT 0
|
||||||
|
#define DWLP_MSGRESULT 0
|
||||||
#define DWL_USER 8
|
#define DWL_USER 8
|
||||||
|
#define DWLP_USER 8
|
||||||
#define QS_ALLEVENTS 191
|
#define QS_ALLEVENTS 191
|
||||||
#define QS_ALLINPUT 255
|
#define QS_ALLINPUT 255
|
||||||
#define QS_HOTKEY 128
|
#define QS_HOTKEY 128
|
||||||
@ -2846,6 +2854,8 @@ DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT);
|
|||||||
DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT);
|
DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT);
|
||||||
LONG WINAPI GetWindowLongA(HWND,int);
|
LONG WINAPI GetWindowLongA(HWND,int);
|
||||||
LONG WINAPI GetWindowLongW(HWND,int);
|
LONG WINAPI GetWindowLongW(HWND,int);
|
||||||
|
#define GetWindowLongPtrA GetWindowLongA
|
||||||
|
#define GetWindowLongPtrW GetWindowLongW
|
||||||
HDESK WINAPI GetThreadDesktop(DWORD);
|
HDESK WINAPI GetThreadDesktop(DWORD);
|
||||||
HWND WINAPI GetTopWindow(HWND);
|
HWND WINAPI GetTopWindow(HWND);
|
||||||
BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL);
|
BOOL WINAPI GetUpdateRect(HWND,LPRECT,BOOL);
|
||||||
@ -3063,6 +3073,8 @@ BOOL WINAPI SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_DESCRIP
|
|||||||
BOOL WINAPI SetWindowContextHelpId(HWND,DWORD);
|
BOOL WINAPI SetWindowContextHelpId(HWND,DWORD);
|
||||||
LONG WINAPI SetWindowLongA(HWND,int,LONG);
|
LONG WINAPI SetWindowLongA(HWND,int,LONG);
|
||||||
LONG WINAPI SetWindowLongW(HWND,int,LONG);
|
LONG WINAPI SetWindowLongW(HWND,int,LONG);
|
||||||
|
#define SetWindowLongPtrA SetWindowLongA
|
||||||
|
#define SetWindowLongPtrW SetWindowLongW
|
||||||
BOOL WINAPI SetWindowPlacement(HWND hWnd,const WINDOWPLACEMENT*);
|
BOOL WINAPI SetWindowPlacement(HWND hWnd,const WINDOWPLACEMENT*);
|
||||||
BOOL WINAPI SetWindowPos(HWND,HWND,int,int,int,int,UINT);
|
BOOL WINAPI SetWindowPos(HWND,HWND,int,int,int,int,UINT);
|
||||||
int WINAPI SetWindowRgn(HWND,HRGN,BOOL);
|
int WINAPI SetWindowRgn(HWND,HRGN,BOOL);
|
||||||
@ -3210,6 +3222,7 @@ typedef MULTIKEYHELPW MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
|
|||||||
#define GetTabbedTextExtent GetTabbedTextExtentW
|
#define GetTabbedTextExtent GetTabbedTextExtentW
|
||||||
#define GetUserObjectInformation GetUserObjectInformationW
|
#define GetUserObjectInformation GetUserObjectInformationW
|
||||||
#define GetWindowLong GetWindowLongW
|
#define GetWindowLong GetWindowLongW
|
||||||
|
#define GetWindowLongPtr GetWindowLongPtrW
|
||||||
#define GetWindowText GetWindowTextW
|
#define GetWindowText GetWindowTextW
|
||||||
#define GetWindowTextLength GetWindowTextLengthW
|
#define GetWindowTextLength GetWindowTextLengthW
|
||||||
#define GetAltTabInfo GetAltTabInfoW
|
#define GetAltTabInfo GetAltTabInfoW
|
||||||
@ -3262,6 +3275,7 @@ typedef MULTIKEYHELPW MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
|
|||||||
#define SetProp SetPropW
|
#define SetProp SetPropW
|
||||||
#define SetUserObjectInformation SetUserObjectInformationW
|
#define SetUserObjectInformation SetUserObjectInformationW
|
||||||
#define SetWindowLong SetWindowLongW
|
#define SetWindowLong SetWindowLongW
|
||||||
|
#define SetWindowLongPtr SetWindowLongPtrW
|
||||||
#define SetWindowsHook SetWindowsHookW
|
#define SetWindowsHook SetWindowsHookW
|
||||||
#define SetWindowsHookEx SetWindowsHookExW
|
#define SetWindowsHookEx SetWindowsHookExW
|
||||||
#define SetWindowText SetWindowTextW
|
#define SetWindowText SetWindowTextW
|
||||||
@ -3361,6 +3375,7 @@ typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
|
|||||||
#define GetTabbedTextExtent GetTabbedTextExtentA
|
#define GetTabbedTextExtent GetTabbedTextExtentA
|
||||||
#define GetUserObjectInformation GetUserObjectInformationA
|
#define GetUserObjectInformation GetUserObjectInformationA
|
||||||
#define GetWindowLong GetWindowLongA
|
#define GetWindowLong GetWindowLongA
|
||||||
|
#define GetWindowLongPtr GetWindowLongPtrA
|
||||||
#define GetWindowText GetWindowTextA
|
#define GetWindowText GetWindowTextA
|
||||||
#define GetWindowTextLength GetWindowTextLengthA
|
#define GetWindowTextLength GetWindowTextLengthA
|
||||||
#define GetAltTabInfo GetAltTabInfoA
|
#define GetAltTabInfo GetAltTabInfoA
|
||||||
@ -3413,6 +3428,7 @@ typedef MULTIKEYHELPA MULTIKEYHELP,*PMULTIKEYHELP,*LPMULTIKEYHELP;
|
|||||||
#define SetProp SetPropA
|
#define SetProp SetPropA
|
||||||
#define SetUserObjectInformation SetUserObjectInformationA
|
#define SetUserObjectInformation SetUserObjectInformationA
|
||||||
#define SetWindowLong SetWindowLongA
|
#define SetWindowLong SetWindowLongA
|
||||||
|
#define SetWindowLongPtr SetWindowLongPtrA
|
||||||
#define SetWindowsHook SetWindowsHookA
|
#define SetWindowsHook SetWindowsHookA
|
||||||
#define SetWindowsHookEx SetWindowsHookExA
|
#define SetWindowsHookEx SetWindowsHookExA
|
||||||
#define SetWindowText SetWindowTextA
|
#define SetWindowText SetWindowTextA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user