With GetDC for exmaple you can get a window's DC (if you know it's handle, the hWnd). CreateDC is used to... create DCs Empty buffers. CreateCompatibleDC create a DC which 'works for sure', else you have to set several information by yourself.

Hope this helps a bit