GetMenuContextHelpId function (winuser.h)

Retrieves the Help context identifier associated with the specified menu.

Syntax

DWORD GetMenuContextHelpId(
  HMENU unnamedParam1
);

Parameters

unnamedParam1

Type: HMENU

A handle to the menu for which the Help context identifier is to be retrieved.

Return value

Type: DWORD

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

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winuser.h
Library User32.lib
DLL User32.dll

See also

SetMenuContextHelpId