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
eda3732a
Commit
eda3732a
authored
Jun 11, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Reimplement GetMenuContextHelpId on top of GetMenuInfo.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
parent
d4b8ca78
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
menu.c
dlls/user32/menu.c
+6
-13
No files found.
dlls/user32/menu.c
View file @
eda3732a
...
...
@@ -4309,20 +4309,13 @@ BOOL WINAPI GetMenuInfo( HMENU menu, MENUINFO *info )
/**********************************************************************
* GetMenuContextHelpId (USER32.@)
*/
DWORD
WINAPI
GetMenuContextHelpId
(
HMENU
hM
enu
)
DWORD
WINAPI
GetMenuContextHelpId
(
HMENU
m
enu
)
{
DWORD
help_id
=
0
;
POPUPMENU
*
menu
;
TRACE
(
"(%p)
\n
"
,
hMenu
);
if
((
menu
=
grab_menu_ptr
(
hMenu
)))
{
help_id
=
menu
->
dwContextHelpID
;
release_menu_ptr
(
menu
);
}
return
help_id
;
MENUINFO
info
;
TRACE
(
"(%p)
\n
"
,
menu
);
info
.
cbSize
=
sizeof
(
info
);
info
.
fMask
=
MIM_HELPID
;
return
GetMenuInfo
(
menu
,
&
info
)
?
info
.
dwContextHelpID
:
0
;
}
/**********************************************************************
...
...
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