The PrinterProperties function displays a printer-properties dialog box for the specified printer.
BOOL PrinterProperties(
|
HWND hWnd, |
// handle of parent window |
|
HANDLE hPrinter |
// handle of printer object |
|
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.