winspool.drv: Add EnumPrinterKeyA/W stubs.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2016-01-19 13:10:10 -06:00 committed by Alexandre Julliard
parent df59b04057
commit 110b53affc
3 changed files with 28 additions and 0 deletions

View File

@ -7526,6 +7526,26 @@ DWORD WINAPI EnumPrinterDataW( HANDLE hPrinter, DWORD dwIndex, LPWSTR pValueName
return ERROR_NO_MORE_ITEMS; return ERROR_NO_MORE_ITEMS;
} }
/*****************************************************************************
* EnumPrinterKeyA [WINSPOOL.@]
*
*/
DWORD WINAPI EnumPrinterKeyA(HANDLE printer, const CHAR *key, CHAR *subkey, DWORD size, DWORD *needed)
{
FIXME("%p %s %p %x %p\n", printer, debugstr_a(key), subkey, size, needed);
return ERROR_CALL_NOT_IMPLEMENTED;
}
/*****************************************************************************
* EnumPrinterKeyW [WINSPOOL.@]
*
*/
DWORD WINAPI EnumPrinterKeyW(HANDLE printer, const WCHAR *key, WCHAR *subkey, DWORD size, DWORD *needed)
{
FIXME("%p %s %p %x %p\n", printer, debugstr_w(key), subkey, size, needed);
return ERROR_CALL_NOT_IMPLEMENTED;
}
/***************************************************************************** /*****************************************************************************
* EnumPrintProcessorDatatypesA [WINSPOOL.@] * EnumPrintProcessorDatatypesA [WINSPOOL.@]
* *

View File

@ -124,6 +124,8 @@
@ stdcall EnumPrinterDriversW(wstr wstr long ptr long ptr ptr) @ stdcall EnumPrinterDriversW(wstr wstr long ptr long ptr ptr)
@ stdcall EnumPrintersA(long ptr long ptr long ptr ptr) @ stdcall EnumPrintersA(long ptr long ptr long ptr ptr)
@ stdcall EnumPrintersW(long ptr long ptr long ptr ptr) @ stdcall EnumPrintersW(long ptr long ptr long ptr ptr)
@ stdcall EnumPrinterKeyA(long str ptr long ptr)
@ stdcall EnumPrinterKeyW(long wstr ptr long ptr)
@ stdcall ExtDeviceMode(long long ptr str str ptr str long) @ stdcall ExtDeviceMode(long long ptr str str ptr str long)
@ stdcall FindClosePrinterChangeNotification(long) @ stdcall FindClosePrinterChangeNotification(long)
@ stdcall FindFirstPrinterChangeNotification(long long long ptr) @ stdcall FindFirstPrinterChangeNotification(long long long ptr)

View File

@ -1789,6 +1789,12 @@ BOOL WINAPI DeletePrintProvidorW(LPWSTR pName, LPWSTR pEnvironment,
LPWSTR pPrintProvidorName); LPWSTR pPrintProvidorName);
#define DeletePrintProvidor WINELIB_NAME_AW(DeletePrintProvidor) #define DeletePrintProvidor WINELIB_NAME_AW(DeletePrintProvidor)
DWORD WINAPI EnumPrinterKeyA(HANDLE printer, const CHAR *key,
CHAR *subkey, DWORD size, DWORD *needed);
DWORD WINAPI EnumPrinterKeyW(HANDLE printer, const WCHAR *key,
WCHAR *subkey, DWORD size, DWORD *needed);
#define EnumPrinterKey WINELIB_NAME_AW(EnumPrinterKey)
DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName,
LPBYTE pEnumValues, DWORD cbEnumValues, LPBYTE pEnumValues, DWORD cbEnumValues,
LPDWORD pcbEnumValues, LPDWORD pnEnumValues); LPDWORD pcbEnumValues, LPDWORD pnEnumValues);