prntvtp: Add stub for PTOpenProviderEx.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45925
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2018-10-12 13:59:20 +02:00 committed by Alexandre Julliard
parent 3acde309ed
commit 03800be0da
3 changed files with 8 additions and 1 deletions

View File

@ -55,3 +55,9 @@ HRESULT WINAPI PTOpenProvider(PCWSTR printer, DWORD version, HPTPROVIDER *provid
FIXME("%s, %d, %p: stub\n", debugstr_w(printer), version, provider);
return E_NOTIMPL;
}
HRESULT WINAPI PTOpenProviderEx(const WCHAR *printer, DWORD max_version, DWORD pref_version, HPTPROVIDER *provider, DWORD *used_version)
{
FIXME("%s, %d, %d, %p, %p: stub\n", debugstr_w(printer), max_version, pref_version, provider, used_version);
return E_NOTIMPL;
}

View File

@ -1,6 +1,6 @@
@ stdcall PTQuerySchemaVersionSupport(wstr ptr)
@ stdcall PTOpenProvider(wstr long ptr)
@ stub PTOpenProviderEx
@ stdcall PTOpenProviderEx(wstr long long ptr ptr)
@ stub PTCloseProvider
@ stub BindPTProviderThunk
@ stub PTGetPrintCapabilities

View File

@ -26,6 +26,7 @@ extern "C" {
DECLARE_HANDLE(HPTPROVIDER);
HRESULT WINAPI PTOpenProvider(const WCHAR *printer, DWORD version, HPTPROVIDER *provider);
HRESULT WINAPI PTOpenProviderEx(const WCHAR *printer, DWORD max_version, DWORD pref_version, HPTPROVIDER *provider, DWORD *used_version);
#ifdef __cplusplus
}