Closes the currently active menu. The current menu is the menu referenced from the last call to
ProMenuProcess(), and control returns from that call as a result of the call to ProMenuDeleteWithStatus(). The integer value supplied as an argument is returned from the call to
ProMenuProcess(). This can be used to distinguish several possible ways of closing a menu.
This function affects Menu-Manager (mode-specific) menus only.
The menu that becomes active after this one is closed is the menu immediately above it in the menu hierarchy. This is also the menu made active by the previous call to
ProMenuProcess().