PFD_DRAW_TO_BITMAP

What exactly does the PFD_DRAW_TO_BITMAP pixel format descriptor flag mean and do?

With this flag set, you can render into an offscreen bitmap. Instead of opening your rendering context on a window DC you open it on a bitmap DC.

Kilam.