Click or drag to resize

WindowsUtilitiesWindowFromDC Method

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

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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