AdvancedDocumentProperties function winspool
The AdvancedDocumentProperties function displays a printer-configuration dialog box for the specified printer, allowing the user to configure that printer.
LONG AdvancedDocumentPropertiesW(
_In_ HWND hWnd,
_In_ HANDLE hPrinter,
_In_ LPWSTR pDeviceName,
_Out_ PDEVMODE pDevModeOutput,
_In_ PDEVMODE pDevModeInput
);
Implementation
int AdvancedDocumentProperties(
int hWnd,
int hPrinter,
Pointer<Utf16> pDeviceName,
Pointer<DEVMODE> pDevModeOutput,
Pointer<DEVMODE> pDevModeInput,
) => _AdvancedDocumentProperties(
hWnd,
hPrinter,
pDeviceName,
pDevModeOutput,
pDevModeInput,
);