Beispiel #1
0
 public static extern bool PrintDlgW(ref PrintDlgW param0);
Beispiel #2
0
 /// <summary>
 /// The UNICODE version of PrintDlg function displays a Print Dialog Box. The Print dialog box enables the user to specify the
 /// properties of a particular print job. 
 /// Windows 2000/XP: The PrintDlg function has been superseded by the PrintDlgEx function. PrintDlgEx displays
 /// a Print Property Sheet, which has a General page containing controls similar to the Print dialog box
 /// </summary>
 /// <param name="lppd">Pointer to a PRINTDLGW structure that contains information used to initialize the dialog box. 
 /// When PrintDlg returns, this structure contains information about the user's selections</param>
 /// <returns>If the user clicks the OK button, the return value is nonzero. The members of the PRINTDLGW structure 
 /// pointed to by the lppd parameter indicate the user's selections.
 /// If the user canceled or closed the Print or Printer Setup dialog box or an error occurred, the return value
 /// is zero. To get extended error information, use the CommDlgExtendedError function. If the user canceled or
 /// closed the dialog box, CommDlgExtendedError returns zero; otherwise any value of CommonDialogError
 /// </returns>
 public static bool PrintDlgW(ref PrintDlgW lppd)
 {
     return Native.PrintDlgW(ref lppd);
 }