Added stub for PrinterProperties.

This commit is contained in:
Klaas van Gend 1999-04-11 14:56:45 +00:00 committed by Alexandre Julliard
parent d1f10c50ef
commit f66bf56609
3 changed files with 21 additions and 2 deletions

View File

@ -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"

View File

@ -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;
}

View File

@ -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