GetSystemMenu function user32
Enables the application to access the window menu (also known as the system menu or the control menu) for copying and modifying.
HMENU GetSystemMenu(
HWND hWnd,
BOOL bRevert
);
Implementation
int GetSystemMenu(int hWnd, int bRevert) => _GetSystemMenu(hWnd, bRevert);