GetMenu function user32

HMENU GetMenu(
  1. HWND hWnd
)

Retrieves a handle to the menu assigned to the specified window.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getmenu.

Implementation

@pragma('vm:prefer-inline')
HMENU GetMenu(HWND hWnd) => HMENU(_GetMenu(hWnd));