User32GetSystemMenu(IntPtr, Boolean) Method
Gets the handle of the form's system menu.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("User32.dll">]
Public Shared Function GetSystemMenu (
hWnd As IntPtr,
bRevert As Boolean
) As IntPtr
Dim hWnd As IntPtr
Dim bRevert As Boolean
Dim returnValue As IntPtr
returnValue = User32.GetSystemMenu(hWnd,
bRevert)
public:
[DllImportAttribute(L"User32.dll")]
static IntPtr GetSystemMenu(
IntPtr hWnd,
bool bRevert
)
[<DllImportAttribute("User32.dll")>]
static member GetSystemMenu :
hWnd : IntPtr *
bRevert : bool -> IntPtr
No code example is currently available or this language may not be supported.
- 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.
IntPtr
The handle of the system menu of the specified form.