DisposeMenu
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.
Notes: This function is useful when your application creates and disposes of
temporary menus. Remember to delete the menu from the menu list (via
For menus that have been read from a resource (see GetMenu), use