The SetMenuContextHelpId function associates a help context identifier with a menu. All items in the menu share this identifier. It is not possible to attach a help context identifier to the individual menu items.
BOOL SetMenuContextHelpId(
| HMENU hmenu, | |
| DWORD dwContextHelpId | |
| ); | 
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.