ReactOS  0.4.15-dev-2704-gd5265b0
msdadc.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2009 Huw Davies
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 import "oaidl.idl";
20 import "ocidl.idl";
21 import "oledb.idl";
22 
23 [
24  object,
26  uuid(0c733a8d-2a1c-11ce-ade5-00aa0044773d)
27 ]
29 {
31 
33  {
39  };
40 
41  [local] HRESULT DataConvert([in] DBTYPE wSrcType,
42  [in] DBTYPE wDstType,
43  [in] DBLENGTH cbSrcLength,
44  [in, out] DBLENGTH *pcbDstLength,
45  [in] void *pSrc,
46  [out] void *pDst,
47  [in] DBLENGTH cbDstMaxLength,
48  [in] DBSTATUS dbsSrcStatus,
49  [out] DBSTATUS *pdbsDstStatus,
50  [in] BYTE bPrecision,
51  [in] BYTE bScale,
53 
54 
55  HRESULT CanConvert([in] DBTYPE wSrcType,
56  [in] DBTYPE wDstType);
57 
58 
60  [in] DBTYPE wDstType,
61  [in] DBLENGTH *pcbSrcLength,
62  [out] DBLENGTH *pcbDstLength,
63  [in, size_is(*pcbSrcLength)] void *pSrc);
64 };
65 
66 [
67  object,
69  uuid(0c733a9c-2a1c-11ce-ade5-00aa0044773d)
70 ]
71 interface IDCInfo : IUnknown
72 {
73  typedef DWORD DCINFOTYPE;
74 
76  {
78  };
79 
80  typedef struct tagDCINFO
81  {
84  } DCINFO;
85 
86  HRESULT GetInfo([in] ULONG cInfo,
87  [in, size_is(cInfo)] DCINFOTYPE rgeInfoType[],
88  [out, size_is(cInfo)] DCINFO **prgInfo);
89 
90  HRESULT SetInfo([in] ULONG cInfo,
91  [in, size_is(cInfo)] DCINFO prgInfo[]);
92 };
ULONG DBLENGTH
Definition: oledb.idl:35
struct IDCInfo::tagDCINFO DCINFO
coclass MSXML2::XSLTemplate40 object
DCINFOTYPE eInfoType
Definition: msdadc.idl:82
DWORD DBDATACONVERT
Definition: msdadc.idl:30
DWORD DCINFOTYPE
Definition: msdadc.idl:73
HRESULT GetConversionSize([in] DBTYPE wSrcType, [in] DBTYPE wDstType, [in] DBLENGTH *pcbSrcLength, [out] DBLENGTH *pcbDstLength, [in, size_is(*pcbSrcLength)] void *pSrc)
coclass PSFactoryBuffer pointer_default(unique)] interface ObjectRpcBaseTypes
Definition: dcom.idl:35
HRESULT SetInfo([in] ULONG cInfo, [in, size_is(cInfo)] DCINFO prgInfo[])
LONG HRESULT
Definition: typedefs.h:79
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
DCINFOTYPEENUM
Definition: msdadc.idl:75
unsigned char BYTE
Definition: xxhash.c:193
#define local
Definition: zutil.h:30
WORD DBTYPE
Definition: dbs.idl:113
GLuint in
Definition: glext.h:9616
HRESULT GetInfo([in] ULONG cInfo, [in, size_is(cInfo)] DCINFOTYPE rgeInfoType[], [out, size_is(cInfo)] DCINFO **prgInfo)
DWORD DBSTATUS
Definition: dbs.idl:166
unsigned int ULONG
Definition: retypes.h:1
HRESULT CanConvert([in] DBTYPE wSrcType, [in] DBTYPE wDstType)
HRESULT DataConvert([in] DBTYPE wSrcType, [in] DBTYPE wDstType, [in] DBLENGTH cbSrcLength, [in, out] DBLENGTH *pcbDstLength, [in] void *pSrc, [out] void *pDst, [in] DBLENGTH cbDstMaxLength, [in] DBSTATUS dbsSrcStatus, [out] DBSTATUS *pdbsDstStatus, [in] BYTE bPrecision, [in] BYTE bScale, [in] DBDATACONVERT dwFlags)