Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5719c13f
Commit
5719c13f
authored
Sep 29, 2002
by
György 'Nog' Jeney
Committed by
Alexandre Julliard
Sep 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added {G|S}etWindowLongPtr.
parent
dfacb6ef
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
winuser.h
include/winuser.h
+16
-0
No files found.
include/winuser.h
View file @
5719c13f
...
...
@@ -1346,6 +1346,16 @@ typedef struct {
#define DWL_DLGPROC 4
#define DWL_USER 8
/* Offsets for GetWindowLongPtr() and SetWindowLongPtr() */
#define GWLP_USERDATA (-21)
#define GWLP_ID (-12)
#define GWLP_HWNDPARENT (-8)
#define GWLP_HINSTANCE (-6)
#define GWLP_WNDPROC (-4)
#define DWLP_MSGRESULT 0
#define DWLP_DLGPROC DWLP_MSGRESULT + sizeof(LRESULT)
#define DWLP_USER DWLP_DLGPROC + sizeof(DLGPROC)
/* GetWindow() constants */
#define GW_HWNDFIRST 0
#define GW_HWNDLAST 1
...
...
@@ -4114,6 +4124,9 @@ BOOL WINAPI GetWindowInfo(HWND, PWINDOWINFO);
LONG
WINAPI
GetWindowLongA
(
HWND
,
INT
);
LONG
WINAPI
GetWindowLongW
(
HWND
,
INT
);
#define GetWindowLong WINELIB_NAME_AW(GetWindowLong)
#define GetWindowLongPtrA GetWindowLongA
#define GetWindowLongPtrW GetWindowLongW
#define GetWindowLongPtr WINELIB_NAME_AW(GetWindowLongPtr)
BOOL
WINAPI
GetWindowPlacement
(
HWND
,
LPWINDOWPLACEMENT
);
BOOL
WINAPI
GetWindowRect
(
HWND
,
LPRECT
);
INT
WINAPI
GetWindowRgn
(
HWND
,
HRGN
);
...
...
@@ -4326,6 +4339,9 @@ BOOL WINAPI SetUserObjectSecurity(HANDLE,PSECURITY_INFORMATION,PSECURITY_
LONG
WINAPI
SetWindowLongA
(
HWND
,
INT
,
LONG
);
LONG
WINAPI
SetWindowLongW
(
HWND
,
INT
,
LONG
);
#define SetWindowLong WINELIB_NAME_AW(SetWindowLong)
#define SetWindowLongPtrA SetWindowLongA
#define SetWindowLongPtrW SetWindowLongW
#define SetWindowLongPtr WINELIB_NAME_AW(SetWindowLongPtr)
BOOL
WINAPI
SetWindowPlacement
(
HWND
,
const
WINDOWPLACEMENT
*
);
HHOOK
WINAPI
SetWindowsHookA
(
INT
,
HOOKPROC
);
HHOOK
WINAPI
SetWindowsHookW
(
INT
,
HOOKPROC
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment