GetSystemMenu function Null safety user32

int GetSystemMenu(
  1. int hWnd,
  2. int bRevert
)

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);