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". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/ordinal.c

Debug channel "shell".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.