Creates a Menu from a MenuStyle. The Handle must be closed with CloseHandle().
Menu CreateMenuEx(Handle hStyle, MenuHandler handler, MenuAction actions)
MenuStyle Handle, or INVALID_HANDLE to use the default style.
Function which will receive menu actions.
Optionally set which actions to receive. Select, Cancel, and End will always be received regardless of whether they are set or not. They are also the only default actions.
A new menu Handle.
Invalid Handle other than INVALID_HANDLE.