AdvancedDocumentProperties function winspool

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

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