DocumentProperties function winspool
The DocumentProperties function retrieves or modifies printer initialization information or displays a printer-configuration property sheet for the specified printer.
LONG DocumentPropertiesW(
_In_ HWND hWnd,
_In_ HANDLE hPrinter,
_In_ LPTSTR pDeviceName,
_Out_ PDEVMODE pDevModeOutput,
_In_ PDEVMODE pDevModeInput,
_In_ DWORD fMode
);
Implementation
int DocumentProperties(
int hWnd,
int hPrinter,
Pointer<Utf16> pDeviceName,
Pointer<DEVMODE> pDevModeOutput,
Pointer<DEVMODE> pDevModeInput,
int fMode) =>
_DocumentProperties(
hWnd, hPrinter, pDeviceName, pDevModeOutput, pDevModeInput, fMode);