Share via


CPageSetupDialog::GetDevMode

Call this function after calling DoModal to retrieve information about the printer device context of the CPageSetupDialog object.

LPDEVMODE GetDevMode( ) const;

Return Value

The DEVMODE data structure, which contains information about the device initialization and environment of a print driver. You must unlock the memory taken by this structure with the Windows GlobalUnlock function, which is described in the Windows SDK.

Requirements

Header: afxdlgs.h

See Also

Reference

CPageSetupDialog Class

Hierarchy Chart