/usr/include/wine/windows/msdadc.h is in wine1.6-dev 1:1.6.2-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 | /*** Autogenerated by WIDL 1.6.2 from msdadc.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __msdadc_h__
#define __msdadc_h__
/* Forward declarations */
#ifndef __IDataConvert_FWD_DEFINED__
#define __IDataConvert_FWD_DEFINED__
typedef interface IDataConvert IDataConvert;
#endif
#ifndef __IDCInfo_FWD_DEFINED__
#define __IDCInfo_FWD_DEFINED__
typedef interface IDCInfo IDCInfo;
#endif
/* Headers for imported files */
#include <oaidl.h>
#include <ocidl.h>
#include <oledb.h>
#ifdef __cplusplus
extern "C" {
#endif
/*****************************************************************************
* IDataConvert interface
*/
#ifndef __IDataConvert_INTERFACE_DEFINED__
#define __IDataConvert_INTERFACE_DEFINED__
typedef DWORD DBDATACONVERT;
enum DBDATACONVERTENUM {
DBDATACONVERT_DEFAULT = 0,
DBDATACONVERT_SETDATABEHAVIOR = 1,
DBDATACONVERT_LENGTHFROMNTS = 2,
DBDATACONVERT_DSTISFIXEDLENGTH = 4,
DBDATACONVERT_DECIMALSCALE = 8
};
DEFINE_GUID(IID_IDataConvert, 0x0c733a8d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a8d-2a1c-11ce-ade5-00aa0044773d")
IDataConvert : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE DataConvert(
DBTYPE wSrcType,
DBTYPE wDstType,
DBLENGTH cbSrcLength,
DBLENGTH *pcbDstLength,
void *pSrc,
void *pDst,
DBLENGTH cbDstMaxLength,
DBSTATUS dbsSrcStatus,
DBSTATUS *pdbsDstStatus,
BYTE bPrecision,
BYTE bScale,
DBDATACONVERT dwFlags) = 0;
virtual HRESULT STDMETHODCALLTYPE CanConvert(
DBTYPE wSrcType,
DBTYPE wDstType) = 0;
virtual HRESULT STDMETHODCALLTYPE GetConversionSize(
DBTYPE wSrcType,
DBTYPE wDstType,
DBLENGTH *pcbSrcLength,
DBLENGTH *pcbDstLength,
void *pSrc) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDataConvert, 0x0c733a8d, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDataConvertVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDataConvert* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDataConvert* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDataConvert* This);
/*** IDataConvert methods ***/
HRESULT (STDMETHODCALLTYPE *DataConvert)(
IDataConvert* This,
DBTYPE wSrcType,
DBTYPE wDstType,
DBLENGTH cbSrcLength,
DBLENGTH *pcbDstLength,
void *pSrc,
void *pDst,
DBLENGTH cbDstMaxLength,
DBSTATUS dbsSrcStatus,
DBSTATUS *pdbsDstStatus,
BYTE bPrecision,
BYTE bScale,
DBDATACONVERT dwFlags);
HRESULT (STDMETHODCALLTYPE *CanConvert)(
IDataConvert* This,
DBTYPE wSrcType,
DBTYPE wDstType);
HRESULT (STDMETHODCALLTYPE *GetConversionSize)(
IDataConvert* This,
DBTYPE wSrcType,
DBTYPE wDstType,
DBLENGTH *pcbSrcLength,
DBLENGTH *pcbDstLength,
void *pSrc);
END_INTERFACE
} IDataConvertVtbl;
interface IDataConvert {
CONST_VTBL IDataConvertVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDataConvert_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDataConvert_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDataConvert_Release(This) (This)->lpVtbl->Release(This)
/*** IDataConvert methods ***/
#define IDataConvert_DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsDstStatus,bPrecision,bScale,dwFlags) (This)->lpVtbl->DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsDstStatus,bPrecision,bScale,dwFlags)
#define IDataConvert_CanConvert(This,wSrcType,wDstType) (This)->lpVtbl->CanConvert(This,wSrcType,wDstType)
#define IDataConvert_GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc) (This)->lpVtbl->GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDataConvert_QueryInterface(IDataConvert* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDataConvert_AddRef(IDataConvert* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDataConvert_Release(IDataConvert* This) {
return This->lpVtbl->Release(This);
}
/*** IDataConvert methods ***/
static FORCEINLINE HRESULT IDataConvert_DataConvert(IDataConvert* This,DBTYPE wSrcType,DBTYPE wDstType,DBLENGTH cbSrcLength,DBLENGTH *pcbDstLength,void *pSrc,void *pDst,DBLENGTH cbDstMaxLength,DBSTATUS dbsSrcStatus,DBSTATUS *pdbsDstStatus,BYTE bPrecision,BYTE bScale,DBDATACONVERT dwFlags) {
return This->lpVtbl->DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsDstStatus,bPrecision,bScale,dwFlags);
}
static FORCEINLINE HRESULT IDataConvert_CanConvert(IDataConvert* This,DBTYPE wSrcType,DBTYPE wDstType) {
return This->lpVtbl->CanConvert(This,wSrcType,wDstType);
}
static FORCEINLINE HRESULT IDataConvert_GetConversionSize(IDataConvert* This,DBTYPE wSrcType,DBTYPE wDstType,DBLENGTH *pcbSrcLength,DBLENGTH *pcbDstLength,void *pSrc) {
return This->lpVtbl->GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDataConvert_CanConvert_Proxy(
IDataConvert* This,
DBTYPE wSrcType,
DBTYPE wDstType);
void __RPC_STUB IDataConvert_CanConvert_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IDataConvert_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDCInfo interface
*/
#ifndef __IDCInfo_INTERFACE_DEFINED__
#define __IDCInfo_INTERFACE_DEFINED__
typedef DWORD DCINFOTYPE;
enum DCINFOTYPEENUM {
DCINFOTYPE_VERSION = 1
};
typedef struct tagDCINFO {
DCINFOTYPE eInfoType;
VARIANT vData;
} DCINFO;
DEFINE_GUID(IID_IDCInfo, 0x0c733a9c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("0c733a9c-2a1c-11ce-ade5-00aa0044773d")
IDCInfo : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetInfo(
ULONG cInfo,
DCINFOTYPE rgeInfoType[],
DCINFO **prgInfo) = 0;
virtual HRESULT STDMETHODCALLTYPE SetInfo(
ULONG cInfo,
DCINFO prgInfo[]) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDCInfo, 0x0c733a9c, 0x2a1c, 0x11ce, 0xad,0xe5, 0x00,0xaa,0x00,0x44,0x77,0x3d)
#endif
#else
typedef struct IDCInfoVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDCInfo* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDCInfo* This);
ULONG (STDMETHODCALLTYPE *Release)(
IDCInfo* This);
/*** IDCInfo methods ***/
HRESULT (STDMETHODCALLTYPE *GetInfo)(
IDCInfo* This,
ULONG cInfo,
DCINFOTYPE rgeInfoType[],
DCINFO **prgInfo);
HRESULT (STDMETHODCALLTYPE *SetInfo)(
IDCInfo* This,
ULONG cInfo,
DCINFO prgInfo[]);
END_INTERFACE
} IDCInfoVtbl;
interface IDCInfo {
CONST_VTBL IDCInfoVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDCInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDCInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDCInfo_Release(This) (This)->lpVtbl->Release(This)
/*** IDCInfo methods ***/
#define IDCInfo_GetInfo(This,cInfo,rgeInfoType,prgInfo) (This)->lpVtbl->GetInfo(This,cInfo,rgeInfoType,prgInfo)
#define IDCInfo_SetInfo(This,cInfo,prgInfo) (This)->lpVtbl->SetInfo(This,cInfo,prgInfo)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDCInfo_QueryInterface(IDCInfo* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDCInfo_AddRef(IDCInfo* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDCInfo_Release(IDCInfo* This) {
return This->lpVtbl->Release(This);
}
/*** IDCInfo methods ***/
static FORCEINLINE HRESULT IDCInfo_GetInfo(IDCInfo* This,ULONG cInfo,DCINFOTYPE rgeInfoType[],DCINFO **prgInfo) {
return This->lpVtbl->GetInfo(This,cInfo,rgeInfoType,prgInfo);
}
static FORCEINLINE HRESULT IDCInfo_SetInfo(IDCInfo* This,ULONG cInfo,DCINFO prgInfo[]) {
return This->lpVtbl->SetInfo(This,cInfo,prgInfo);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDCInfo_GetInfo_Proxy(
IDCInfo* This,
ULONG cInfo,
DCINFOTYPE rgeInfoType[],
DCINFO **prgInfo);
void __RPC_STUB IDCInfo_GetInfo_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDCInfo_SetInfo_Proxy(
IDCInfo* This,
ULONG cInfo,
DCINFO prgInfo[]);
void __RPC_STUB IDCInfo_SetInfo_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IDCInfo_INTERFACE_DEFINED__ */
/* Begin additional prototypes for all interfaces */
ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __msdadc_h__ */
|