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
07519aa1
Commit
07519aa1
authored
Sep 23, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Sep 23, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't define GWL_USERDATA, GWL_ID, GWL_HWNDPARENT, GWL_HINSTANCE and
GWL_WNDPROC when compiling the Wine source.
parent
d696f21b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
ordinal.c
dlls/shlwapi/ordinal.c
+2
-2
dialogs.c
dlls/wininet/dialogs.c
+2
-2
winuser.h
include/winuser.h
+7
-5
No files found.
dlls/shlwapi/ordinal.c
View file @
07519aa1
...
...
@@ -2438,7 +2438,7 @@ HWND WINAPI SHCreateWorkerWindowA(LONG wndProc, HWND hWndParent, DWORD dwExStyle
SetWindowLongA
(
hWnd
,
DWL_MSGRESULT
,
z
);
if
(
wndProc
)
SetWindowLong
A
(
hWnd
,
GWL
_WNDPROC
,
wndProc
);
SetWindowLong
PtrA
(
hWnd
,
GWLP
_WNDPROC
,
wndProc
);
}
return
hWnd
;
}
...
...
@@ -2725,7 +2725,7 @@ HWND WINAPI SHCreateWorkerWindowW(LONG wndProc, HWND hWndParent, DWORD dwExStyle
SetWindowLongA
(
hWnd
,
DWL_MSGRESULT
,
z
);
if
(
wndProc
)
SetWindowLong
A
(
hWnd
,
GWL
_WNDPROC
,
wndProc
);
SetWindowLong
PtrA
(
hWnd
,
GWLP
_WNDPROC
,
wndProc
);
}
return
hWnd
;
}
...
...
dlls/wininet/dialogs.c
View file @
07519aa1
...
...
@@ -248,7 +248,7 @@ static INT_PTR WINAPI WININET_ProxyPasswordDialog(
/* save the parameter list */
params
=
(
struct
WININET_ErrorDlgParams
*
)
lParam
;
SetWindowLong
W
(
hdlg
,
GWL
_USERDATA
,
lParam
);
SetWindowLong
PtrW
(
hdlg
,
GWLP
_USERDATA
,
lParam
);
/* extract the Realm from the proxy response and show it */
if
(
WININET_GetAuthRealm
(
params
->
hRequest
,
...
...
@@ -272,7 +272,7 @@ static INT_PTR WINAPI WININET_ProxyPasswordDialog(
}
params
=
(
struct
WININET_ErrorDlgParams
*
)
GetWindowLong
W
(
hdlg
,
GWL
_USERDATA
);
GetWindowLong
PtrW
(
hdlg
,
GWLP
_USERDATA
);
switch
(
uMsg
)
{
...
...
include/winuser.h
View file @
07519aa1
...
...
@@ -1344,13 +1344,15 @@ typedef struct {
#define WC_DIALOG WINELIB_NAME_AW(WC_DIALOG)
/* Offsets for GetWindowLong() and GetWindowWord() */
#define GWL_USERDATA (-21)
#define GWL_EXSTYLE (-20)
#define GWL_STYLE (-16)
#define GWL_ID (-12)
#define GWL_HWNDPARENT (-8)
#define GWL_HINSTANCE (-6)
#define GWL_WNDPROC (-4)
#ifndef __WINESRC__
# define GWL_USERDATA (-21)
# define GWL_ID (-12)
# define GWL_HWNDPARENT (-8)
# define GWL_HINSTANCE (-6)
# define GWL_WNDPROC (-4)
#endif
/* __WINESRC__ */
#define DWL_MSGRESULT 0
#define DWL_DLGPROC 4
#define DWL_USER 8
...
...
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