The CClientDC class is derived from CDC and takes care of calling the Windows functions GetDC at con-struction time and ReleaseDC at destruction time. This means that the device context associated with a CClientDC object is the client area of a window.
CDC