GetDC
GetDC is a function in the Windows API that retrieves a handle to a device context (HDC) for drawing with the Graphics Device Interface (GDI). It is declared in Wingdi.h and implemented in Gdi32.dll.
If a window handle is provided (hWnd is non-NULL), GetDC returns a DC for the client area
The caller is responsible for releasing the device context by calling ReleaseDC with the same window handle
GetDC is suitable for immediate drawing outside of WM_PAINT, but its DC is not suitable for persistent