Returns the handle on the window being ghosted
Syntax
HWND WINAPI HungWindowFromGhostWindow (
HWND hwndGhost
)
Parameters
- hwndGhost
- The handle of a ghost window
Return Value
The handle of the hung window or NULL on failure. Call GetLastError() for more information
Remarks
Ghost windows have a window class of "Ghost". Details of their window class can be gotten by GetClassInfoEx(NULL, TEXT("Ghost"), &wndex);
This function is the reciprocal of GhostWindowFromHungWindow.
This function is also known as NtUserHungWindowFromGhostWindow.