This documentation is archived and is not being maintained.

CWnd::PrintWindow 

Copies a visual window into the specified device context, typically a printer DC.


BOOL PrintWindow(
   CDC* pDC,
   UINT nFlags
) const;

Parameters

pDC

A pointer to the device context to be printed to.

nFlags

Specifies the drawing options. For a list of possible values, see PrintWindow.

Nonzero if the function succeeds; otherwise 0.

This member function emulates the functionality of the function PrintWindow, as described in the Platform SDK.

Show: