Commit f66bf566 authored by Klaas van Gend's avatar Klaas van Gend Committed by Alexandre Julliard

Added stub for PrinterProperties.

parent d1f10c50
...@@ -271,7 +271,7 @@ BOOL WINAPI EnumPrintersW(DWORD dwType, LPWSTR lpszName, ...@@ -271,7 +271,7 @@ BOOL WINAPI EnumPrintersW(DWORD dwType, LPWSTR lpszName,
LPDWORD lpdwReturned); LPDWORD lpdwReturned);
#define EnumPrinters WINELIB_NAME_AW(EnumPrinters) #define EnumPrinters WINELIB_NAME_AW(EnumPrinters)
BOOL WINAPI PrinterProperties(HWND hWnd, HANDLE hPrinter);
#ifdef __cplusplus #ifdef __cplusplus
} // extern "C" } // extern "C"
......
...@@ -1304,4 +1304,23 @@ BOOL WINAPI AddPrinterDriverW(LPWSTR printerName,DWORD level, ...@@ -1304,4 +1304,23 @@ BOOL WINAPI AddPrinterDriverW(LPWSTR printerName,DWORD level,
} }
/*****************************************************************************
* 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;
}
...@@ -101,7 +101,7 @@ type win32 ...@@ -101,7 +101,7 @@ type win32
198 stub PlayGdiScriptOnPrinterIC 198 stub PlayGdiScriptOnPrinterIC
199 stub PrinterMessageBoxA 199 stub PrinterMessageBoxA
200 stub PrinterMessageBoxW 200 stub PrinterMessageBoxW
201 stub PrinterProperties 201 stdcall PrinterProperties(long long) PrinterProperties
202 stdcall ReadPrinter(long ptr long ptr) ReadPrinter 202 stdcall ReadPrinter(long ptr long ptr) ReadPrinter
203 stdcall ResetPrinterA(long ptr) ResetPrinterA 203 stdcall ResetPrinterA(long ptr) ResetPrinterA
204 stdcall ResetPrinterW(long ptr) ResetPrinterW 204 stdcall ResetPrinterW(long ptr) ResetPrinterW
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment