User32GetSystemMenu(IntPtr, Boolean) Method

Gets the handle of the form's system menu.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll")]
public static IntPtr GetSystemMenu(
	IntPtr hWnd,
	bool bRevert
)

Parameters

hWnd  IntPtr
The handle of the form for which to get the system menu.
bRevert  Boolean
Indicates whether the menu should be reset to its original state.

Return Value

IntPtr
The handle of the system menu of the specified form.

Remarks

See Also