Author: sginsberg
Date: Sun Oct 18 03:48:30 2009
New Revision: 43548
URL:
http://svn.reactos.org/svn/reactos?rev=43548&view=rev
Log:
Patch from David "gigaherz" Quintana: Stub out EnumPrinterKeyA/W, minor fixes by
me.
Modified:
trunk/reactos/dll/win32/winspool/stubs.c
trunk/reactos/dll/win32/winspool/winspool.spec
Modified: trunk/reactos/dll/win32/winspool/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winspool/stubs.c…
==============================================================================
--- trunk/reactos/dll/win32/winspool/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winspool/stubs.c [iso-8859-1] Sun Oct 18 03:48:30 2009
@@ -802,6 +802,35 @@
return FALSE;
}
+/*
+ * @unimplemented
+ */
+DWORD
+WINAPI
+EnumPrinterKeyA(HANDLE Printer, LPSTR KeyName, LPTSTR Subkey, DWORD SubkeySize, PDWORD
SubkeyReturned)
+{
+ OutputDebugStringW(L"winspool EnumPrinterKeyA stub called\n");
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+
+ *SubkeyReturned = 0;
+
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+DWORD
+WINAPI
+EnumPrinterKeyW(HANDLE Printer, LPWSTR KeyName, LPTSTR Subkey, DWORD SubkeySize, PDWORD
SubkeyReturned)
+{
+ OutputDebugStringW(L"winspool EnumPrinterKeyW stub called\n");
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+
+ *SubkeyReturned = 0;
+
+ return 0;
+}
/*
* @unimplemented
Modified: trunk/reactos/dll/win32/winspool/winspool.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/winspool/winspoo…
==============================================================================
--- trunk/reactos/dll/win32/winspool/winspool.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/winspool/winspool.spec [iso-8859-1] Sun Oct 18 03:48:30 2009
@@ -124,6 +124,8 @@
@ stdcall EnumPrinterDriversW(wstr wstr long ptr long ptr ptr)
@ stdcall EnumPrintersA(long ptr long ptr long ptr ptr)
@ stdcall EnumPrintersW(long ptr long ptr long ptr ptr)
+@ stdcall EnumPrinterKeyA(long str str long ptr)
+@ stdcall EnumPrinterKeyW(long wstr wstr long ptr)
@ stdcall ExtDeviceMode(long long ptr str str ptr str long)
@ stdcall EnumPrintProcessorDatatypesA(str str long ptr long ptr ptr)
@ stdcall EnumPrintProcessorDatatypesW(wstr wstr long ptr long ptr ptr)