# Function Reference

# _GUICtrlMenu_LoadMenu

Loads the specified menu resource from the executable file associated with an application instance

#include <GuiMenu.au3>
_GUICtrlMenu_LoadMenu ( $hInst, $sMenuName )

## Parameters

$hInst | Handle to the module containing the menu resource to be loaded
$sMenuName | String that contains the name of the menu resource. Alternatively, this parameter can consist of the resource identifier in the low order word and 0 in the high order word.

## Return Value

Success: | the handle to the menu resource.
Failure: | 0.

## See Also

Search LoadMenu in MSDN Library.