Table of Contents

Method GetWindowDC

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

GetWindowDC(IntPtr)

Retrieves the device context (DC) for the entire window.

public static IntPtr GetWindowDC(IntPtr hwnd)

Parameters

hwnd IntPtr

Handle to the window with a device context that is to be retrieved.

Returns

IntPtr

If the function succeeds, the return value is a handle to a device context for the specified window; otherwise return value is null.