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
7bc4ca5b
Commit
7bc4ca5b
authored
Aug 17, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 17, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wow64win: Fix NtUserGetMenuBarInfo thunk.
parent
bb9bede0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
user.c
dlls/wow64win/user.c
+8
-7
No files found.
dlls/wow64win/user.c
View file @
7bc4ca5b
...
...
@@ -2091,12 +2091,13 @@ NTSTATUS WINAPI wow64_NtUserGetMenuBarInfo( UINT *args )
}
info
.
cbSize
=
sizeof
(
info
);
info
.
rcBar
=
info32
->
rcBar
;
info
.
hMenu
=
UlongToHandle
(
info32
->
hMenu
);
info
.
hwndMenu
=
UlongToHandle
(
info32
->
hwndMenu
);
info
.
fBarFocused
=
info32
->
fBarFocused
;
info
.
fFocused
=
info32
->
fFocused
;
return
NtUserGetMenuBarInfo
(
hwnd
,
id
,
item
,
&
info
);
if
(
!
NtUserGetMenuBarInfo
(
hwnd
,
id
,
item
,
&
info
))
return
FALSE
;
info32
->
rcBar
=
info
.
rcBar
;
info32
->
hMenu
=
HandleToUlong
(
info
.
hMenu
);
info32
->
hwndMenu
=
HandleToUlong
(
info
.
hwndMenu
);
info32
->
fBarFocused
=
info
.
fBarFocused
;
info32
->
fFocused
=
info
.
fFocused
;
return
TRUE
;
}
NTSTATUS
WINAPI
wow64_NtUserGetMenuItemRect
(
UINT
*
args
)
...
...
@@ -2136,7 +2137,7 @@ NTSTATUS WINAPI wow64_NtUserGetMouseMovePointsEx( UINT *args )
if
(
size
!=
sizeof
(
MOUSEMOVEPOINT32
)
||
count
<
0
||
count
>
ARRAYSIZE
(
ptin
))
{
RtlSetLastWin32Error
(
ERROR_INVALID_PARAMETER
);
set_last_error32
(
ERROR_INVALID_PARAMETER
);
return
-
1
;
}
...
...
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