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
46df584c
Commit
46df584c
authored
Dec 18, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Use 32-bit window extra size on wow64.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55582
parent
5cbe3a6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
class.c
dlls/win32u/class.c
+12
-8
No files found.
dlls/win32u/class.c
View file @
46df584c
...
...
@@ -1125,14 +1125,6 @@ static const struct builtin_class_descr builtin_classes[] =
.
extra
=
DLGWINDOWEXTRA
,
.
cursor
=
IDC_ARROW
,
},
/* edit */
{
.
name
=
"Edit"
,
.
style
=
CS_DBLCLKS
|
CS_PARENTDC
,
.
proc
=
WINPROC_EDIT
,
.
extra
=
sizeof
(
UINT64
),
.
cursor
=
IDC_IBEAM
,
},
/* icon title */
{
.
name
=
MAKEINTRESOURCEA
(
ICONTITLE_CLASS_ATOM
),
...
...
@@ -1233,7 +1225,19 @@ static void register_builtins(void)
ULONG
ret_len
,
i
;
void
*
ret_ptr
;
/* 64-bit Windows use sizeof(UINT64) for all processes, while 32-bit Windows use 6 for extra
* bytes size. Civilization II depends on the size being 6, so we use that even in wow64. */
const
struct
builtin_class_descr
edit_class
=
{
.
name
=
"Edit"
,
.
style
=
CS_DBLCLKS
|
CS_PARENTDC
,
.
proc
=
WINPROC_EDIT
,
.
extra
=
sizeof
(
void
*
)
==
4
||
NtCurrentTeb
()
->
WowTebOffset
?
6
:
sizeof
(
UINT64
),
.
cursor
=
IDC_IBEAM
,
};
for
(
i
=
0
;
i
<
ARRAYSIZE
(
builtin_classes
);
i
++
)
register_builtin
(
&
builtin_classes
[
i
]
);
register_builtin
(
&
edit_class
);
KeUserModeCallback
(
NtUserInitBuiltinClasses
,
NULL
,
0
,
&
ret_ptr
,
&
ret_len
);
}
...
...
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