Visual Studio 2010
Call this member function to draw any window in the specified device context (usually a printer device context).
A pointer to a device context.
Specifies drawing options. This parameter can be one or more of these flags:
PRF_CHECKVISIBLE Draw the window only if it is visible.
PRF_CHILDREN Draw all visible children windows.
PRF_CLIENT Draw the client area of the window.
PRF_ERASEBKGND Erase the background before drawing the window.
PRF_NONCLIENT Draw the nonclient area of the window.
PRF_OWNED Draw all owned windows.