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.
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 IsHungAppWindow(
IntPtr hWnd
)
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function IsHungAppWindow (
hWnd As IntPtr
) As Boolean
Dim hWnd As IntPtr
Dim returnValue As Boolean
returnValue = User32.IsHungAppWindow(hWnd)
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static bool IsHungAppWindow(
IntPtr hWnd
)
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member IsHungAppWindow :
hWnd : IntPtr -> bool
No code example is currently available or this language may not be supported.
- hWnd IntPtr
-
A handle to the window to be tested.
Boolean
The return value is
if the window stops responding;
otherwise, it is
.
Ghost windows always return TRUE