User32IsHungAppWindow(IntPtr) Method

Determines whether the system considers that a specified application is not responding. An application is considered to be not responding if it is not waiting for input, is not in startup processing, and has not called PeekMessage within the internal timeout period of 5 seconds.

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", SetLastError = true)]
public static bool IsHungAppWindow(
	IntPtr hWnd
)

Parameters

hWnd  IntPtr
A handle to the window to be tested.

Return Value

Boolean
The return value is if the window stops responding; otherwise, it is .

Ghost windows always return TRUE

Remarks

See Also