win32gui.GetSystemMenu

int = GetSystemMenu(hwnd, bRevert )

Parameters

hwnd : int

The handle to the window

bRevert : int

Return Value

The result is a HMENU to the menu.