DrvAdvancedDocumentProperties

LONG DrvAdvancedDocumentProperties(

HWND hwnd,
HANDLE hPrinter,
PWSTR lpszDevName,
PDEVMODE pdmOutput,
PDEVMODE pdmInput
);

DrvAdvancedDocumentProperties is obsolete and is supported for backward compatibility only. New printer driver user interfaces should implement DrvDocumentPropertySheets instead.