Added stub for PrinterProperties.
diff --git a/include/winspool.h b/include/winspool.h index b4aa0c4..9304bc2 100644 --- a/include/winspool.h +++ b/include/winspool.h
@@ -271,7 +271,7 @@ LPDWORD lpdwReturned); #define EnumPrinters WINELIB_NAME_AW(EnumPrinters) - +BOOL WINAPI PrinterProperties(HWND hWnd, HANDLE hPrinter); #ifdef __cplusplus } // extern "C"
diff --git a/misc/printdrv.c b/misc/printdrv.c index c447382..b2171b5 100644 --- a/misc/printdrv.c +++ b/misc/printdrv.c
@@ -1304,4 +1304,23 @@ } +/***************************************************************************** + * PrinterProperties [WINSPOOL.201] + * + * Displays a dialog to set the properties of the printer. + * + * RETURNS + * nonzero on succes or zero on faillure + * + * BUGS + * implemented as stub only + */ +BOOL WINAPI PrinterProperties(HWND hWnd, /* handle to parent window */ + HANDLE hPrinter /* handle to printer object */ +){ + FIXME(print, "(%d,%d): stub\n", hWnd, hPrinter); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} +
diff --git a/relay32/winspool.spec b/relay32/winspool.spec index b462092..6a1b360 100644 --- a/relay32/winspool.spec +++ b/relay32/winspool.spec
@@ -101,7 +101,7 @@ 198 stub PlayGdiScriptOnPrinterIC 199 stub PrinterMessageBoxA 200 stub PrinterMessageBoxW -201 stub PrinterProperties +201 stdcall PrinterProperties(long long) PrinterProperties 202 stdcall ReadPrinter(long ptr long ptr) ReadPrinter 203 stdcall ResetPrinterA(long ptr) ResetPrinterA 204 stdcall ResetPrinterW(long ptr) ResetPrinterW