AdvancedDocumentProperties function winspool
Displays a printer-configuration dialog box for the specified printer, allowing the user to configure that printer.
To learn more, see learn.microsoft.com/windows/win32/printdocs/advanceddocumentproperties.
Implementation
@pragma('vm:prefer-inline')
int AdvancedDocumentProperties(
HWND hWnd,
PRINTER_HANDLE hPrinter,
PCWSTR pDeviceName,
Pointer<DEVMODE>? pDevModeOutput,
Pointer<DEVMODE>? pDevModeInput,
) => _AdvancedDocumentProperties(
hWnd,
hPrinter,
pDeviceName,
pDevModeOutput ?? nullptr,
pDevModeInput ?? nullptr,
);