template<class character> handle load_menu(handle module, const character* name)
This function loads a menu from a given module.
handle module
The handle of the executable module containing the menu resource.
const character* name
The resource identity of the menu or a pointer to the name of the menu resource to be loaded.
handle
null | The call failed. |
Other | The handle of the new menu. |
An error results when the resource is not found.
When no longer required, the menu may be destroyed via the function destroy_menu.