Scroll to navigation

GetMenuPosFromID(3w) Wine API GetMenuPosFromID(3w)

NAME

GetMenuPosFromID (SHLWAPI.@)

SYNOPSIS

INT GetMenuPosFromID
(
HMENU hMenu,
UINT wID
)
 

DESCRIPTION

Return the position of a menu item from its Id.
 

PARAMS

hMenu [In] Menu containing the item.
wID [In] Id of the menu item.
 

RETURNS

Success: The index of the menu item in hMenu.
Failure: -1, If the item is not found.
 

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.
Implemented in "dlls/shlwapi/ordinal.c".
Debug channel "shell".
Oct 2012 Wine API