Share via


PrintDlg (function) (Compact 2013)

3/28/2014

This function has been replaced by PageSetupDlg (function).

Syntax

BOOL PrintDlg(
  LPPRINTDLG lppd
);

Parameters

  • lppd
    Long pointer to a PRINTDLG (structure) that contains information used to initialize the dialog box. When PrintDlg returns, this structure contains information about the user's selections.

Return Value

If the user clicks the OK button, the return value is nonzero. The members of the PRINTDLG structure pointed to by the lppd parameter indicate the user's selections.

Requirements

Header

commdlg.h

Library

commdlg.lib

See Also

Reference

Common Dialog Boxes Functions
CommDlgExtendedError
CreateDC
DeleteDC
PrintHookProc
StartDoc
PageSetupDlg (function)
WM_CTLCOLORDLG
PAGESETUPDLG (structure)
PRINTDLG (structure)