Commit 34155d09 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

include: Add IConvertType interface.

parent e9d6612a
......@@ -1616,3 +1616,16 @@ HRESULT __RPC_STUB ICommandProperties_SetProperties_Stub(ICommandProperties* Thi
FIXME("(%p)->(%d %p %d %p %p): stub\n", This, count, propertyset, total, propstatus, error);
return E_NOTIMPL;
}
HRESULT CALLBACK IConvertType_CanConvert_Proxy(IConvertType* This, DBTYPE from, DBTYPE to, DBCONVERTFLAGS flags)
{
FIXME("(%p)->(%d %d 0x%08x): stub\n", This, from, to, flags);
return E_NOTIMPL;
}
HRESULT __RPC_STUB IConvertType_CanConvert_Stub(IConvertType* This, DBTYPE from, DBTYPE to,
DBCONVERTFLAGS flags, IErrorInfo **error)
{
FIXME("(%p)->(%d %d 0x%08x %p): stub\n", This, from, to, flags, error);
return E_NOTIMPL;
}
......@@ -91,6 +91,7 @@ SOURCES = \
ctxtcall.idl \
custcntl.h \
cvconst.h \
cvttyp.idl \
d2d1.idl \
d2d1_1.idl \
d2d1_2.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(0c733a88-2a1c-11ce-ade5-00aa0044773d),
pointer_default(unique)
]
interface IConvertType : IUnknown
{
typedef DWORD DBCONVERTFLAGS;
enum DBCONVERTFLAGSENUM
{
DBCONVERTFLAGS_COLUMN = 0x000,
DBCONVERTFLAGS_PARAMETER = 0x001,
};
enum DBCONVERTFLAGSENUM20
{
DBCONVERTFLAGS_ISLONG = 0x002,
DBCONVERTFLAGS_ISFIXEDLENGTH = 0x004,
DBCONVERTFLAGS_FROMVARIANT = 0x008,
};
[local]
HRESULT CanConvert([in] DBTYPE from, [in] DBTYPE to, [in] DBCONVERTFLAGS flags);
[call_as(CanConvert)]
HRESULT RemoteCanConvert([in] DBTYPE from, [in] DBTYPE to, [in] DBCONVERTFLAGS flags, [out] IErrorInfo **error);
}
......@@ -72,6 +72,7 @@ typedef DWORD_PTR DBHASHVALUE;
#include "getdts.idl"
#include "cmdstrm.idl"
#include "cmdprp.idl"
#include "cvttyp.idl"
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