User32ShowWindowAsync(SafeHandle, NativeWindowState) Method
Sets the specified window's show state.
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", SetLastError = true)]
public static bool ShowWindowAsync(
SafeHandle hWnd,
NativeWindowState windowState
)
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function ShowWindowAsync (
hWnd As SafeHandle,
windowState As NativeWindowState
) As Boolean
Dim hWnd As SafeHandle
Dim windowState As NativeWindowState
Dim returnValue As Boolean
returnValue = User32.ShowWindowAsync(hWnd,
windowState)
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static bool ShowWindowAsync(
SafeHandle^ hWnd,
NativeWindowState windowState
)
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member ShowWindowAsync :
hWnd : SafeHandle *
windowState : NativeWindowState -> bool
No code example is currently available or this language may not be supported.
- hWnd SafeHandle
-
A IntPtr handle to the window.
- windowState NativeWindowState
-
Controls how the window is to be shown.
Boolean
If the asynchronous operation was successfully started, the return value is
.
Otherwise, the return value is
.