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
ed8cf75a
Commit
ed8cf75a
authored
Mar 26, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Mar 28, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Compile some functions only on 64-bit architectures.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d5400817
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
class.c
dlls/user32/class.c
+4
-0
win.c
dlls/user32/win.c
+3
-0
No files found.
dlls/user32/class.c
View file @
ed8cf75a
...
@@ -763,6 +763,8 @@ BOOL16 WINAPI ClassNext16( CLASSENTRY *pClassEntry )
...
@@ -763,6 +763,8 @@ BOOL16 WINAPI ClassNext16( CLASSENTRY *pClassEntry )
}
}
#endif
#endif
#ifdef _WIN64
/* 64bit versions */
/* 64bit versions */
#undef GetClassLongPtrA
#undef GetClassLongPtrA
...
@@ -803,3 +805,5 @@ ULONG_PTR WINAPI SetClassLongPtrA( HWND hwnd, INT offset, LONG_PTR newval )
...
@@ -803,3 +805,5 @@ ULONG_PTR WINAPI SetClassLongPtrA( HWND hwnd, INT offset, LONG_PTR newval )
if
(
offset
==
GCLP_MENUNAME
)
return
set_menu_nameA
(
hwnd
,
offset
,
newval
);
if
(
offset
==
GCLP_MENUNAME
)
return
set_menu_nameA
(
hwnd
,
offset
,
newval
);
return
NtUserSetClassLongPtr
(
hwnd
,
offset
,
newval
,
TRUE
);
return
NtUserSetClassLongPtr
(
hwnd
,
offset
,
newval
,
TRUE
);
}
}
#endif
/* _WIN64 */
dlls/user32/win.c
View file @
ed8cf75a
...
@@ -1828,6 +1828,7 @@ BOOL WINAPI SetProcessDefaultLayout( DWORD layout )
...
@@ -1828,6 +1828,7 @@ BOOL WINAPI SetProcessDefaultLayout( DWORD layout )
return
TRUE
;
return
TRUE
;
}
}
#ifdef _WIN64
/* 64bit versions */
/* 64bit versions */
...
@@ -1868,6 +1869,8 @@ LONG_PTR WINAPI SetWindowLongPtrA( HWND hwnd, INT offset, LONG_PTR newval )
...
@@ -1868,6 +1869,8 @@ LONG_PTR WINAPI SetWindowLongPtrA( HWND hwnd, INT offset, LONG_PTR newval )
return
NtUserSetWindowLongPtr
(
hwnd
,
offset
,
newval
,
TRUE
);
return
NtUserSetWindowLongPtr
(
hwnd
,
offset
,
newval
,
TRUE
);
}
}
#endif
/* _WIN64 */
/*****************************************************************************
/*****************************************************************************
* RegisterTouchWindow (USER32.@)
* RegisterTouchWindow (USER32.@)
*/
*/
...
...
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