PATCH: winspool ordinal export

Marcus Meissner marcus at jet.franken.de
Wed Jan 4 06:32:55 CST 2006


Hi,

SecureCRT from bug 4225 imports GetDefaultPrinterA() by
using the ordinal 201.

Not sure if this fix is correct or if this is even the
correct approach. But it helps SecureCRT. The other
winspool functions are imported by name.

Ciao, Marcus

Changelog
	Ordinal 201 is GetDefaultPrinterA().

Index: dlls/winspool/winspool.drv.spec
===================================================================
RCS file: /home/wine/wine/dlls/winspool/winspool.drv.spec,v
retrieving revision 1.29
diff -u -r1.29 winspool.drv.spec
--- dlls/winspool/winspool.drv.spec	22 Jul 2005 18:28:12 -0000	1.29
+++ dlls/winspool/winspool.drv.spec	4 Jan 2006 12:31:32 -0000
@@ -1,4 +1,6 @@
 100 stub @
+201 stdcall GetDefaultPrinterA(ptr ptr)
+
 @ stub ADVANCEDSETUPDIALOG
 @ stdcall AbortPrinter(long)
 @ stdcall AddFormA(long long ptr)
@@ -89,7 +91,6 @@
 @ stdcall FindFirstPrinterChangeNotification(long long long ptr)
 @ stdcall FindNextPrinterChangeNotification(long ptr ptr ptr)
 @ stdcall FreePrinterNotifyInfo(ptr)
-@ stdcall GetDefaultPrinterA(ptr ptr)
 @ stdcall GetDefaultPrinterW(ptr ptr)
 @ stdcall GetFormA(long str long ptr long ptr)
 @ stdcall GetFormW(long wstr long ptr long ptr)



More information about the wine-patches mailing list