winspool: [try 2] AddPortEx is not declared in the PSDK

Detlef Riekenberg wine.dev at web.de
Wed Jun 6 13:28:46 CDT 2007


On Mi, 2007-06-06 at 17:01 +0200, Detlef Riekenberg wrote:
> Spotted by Francois.
> Thanks
> 
> 
> Changelog:
> include/winspool: AddPortEx is not declared in the PSDK

That Patch was not complete.
Please use this one instead.

Changelog:
 winspool: AddPortEx is not declared in the PSDK




-- 
 
By by ... Detlef

-------------- next part --------------
>From 5d2a1f4ff2357f6f7461471380ffc5e337ed5334 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Wed, 6 Jun 2007 20:22:00 +0200
Subject: [PATCH] winspool: AddPortEx is not declared in the PSDK
---
 dlls/winspool.drv/info.c |    5 +++++
 include/winspool.h       |    4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index d78964b..52ebf70 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -67,6 +67,11 @@ WINE_DEFAULT_DEBUG_CHANNEL(winspool);
 
 /* ############################### */
 
+BOOL WINAPI AddPortExA(LPSTR, DWORD, LPBYTE, LPSTR);
+BOOL WINAPI AddPortExW(LPWSTR, DWORD, LPBYTE, LPWSTR);
+
+/* ############################### */
+
 static CRITICAL_SECTION monitor_handles_cs;
 static CRITICAL_SECTION_DEBUG monitor_handles_cs_debug = 
 {
diff --git a/include/winspool.h b/include/winspool.h
index 7ae2dc8..20b04ba 100644
--- a/include/winspool.h
+++ b/include/winspool.h
@@ -1349,10 +1349,6 @@ BOOL WINAPI AddPortA(LPSTR pName, HWND h
 BOOL WINAPI AddPortW(LPWSTR pName, HWND hWnd, LPWSTR pMonitorName);
 #define AddPort WINELIB_NAME_AW(AddPort)
 
-BOOL WINAPI AddPortExA(LPSTR, DWORD, LPBYTE, LPSTR);
-BOOL WINAPI AddPortExW(LPWSTR, DWORD, LPBYTE, LPWSTR);
-#define AddPortEx WINELIB_NAME_AW(AddPortEx)
-
 BOOL WINAPI ConfigurePortA(LPSTR pName, HWND hWnd, LPSTR pPortName);
 BOOL WINAPI ConfigurePortW(LPWSTR pName, HWND hWnd, LPWSTR pPortName);
 #define ConfigurePort WINELIB_NAME_AW(ConfigurePort)
-- 
1.4.1



More information about the wine-patches mailing list