![Xcalibur Systems LLC Logo](../icons/logo.png) |
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.WindowsAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[DllImportAttribute("user32.dll")]
public static bool IsHungAppWindow(
IntPtr windowHandle
)
<DllImportAttribute("user32.dll">]
Public Shared Function IsHungAppWindow (
windowHandle As IntPtr
) As Boolean
public:
[DllImportAttribute(L"user32.dll")]
static bool IsHungAppWindow(
IntPtr windowHandle
)
[<DllImportAttribute("user32.dll")>]
static member IsHungAppWindow :
windowHandle : IntPtr -> bool
Parameters
- windowHandle IntPtr
- A handle to the window to be tested.
Return Value
BooleanThe return value is TRUE if the window stops responding; otherwise, it is FALSE.
Ghost windows always return TRUE.
See Also