HMSetMenuResID
short menuID ; the menu to associate with the 'hmnu' resource.
short resID; the resource ID of the 'hmnu' resource
resource for a menu that did not previously have one or to supplement
the existing 'hmnu' resource for a menu.
menuID specifies the menu to associate with the 'hmnu' resource. The menu
identified by the menuID parameter should correspond to an existing
menu in your menu list. The Help Manager maintains a list of the menus whose 'hmnu' resources you map (set or override) using the
resID specifies the resource ID of the 'hmnu' resource to use for the menu
specified by the menuID parameter. Specify -1 in the resID
parameter to unmap the pairing of a particular menu and 'hmnu'
function. You should unmap any resource IDs before your application
quits.
noErr (0) No error
memFullErr (-108) Not enough room in heap zone