Partager via


DrvAdvPageSetupDlg (Windows Embedded CE 6.0)

1/6/2010

This function displays the Advanced Page Setup dialog box when the user chooses Advanced in the Page Setup dialog box.

        
        
        lppsd
        
        
        hwndDlg
        
      

Parameters

  • lppsd
    [in] Pointer to a PAGESETUPDLG (structure) that contains information used to initialize the dialog box. The structure receives information about the selections that the user makes in the dialog box when the function returns.
  • hwndDlg
    [in] Handle to the Page Setup dialog box.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

You should implement this function in the printer driver if you want to enable a user to specify printer settings that the user cannot already specify in the Page Setup dialog box. When the driver implements DrvAdvPageSetupDlg, the Advanced button in the Page Setup dialog box becomes available, and the function is called when the user chooses Advanced. If the driver does not implement this function, the Advanced button appears dimmed.

Requirements

Header commdlg.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Shell OS Functions
PageSetupDlg (function)
PAGESETUPDLG (structure)