Commit 83eb1e15 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

prntvpt: Implement PTOpenProvider.

parent 645d909b
......@@ -59,8 +59,13 @@ HRESULT WINAPI PTQuerySchemaVersionSupport(PCWSTR printer, DWORD *version)
HRESULT WINAPI PTOpenProvider(PCWSTR printer, DWORD version, HPTPROVIDER *provider)
{
FIXME("%s, %d, %p: stub\n", debugstr_w(printer), version, provider);
return E_NOTIMPL;
DWORD used_version;
TRACE("%s, %d, %p\n", debugstr_w(printer), version, provider);
if (version != 1) return E_INVALIDARG;
return PTOpenProviderEx(printer, 1, 1, provider, &used_version);
}
HRESULT WINAPI PTOpenProviderEx(const WCHAR *printer, DWORD max_version, DWORD pref_version, HPTPROVIDER *provider, DWORD *used_version)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment