Skip to content

UnsafeNativeMethods.IsValidWindow(nint) method

Defined in

Type: UnsafeNativeMethods Namespace: CrissCross.WPF.UI.Interop Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static bool IsValidWindow(nint hWnd)

Summary: Checks if provided pointer represents existing window.

Parameters

NameTypeDescription
hWndnint--

Returns: bool