HMGetMenuResID
HMGetMenuResID Get information about the menus
#include <Balloons.h> Help Manager
OSErr HMGetMenuResID(menuID, resID);
short menuID ; the menu for which you want the mapped resource
ID.
short *resID; the resource ID of the mapped 'hmnu' resource
You can use the HMGetMenuResID function to get information about
the menus you have mapped with the HMSetMenuResID function.
menuID specifies the menu for which you want the mapped resource ID. The
value specified in the menuID parameter must have been previously
mapped using the HMSetMenuResID function.
resID the resource ID of the mapped 'hmnu' resource associated with the
menu specified by the menuID parameter. If the menu does not have an
'hmnu' resource that was previously mapped by calling
HMSetMenuResID, the HMGetMenuResID function returns -1
in the resID parameter and a nonzero result code.
Returns: an Error Code.
noErr (0) No error
resNotFound (-192) Unable to read resource