prntvpt: Added PTOpenProvider() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
24fff52c8f
commit
577a75d764
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
|
#include "prntvpt.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(prntvpt);
|
WINE_DEFAULT_DEBUG_CHANNEL(prntvpt);
|
||||||
|
@ -48,3 +49,9 @@ HRESULT WINAPI PTQuerySchemaVersionSupport(PCWSTR printer, DWORD *version)
|
||||||
FIXME("stub:%s %p\n", debugstr_w(printer), version);
|
FIXME("stub:%s %p\n", debugstr_w(printer), version);
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI PTOpenProvider(PCWSTR printer, DWORD version, HPTPROVIDER *provider)
|
||||||
|
{
|
||||||
|
FIXME("%s, %d, %p: stub\n", debugstr_w(printer), version, provider);
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@ stdcall PTQuerySchemaVersionSupport(wstr ptr)
|
@ stdcall PTQuerySchemaVersionSupport(wstr ptr)
|
||||||
@ stub PTOpenProvider
|
@ stdcall PTOpenProvider(wstr long ptr)
|
||||||
@ stub PTOpenProviderEx
|
@ stub PTOpenProviderEx
|
||||||
@ stub PTCloseProvider
|
@ stub PTCloseProvider
|
||||||
@ stub BindPTProviderThunk
|
@ stub BindPTProviderThunk
|
||||||
|
|
|
@ -514,6 +514,7 @@ SRCDIR_INCLUDES = \
|
||||||
pktdef.h \
|
pktdef.h \
|
||||||
poppack.h \
|
poppack.h \
|
||||||
powrprof.h \
|
powrprof.h \
|
||||||
|
prntvpt.h \
|
||||||
profinfo.h \
|
profinfo.h \
|
||||||
propkey.h \
|
propkey.h \
|
||||||
propkeydef.h \
|
propkeydef.h \
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2015 Nikolay Sivov for CodeWeavers
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _PRNPTNTV_H_
|
||||||
|
#define _PRNPTNTV_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
DECLARE_HANDLE(HPTPROVIDER);
|
||||||
|
|
||||||
|
HRESULT WINAPI PTOpenProvider(const WCHAR *printer, DWORD version, HPTPROVIDER *provider);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _PRNPTNTV_H_ */
|
Loading…
Reference in New Issue