Stub some winspool functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




ChangeLog: * Stub some winspool functions
Index: dlls/winspool/info.c
===================================================================
RCS file: /home/wine/wine/dlls/winspool/info.c,v
retrieving revision 1.79
diff -u -r1.79 info.c
--- dlls/winspool/info.c	23 Jun 2003 19:52:55 -0000	1.79
+++ dlls/winspool/info.c	12 Aug 2003 06:36:42 -0000
@@ -3607,3 +3607,88 @@
     FIXME("(%s, %p, %s\n), stub!\n",pName,hWnd,pMonitorName);
     return FALSE;
 }
+
+/******************************************************************************
+ *		AddPrinterDriverExW (WINSPOOL.@)
+ */
+BOOL WINAPI AddPrinterDriverExW( LPWSTR pName, DWORD Level,
+    LPBYTE pDriverInfo, DWORD dwFileCopyFlags)
+{
+    FIXME("%s %ld %p %ld\n", debugstr_w(pName),
+           Level, pDriverInfo, dwFileCopyFlags);
+    SetLastError(ERROR_PRINTER_DRIVER_BLOCKED);
+    return FALSE;
+}
+
+/******************************************************************************
+ *		AddPrinterDriverExA (WINSPOOL.@)
+ */
+BOOL WINAPI AddPrinterDriverExA( LPSTR pName, DWORD Level,
+    LPBYTE pDriverInfo, DWORD dwFileCopyFlags)
+{
+    FIXME("%s %ld %p %ld\n", debugstr_a(pName),
+           Level, pDriverInfo, dwFileCopyFlags);
+    SetLastError(ERROR_PRINTER_DRIVER_BLOCKED);
+    return FALSE;
+}
+
+/******************************************************************************
+ *		DeletePrinterDriverExW (WINSPOOL.@)
+ */
+BOOL WINAPI DeletePrinterDriverExW( LPWSTR pName, LPWSTR pEnvironment,
+    LPWSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag)
+{
+    FIXME("%s %s %s %lx %lx\n", debugstr_w(pName), debugstr_w(pEnvironment),
+          debugstr_w(pDriverName), dwDeleteFlag, dwVersionFlag);
+    return TRUE;
+}
+
+/******************************************************************************
+ *		DeletePrinterDriverExA (WINSPOOL.@)
+ */
+BOOL WINAPI DeletePrinterDriverExA( LPSTR pName, LPSTR pEnvironment,
+    LPSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag)
+{
+    FIXME("%s %s %s %lx %lx\n", debugstr_a(pName), debugstr_a(pEnvironment),
+          debugstr_a(pDriverName), dwDeleteFlag, dwVersionFlag);
+    return TRUE;
+}
+
+/******************************************************************************
+ *		DeletePrinterDataExW (WINSPOOL.@)
+ */
+DWORD WINAPI DeletePrinterDataExW( HANDLE hPrinter, LPCWSTR pKeyName,
+                                  LPCWSTR pValueName)
+{
+    FIXME("%p %s %s\n", hPrinter, 
+          debugstr_w(pKeyName), debugstr_w(pValueName));
+    return ERROR_INVALID_PARAMETER;
+}
+
+/******************************************************************************
+ *		DeletePrinterDataExA (WINSPOOL.@)
+ */
+DWORD WINAPI DeletePrinterDataExA( HANDLE hPrinter, LPCSTR pKeyName,
+                                  LPCSTR pValueName)
+{
+    FIXME("%p %s %s\n", hPrinter, 
+          debugstr_a(pKeyName), debugstr_a(pValueName));
+    return ERROR_INVALID_PARAMETER;
+}
+
+/******************************************************************************
+ *		XcvDataW (WINSPOOL.@)
+ *
+ * Notes:
+ *  There doesn't seem to be an A version...
+ */
+BOOL WINAPI XcvDataW( HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInputData,
+    DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData,
+    PDWORD pcbOutputNeeded, PDWORD pdwStatus)
+{
+    FIXME("%p %s %p %ld %p %ld %p %p\n", hXcv, debugstr_w(pszDataName), 
+          pInputData, cbInputData, pOutputData,
+          cbOutputData, pcbOutputNeeded, pdwStatus);
+    return FALSE;
+}
+
Index: dlls/winspool/winspool.drv.spec
===================================================================
RCS file: /home/wine/wine/dlls/winspool/winspool.drv.spec,v
retrieving revision 1.20
diff -u -r1.20 winspool.drv.spec
--- dlls/winspool/winspool.drv.spec	13 May 2003 22:25:12 -0000	1.20
+++ dlls/winspool/winspool.drv.spec	12 Aug 2003 06:36:42 -0000
@@ -20,6 +20,8 @@
 @ stub AddPrinterConnectionW
 @ stdcall AddPrinterDriverA(str long ptr)
 @ stdcall AddPrinterDriverW(wstr long ptr)
+@ stdcall AddPrinterDriverExA(str long ptr long)
+@ stdcall AddPrinterDriverExW(wstr long ptr long)
 @ stdcall AddPrinterW(wstr long ptr)
 @ stub AdvancedDocumentPropertiesA
 @ stub AdvancedDocumentPropertiesW
@@ -44,8 +46,12 @@
 @ stdcall DeletePrinter(long)
 @ stub DeletePrinterConnectionA
 @ stub DeletePrinterConnectionW
+@ stdcall DeletePrinterDataExA(long str str)
+@ stdcall DeletePrinterDataExW(long wstr wstr)
 @ stdcall DeletePrinterDriverA(str str str)
 @ stub DeletePrinterDriverW
+@ stdcall DeletePrinterDriverExA(str str str long long)
+@ stdcall DeletePrinterDriverExW(wstr wstr wstr long long)
 @ stub DeletePrinterIC
 @ stub DevQueryPrint
 @ stdcall DeviceCapabilities(str str long ptr ptr) DeviceCapabilitiesA
@@ -132,3 +138,4 @@
 @ stdcall StartPagePrinter(long)
 @ stub WaitForPrinterChange
 @ stdcall WritePrinter(long ptr long ptr)
+@ stdcall XcvDataW(long wstr ptr long ptr long ptr ptr)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux