SetMenu function user32

int SetMenu(
  1. int hWnd,
  2. int hMenu
)

Assigns a new menu to the specified window.

BOOL SetMenu(
  [in]           HWND  hWnd,
  [in, optional] HMENU hMenu
);

Implementation

int SetMenu(int hWnd, int hMenu) => _SetMenu(hWnd, hMenu);