Returns the handle on the window being ghosted
Syntax
HWND WINAPI GhostWindowFromHungWindow (
HWND hwndGhost
)
Parameters
- hwndHung
- The handle of a hung window
Return Value
The handle of the ghost window which shadows hwndHung or NULL on failure. Call GetLastError() for more information
Remarks
A ghost window replaces a window that hasn't called Get or PeekMessage for 5 seconds, in other words a hung window. It displays a bitmap of the hung window's client area
This function is the reciprocal of HungWindowFromGhostWindow.
This function is also known as NtUserGhostWindowFromHungWindow.