Click or drag to resize

WindowsUtilitiesWindowFromDC Method

Retrieves a handle to the window associated with the specified display device context (DC).

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static IntPtr WindowFromDC(
	IntPtr hdc
)

Parameters

hdc
Type: SystemIntPtr
Handle to the device context from which a handle to the associated window is to be retrieved.

Return Value

Type: IntPtr
A handle to the window associated with the specified DC or IntPtr.Zero
See Also