prntvpt: add a stub for PTQuerySchemaVersionSupport

Austin English austinenglish at gmail.com
Wed Jan 28 20:07:57 CST 2015


Fixes https://bugs.winehq.org/show_bug.cgi?id=37970

-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150128/cbaab2a0/attachment.html>
-------------- next part --------------
diff --git a/dlls/prntvpt/main.c b/dlls/prntvpt/main.c
index f5abde9..aa01252 100644
--- a/dlls/prntvpt/main.c
+++ b/dlls/prntvpt/main.c
@@ -41,3 +41,10 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
     }
     return TRUE;
 }
+
+
+HRESULT WINAPI PTQuerySchemaVersionSupport(PCWSTR printer, DWORD *version)
+{
+    FIXME("stub:%s %p\n", debugstr_w(printer), version);
+    return E_NOTIMPL;
+}
diff --git a/dlls/prntvpt/prntvpt.spec b/dlls/prntvpt/prntvpt.spec
index 3f5e329..2f20d3c 100644
--- a/dlls/prntvpt/prntvpt.spec
+++ b/dlls/prntvpt/prntvpt.spec
@@ -1,4 +1,4 @@
-1  stub PTQuerySchemaVersionSupport
+1  stdcall PTQuerySchemaVersionSupport(wstr ptr)
 2  stub PTOpenProvider
 3  stub PTOpenProviderEx
 4  stub PTCloseProvider


More information about the wine-patches mailing list