Click or drag to resize
Xcalibur Systems LLC Logo

WindowHelperIsHungAppWindow 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.

IsHungAppWindow function


Namespace: Xcalibur.NativeMethods.V2.Windows
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("user32.dll")]
public static bool IsHungAppWindow(
	IntPtr windowHandle
)

Parameters

windowHandle  IntPtr
A handle to the window to be tested.

Return Value

Boolean
The return value is TRUE if the window stops responding; otherwise, it is FALSE. Ghost windows always return TRUE.
See Also