User32HungWindowFromGhostWindow Method

Returns the handle on the window being ghosted.

This function is the reciprocal of GhostWindowFromHungWindow(IntPtr).

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: 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 IntPtr HungWindowFromGhostWindow(
	IntPtr hWndGhost
)

Parameters

hWndGhost  IntPtr
The handle of a ghost window.

Return Value

IntPtr
The handle of the hung window which shadows hWndGhost, or Zero on failure.

Remarks

http://undoc.airesoft.co.uk/user32.dll/HungWindowFromGhostWindow.php

Ghost windows have a window class of "Ghost". Details of their window class can be gotten by calling: GetClassInfoEx(NULL, TEXT("Ghost"))

See Also