include: Add ICommandPrepare interface.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2020-11-11 21:32:53 +11:00 committed by Alexandre Julliard
parent 67295a7844
commit 82ea4cb6e0
4 changed files with 67 additions and 0 deletions

View File

@ -1629,3 +1629,27 @@ HRESULT __RPC_STUB IConvertType_CanConvert_Stub(IConvertType* This, DBTYPE from,
FIXME("(%p)->(%d %d 0x%08x %p): stub\n", This, from, to, flags, error);
return E_NOTIMPL;
}
HRESULT CALLBACK ICommandPrepare_Prepare_Proxy(ICommandPrepare* This, ULONG runs)
{
FIXME("(%p)->(%d): stub\n", This, runs);
return E_NOTIMPL;
}
HRESULT __RPC_STUB ICommandPrepare_Prepare_Stub(ICommandPrepare* This, ULONG runs, IErrorInfo **error)
{
FIXME("(%p)->(%d %p): stub\n", This, runs, error);
return E_NOTIMPL;
}
HRESULT CALLBACK ICommandPrepare_Unprepare_Proxy(ICommandPrepare* This)
{
FIXME("(%p)->(): stub\n", This);
return E_NOTIMPL;
}
HRESULT __RPC_STUB ICommandPrepare_Unprepare_Stub(ICommandPrepare* This, IErrorInfo **error)
{
FIXME("(%p)->(%p): stub\n", This, error);
return E_NOTIMPL;
}

View File

@ -63,6 +63,7 @@ SOURCES = \
cierror.h \
clusapi.h \
cmdbas.idl \
cmdpre.idl \
cmdprp.idl \
cmdstrm.idl \
cmdtxt.idl \

41
include/cmdpre.idl Normal file
View File

@ -0,0 +1,41 @@
/*
* Copyright (C) 2020 Alistair Leslie-Hughes
*
* 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
*/
#if 0
#pragma makedep install
#endif
[
object,
uuid(0c733a26-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICommandPrepare : IUnknown
{
[local]
HRESULT Prepare([in] ULONG runs);
[call_as(Prepare)]
HRESULT RemotePrepare([in] ULONG runs,[out] IErrorInfo **error);
[local]
HRESULT Unprepare();
[call_as(Unprepare)]
HRESULT RemoteUnprepare([out] IErrorInfo **error);
}

View File

@ -73,6 +73,7 @@ typedef DWORD_PTR DBHASHVALUE;
#include "cmdstrm.idl"
#include "cmdprp.idl"
#include "cvttyp.idl"
#include "cmdpre.idl"
cpp_quote("#include <accctrl.h>")