Click or drag to resize

WindowsUtilitiesGetWindowDC Method

Retrieves the device context (DC) for the entire window, including title bar, menus, and scroll bars. The ReleaseDC function must be called to release the device context

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static IntPtr GetWindowDC(
	IntPtr handle
)

Parameters

handle
Type: SystemIntPtr
A handle to the window with a device context that is to be retrieved. If this value is Zero, GetWindowDC retrieves the device context for the entire screen.

Return Value

Type: IntPtr
A handle to a device context for the specified window or IntPtr.Zero.
See Also