Commit 82ea4cb6 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

include: Add ICommandPrepare interface.

parent 67295a78
...@@ -1629,3 +1629,27 @@ HRESULT __RPC_STUB IConvertType_CanConvert_Stub(IConvertType* This, DBTYPE from, ...@@ -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); FIXME("(%p)->(%d %d 0x%08x %p): stub\n", This, from, to, flags, error);
return E_NOTIMPL; 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;
}
...@@ -63,6 +63,7 @@ SOURCES = \ ...@@ -63,6 +63,7 @@ SOURCES = \
cierror.h \ cierror.h \
clusapi.h \ clusapi.h \
cmdbas.idl \ cmdbas.idl \
cmdpre.idl \
cmdprp.idl \ cmdprp.idl \
cmdstrm.idl \ cmdstrm.idl \
cmdtxt.idl \ cmdtxt.idl \
......
/*
* 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);
}
...@@ -73,6 +73,7 @@ typedef DWORD_PTR DBHASHVALUE; ...@@ -73,6 +73,7 @@ typedef DWORD_PTR DBHASHVALUE;
#include "cmdstrm.idl" #include "cmdstrm.idl"
#include "cmdprp.idl" #include "cmdprp.idl"
#include "cvttyp.idl" #include "cvttyp.idl"
#include "cmdpre.idl"
cpp_quote("#include <accctrl.h>") cpp_quote("#include <accctrl.h>")
......
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