Method GetWindowDC
GetWindowDC(IntPtr)
Retrieves the device context (DC) for the entire window.
public static IntPtr GetWindowDC(IntPtr hwnd)
Parameters
hwnd
IntPtrHandle 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.