DrvDocumentProperties

LONG DrvDocumentProperties(

    HWND hwnd,

    HANDLE hPrinter,

    PWSTR lpszDeviceName,

    PDEVMODE pdmOutput,

    PDEVMODE pdmInput,

    DWORD fMode

   );

DrvDocumentProperties is obsolete and is supported for backward compatibility only. Printer driver user interface writers should implement DrvDocumentPropertySheets instead.