User32GetDC Method

Overload List

GetDC(IntPtr) Retrieves a IntPtr handle to a device context (DC) for the client area of a specified window or for the entire screen.

You can use the returned handle in subsequent GDI functions to draw in the DC.

The device context is an opaque data structure, whose values are used internally by GDI.

GetDC(SafeHandle) Retrieves a IntPtr handle to a device context (DC) for the client area of a specified window or for the entire screen.

You can use the returned handle in subsequent GDI functions to draw in the DC.

The device context is an opaque data structure, whose values are used internally by GDI.

See Also