DisposeMenu
DisposeMenu Release memory menu created via NewMenu
#include <Menus.h> Menu Manager
void DisposeMenu(theMenu );
MenuHandle theMenu ; Handle of a menu created via NewMenu
This disposes of the memory used by a menu allocated via NewMenu. Use
this after deleting the menu (via DeleteMenu) when you no longer need it.
theMenu is a handle leading to a variable-length MenuInfo structure. This
must be a handle obtained via NewMenu.
Returns: none

Notes: This function is useful when your application creates and disposes of
temporary menus. Remember to delete the menu from the menu list (via
DeleteMenu) before disposing of it.
For menus that have been read from a resource (see GetMenu), use
ReleaseResource rather than this function.