|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Called by the framework after a document has been printed or previewed.
Points to the printer device context.
Points to a CPrintInfo structure that describes the current print job.
The default implementation of this function does nothing. Override this function to free any GDI resources you allocated in the OnBeginPrinting member function.