Freigeben über


DrvAdvPageSetupDlg (Windows CE 5.0)

Send Feedback

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

BOOL DrvAdvPageSetupDlg(LPPAGESETUPDLG lppsd,HWND 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

OS Versions: Windows CE .NET 4.0 and later.
Header: Commdlg.h.

See Also

PageSetupDlg (function) | PAGESETUPDLG (structure)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.