GetMenuContextHelpId

The GetMenuContextHelpId function retrieves the help context identifier associated with the specified menu.

DWORD GetMenuContextHelpId(

HMENU hmenu
);  

Parameters

hmenu

Handle to the menu for which the help context identifier is to be retrieved.

Return Values

Returns the help context identifier if the menu has one or zero otherwise.

See Also

SetMenuContextHelpId