include: Add IConvertType interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e9d6612a01
commit
34155d0998
|
@ -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 \
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* 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>")
|
||||
|
||||
|
|
Loading…
Reference in New Issue