AdvancedDocumentProperties function winspool

int AdvancedDocumentProperties(
  1. HWND hWnd,
  2. PRINTER_HANDLE hPrinter,
  3. PCWSTR pDeviceName,
  4. Pointer<DEVMODE>? pDevModeOutput,
  5. Pointer<DEVMODE>? pDevModeInput,
)

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,
);