include: Add cmdtxt.idl.

oldstable
Huw Davies 2009-10-26 15:42:13 +00:00 committed by Alexandre Julliard
parent 8b5431ad3a
commit 19672d7167
5 changed files with 74 additions and 0 deletions

View File

@ -645,3 +645,30 @@ HRESULT __RPC_STUB ICommand_GetDBSession_Stub(ICommand* This, REFIID riid, IUnkn
FIXME("(%p)->(%s, %p, %p): stub\n", This, debugstr_guid(riid), ppSession, ppErrorInfoRem);
return E_NOTIMPL;
}
HRESULT CALLBACK ICommandText_GetCommandText_Proxy(ICommandText* This, GUID *pguidDialect, LPOLESTR *ppwszCommand)
{
FIXME("(%p)->(%p, %p): stub\n", This, pguidDialect, ppwszCommand);
return E_NOTIMPL;
}
HRESULT __RPC_STUB ICommandText_GetCommandText_Stub(ICommandText* This, GUID *pguidDialect,
LPOLESTR *ppwszCommand, IErrorInfo **ppErrorInfoRem)
{
FIXME("(%p)->(%p, %p, %p): stub\n", This, pguidDialect, ppwszCommand, ppErrorInfoRem);
return E_NOTIMPL;
}
HRESULT CALLBACK ICommandText_SetCommandText_Proxy(ICommandText* This, REFGUID rguidDialect, LPCOLESTR pwszCommand)
{
FIXME("(%p)->(%s, %s): stub\n", This, debugstr_guid(rguidDialect), debugstr_w(pwszCommand));
return E_NOTIMPL;
}
HRESULT __RPC_STUB ICommandText_SetCommandText_Stub(ICommandText* This, REFGUID rguidDialect, LPCOLESTR pwszCommand,
IErrorInfo **ppErrorInfoRem)
{
FIXME("(%p)->(%s, %s, %p): stub\n", This, debugstr_guid(rguidDialect), debugstr_w(pwszCommand),
ppErrorInfoRem);
return E_NOTIMPL;
}

View File

@ -118,6 +118,7 @@ SRCDIR_INCLUDES = \
cierror.h \
clusapi.h \
cmdbas.idl \
cmdtxt.idl \
commctrl.h \
commctrl.rh \
commdlg.h \

44
include/cmdtxt.idl 100644
View File

@ -0,0 +1,44 @@
/*
* Copyright (C) 2009 Huw Davies
*
* 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
*/
[
object,
uuid(0c733a27-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface ICommandText : ICommand
{
[local]
HRESULT GetCommandText([in, out /*, annotation("__inout_opt")*/] GUID *pguidDialect,
[out /*, annotation("__deref_out")*/] LPOLESTR *ppwszCommand);
[call_as(GetCommandText)]
HRESULT RemoteGetCommandText([in, out, unique] GUID *pguidDialect,
[out] LPOLESTR *ppwszCommand,
[out] IErrorInfo **ppErrorInfoRem);
[local]
HRESULT SetCommandText([in] REFGUID rguidDialect,
[in, unique /*, annotation("__in_z_opt")*/] LPCOLESTR pwszCommand);
[call_as(SetCommandText)]
HRESULT RemoteSetCommandText([in] REFGUID rguidDialect,
[in, unique] LPCOLESTR pwszCommand,
[out] IErrorInfo **ppErrorInfoRem);
};

View File

@ -43,6 +43,7 @@ typedef LONG DB_LPARAMS;
#include "access.idl"
#include "cmdbas.idl"
#include "cmdtxt.idl"
#include "dbccmd.idl"
#include "dbcses.idl"
#include "dbprop.idl"

View File

@ -114,6 +114,7 @@ my %private_idl_headers = (
"axextend.idl" => 1,
"binres.idl" => 1,
"cmdbas.idl" => 1,
"cmdtxt.idl" => 1,
"crtrow.idl" => 1,
"dbccmd.idl" => 1,
"dbcses.idl" => 1,