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:
Nikolay Sivov 2015-10-26 16:06:19 +03:00 committed by Alexandre Julliard
parent 24fff52c8f
commit 577a75d764
4 changed files with 43 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include "windef.h"
#include "winbase.h"
#include "prntvpt.h"
#include "wine/debug.h"
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);
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;
}

View File

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

View File

@ -514,6 +514,7 @@ SRCDIR_INCLUDES = \
pktdef.h \
poppack.h \
powrprof.h \
prntvpt.h \
profinfo.h \
propkey.h \
propkeydef.h \

34
include/prntvpt.h Normal file
View File

@ -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_ */