Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

446 lines
13 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for msdadc.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __msdadc_h__
  27. #define __msdadc_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDataConvert_FWD_DEFINED__
  33. #define __IDataConvert_FWD_DEFINED__
  34. typedef interface IDataConvert IDataConvert;
  35. #endif /* __IDataConvert_FWD_DEFINED__ */
  36. #ifndef __IDCInfo_FWD_DEFINED__
  37. #define __IDCInfo_FWD_DEFINED__
  38. typedef interface IDCInfo IDCInfo;
  39. #endif /* __IDCInfo_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "oaidl.h"
  42. #include "ocidl.h"
  43. #include "oledb.h"
  44. #ifdef __cplusplus
  45. extern "C"{
  46. #endif
  47. void * __RPC_USER MIDL_user_allocate(size_t);
  48. void __RPC_USER MIDL_user_free( void * );
  49. /* interface __MIDL_itf_msdadc_0000 */
  50. /* [local] */
  51. //-----------------------------------------------------------------------------
  52. // File: .C or .H file generated by msdadc.idl
  53. //
  54. // Copyright: Copyright (c) 1998-1999 Microsoft Corporation
  55. //
  56. // Contents: .C or .H file generated by msdadc.idl
  57. //
  58. // Comments:
  59. //
  60. //-----------------------------------------------------------------------------
  61. #include <pshpack8.h> // 8-byte structure packing
  62. #undef OLEDBDECLSPEC
  63. #if _MSC_VER >= 1100
  64. #define OLEDBDECLSPEC __declspec(selectany)
  65. #else
  66. #define OLEDBDECLSPEC
  67. #endif //_MSC_VER
  68. extern RPC_IF_HANDLE __MIDL_itf_msdadc_0000_v0_0_c_ifspec;
  69. extern RPC_IF_HANDLE __MIDL_itf_msdadc_0000_v0_0_s_ifspec;
  70. #ifndef __IDataConvert_INTERFACE_DEFINED__
  71. #define __IDataConvert_INTERFACE_DEFINED__
  72. /* interface IDataConvert */
  73. /* [unique][helpstring][uuid][object] */
  74. typedef DWORD DBDATACONVERT;
  75. enum DBDATACONVERTENUM
  76. { DBDATACONVERT_DEFAULT = 0,
  77. DBDATACONVERT_SETDATABEHAVIOR = 0x1,
  78. DBDATACONVERT_LENGTHFROMNTS = 0x2,
  79. DBDATACONVERT_DSTISFIXEDLENGTH = 0x4,
  80. DBDATACONVERT_DECIMALSCALE = 0x8
  81. } ;
  82. EXTERN_C const IID IID_IDataConvert;
  83. #if defined(__cplusplus) && !defined(CINTERFACE)
  84. MIDL_INTERFACE("0c733a8d-2a1c-11ce-ade5-00aa0044773d")
  85. IDataConvert : public IUnknown
  86. {
  87. public:
  88. virtual /* [local] */ HRESULT STDMETHODCALLTYPE DataConvert(
  89. /* [in] */ DBTYPE wSrcType,
  90. /* [in] */ DBTYPE wDstType,
  91. /* [in] */ DBLENGTH cbSrcLength,
  92. /* [out][in] */ DBLENGTH *pcbDstLength,
  93. /* [in] */ void *pSrc,
  94. /* [out] */ void *pDst,
  95. /* [in] */ DBLENGTH cbDstMaxLength,
  96. /* [in] */ DBSTATUS dbsSrcStatus,
  97. /* [out] */ DBSTATUS *pdbsStatus,
  98. /* [in] */ BYTE bPrecision,
  99. /* [in] */ BYTE bScale,
  100. /* [in] */ DBDATACONVERT dwFlags) = 0;
  101. virtual HRESULT STDMETHODCALLTYPE CanConvert(
  102. /* [in] */ DBTYPE wSrcType,
  103. /* [in] */ DBTYPE wDstType) = 0;
  104. virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetConversionSize(
  105. /* [in] */ DBTYPE wSrcType,
  106. /* [in] */ DBTYPE wDstType,
  107. /* [in] */ DBLENGTH *pcbSrcLength,
  108. /* [out] */ DBLENGTH *pcbDstLength,
  109. /* [size_is][in] */ void *pSrc) = 0;
  110. };
  111. #else /* C style interface */
  112. typedef struct IDataConvertVtbl
  113. {
  114. BEGIN_INTERFACE
  115. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  116. IDataConvert * This,
  117. /* [in] */ REFIID riid,
  118. /* [iid_is][out] */ void **ppvObject);
  119. ULONG ( STDMETHODCALLTYPE *AddRef )(
  120. IDataConvert * This);
  121. ULONG ( STDMETHODCALLTYPE *Release )(
  122. IDataConvert * This);
  123. /* [local] */ HRESULT ( STDMETHODCALLTYPE *DataConvert )(
  124. IDataConvert * This,
  125. /* [in] */ DBTYPE wSrcType,
  126. /* [in] */ DBTYPE wDstType,
  127. /* [in] */ DBLENGTH cbSrcLength,
  128. /* [out][in] */ DBLENGTH *pcbDstLength,
  129. /* [in] */ void *pSrc,
  130. /* [out] */ void *pDst,
  131. /* [in] */ DBLENGTH cbDstMaxLength,
  132. /* [in] */ DBSTATUS dbsSrcStatus,
  133. /* [out] */ DBSTATUS *pdbsStatus,
  134. /* [in] */ BYTE bPrecision,
  135. /* [in] */ BYTE bScale,
  136. /* [in] */ DBDATACONVERT dwFlags);
  137. HRESULT ( STDMETHODCALLTYPE *CanConvert )(
  138. IDataConvert * This,
  139. /* [in] */ DBTYPE wSrcType,
  140. /* [in] */ DBTYPE wDstType);
  141. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetConversionSize )(
  142. IDataConvert * This,
  143. /* [in] */ DBTYPE wSrcType,
  144. /* [in] */ DBTYPE wDstType,
  145. /* [in] */ DBLENGTH *pcbSrcLength,
  146. /* [out] */ DBLENGTH *pcbDstLength,
  147. /* [size_is][in] */ void *pSrc);
  148. END_INTERFACE
  149. } IDataConvertVtbl;
  150. interface IDataConvert
  151. {
  152. CONST_VTBL struct IDataConvertVtbl *lpVtbl;
  153. };
  154. #ifdef COBJMACROS
  155. #define IDataConvert_QueryInterface(This,riid,ppvObject) \
  156. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  157. #define IDataConvert_AddRef(This) \
  158. (This)->lpVtbl -> AddRef(This)
  159. #define IDataConvert_Release(This) \
  160. (This)->lpVtbl -> Release(This)
  161. #define IDataConvert_DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsStatus,bPrecision,bScale,dwFlags) \
  162. (This)->lpVtbl -> DataConvert(This,wSrcType,wDstType,cbSrcLength,pcbDstLength,pSrc,pDst,cbDstMaxLength,dbsSrcStatus,pdbsStatus,bPrecision,bScale,dwFlags)
  163. #define IDataConvert_CanConvert(This,wSrcType,wDstType) \
  164. (This)->lpVtbl -> CanConvert(This,wSrcType,wDstType)
  165. #define IDataConvert_GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc) \
  166. (This)->lpVtbl -> GetConversionSize(This,wSrcType,wDstType,pcbSrcLength,pcbDstLength,pSrc)
  167. #endif /* COBJMACROS */
  168. #endif /* C style interface */
  169. /* [local] */ HRESULT STDMETHODCALLTYPE IDataConvert_DataConvert_Proxy(
  170. IDataConvert * This,
  171. /* [in] */ DBTYPE wSrcType,
  172. /* [in] */ DBTYPE wDstType,
  173. /* [in] */ DBLENGTH cbSrcLength,
  174. /* [out][in] */ DBLENGTH *pcbDstLength,
  175. /* [in] */ void *pSrc,
  176. /* [out] */ void *pDst,
  177. /* [in] */ DBLENGTH cbDstMaxLength,
  178. /* [in] */ DBSTATUS dbsSrcStatus,
  179. /* [out] */ DBSTATUS *pdbsStatus,
  180. /* [in] */ BYTE bPrecision,
  181. /* [in] */ BYTE bScale,
  182. /* [in] */ DBDATACONVERT dwFlags);
  183. void __RPC_STUB IDataConvert_DataConvert_Stub(
  184. IRpcStubBuffer *This,
  185. IRpcChannelBuffer *_pRpcChannelBuffer,
  186. PRPC_MESSAGE _pRpcMessage,
  187. DWORD *_pdwStubPhase);
  188. HRESULT STDMETHODCALLTYPE IDataConvert_CanConvert_Proxy(
  189. IDataConvert * This,
  190. /* [in] */ DBTYPE wSrcType,
  191. /* [in] */ DBTYPE wDstType);
  192. void __RPC_STUB IDataConvert_CanConvert_Stub(
  193. IRpcStubBuffer *This,
  194. IRpcChannelBuffer *_pRpcChannelBuffer,
  195. PRPC_MESSAGE _pRpcMessage,
  196. DWORD *_pdwStubPhase);
  197. /* [local] */ HRESULT STDMETHODCALLTYPE IDataConvert_GetConversionSize_Proxy(
  198. IDataConvert * This,
  199. /* [in] */ DBTYPE wSrcType,
  200. /* [in] */ DBTYPE wDstType,
  201. /* [in] */ DBLENGTH *pcbSrcLength,
  202. /* [out] */ DBLENGTH *pcbDstLength,
  203. /* [size_is][in] */ void *pSrc);
  204. void __RPC_STUB IDataConvert_GetConversionSize_Stub(
  205. IRpcStubBuffer *This,
  206. IRpcChannelBuffer *_pRpcChannelBuffer,
  207. PRPC_MESSAGE _pRpcMessage,
  208. DWORD *_pdwStubPhase);
  209. #endif /* __IDataConvert_INTERFACE_DEFINED__ */
  210. #ifndef __IDCInfo_INTERFACE_DEFINED__
  211. #define __IDCInfo_INTERFACE_DEFINED__
  212. /* interface IDCInfo */
  213. /* [unique][helpstring][uuid][object] */
  214. typedef DWORD DCINFOTYPE;
  215. enum DCINFOTYPEENUM
  216. { DCINFOTYPE_VERSION = 1
  217. } ;
  218. typedef struct tagDCINFO
  219. {
  220. DCINFOTYPE eInfoType;
  221. VARIANT vData;
  222. } DCINFO;
  223. EXTERN_C const IID IID_IDCInfo;
  224. #if defined(__cplusplus) && !defined(CINTERFACE)
  225. MIDL_INTERFACE("0c733a9c-2a1c-11ce-ade5-00aa0044773d")
  226. IDCInfo : public IUnknown
  227. {
  228. public:
  229. virtual HRESULT STDMETHODCALLTYPE GetInfo(
  230. /* [in] */ ULONG cInfo,
  231. /* [size_is][in] */ DCINFOTYPE rgeInfoType[ ],
  232. /* [size_is][out] */ DCINFO **prgInfo) = 0;
  233. virtual HRESULT STDMETHODCALLTYPE SetInfo(
  234. /* [in] */ ULONG cInfo,
  235. /* [size_is][in] */ DCINFO rgInfo[ ]) = 0;
  236. };
  237. #else /* C style interface */
  238. typedef struct IDCInfoVtbl
  239. {
  240. BEGIN_INTERFACE
  241. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  242. IDCInfo * This,
  243. /* [in] */ REFIID riid,
  244. /* [iid_is][out] */ void **ppvObject);
  245. ULONG ( STDMETHODCALLTYPE *AddRef )(
  246. IDCInfo * This);
  247. ULONG ( STDMETHODCALLTYPE *Release )(
  248. IDCInfo * This);
  249. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  250. IDCInfo * This,
  251. /* [in] */ ULONG cInfo,
  252. /* [size_is][in] */ DCINFOTYPE rgeInfoType[ ],
  253. /* [size_is][out] */ DCINFO **prgInfo);
  254. HRESULT ( STDMETHODCALLTYPE *SetInfo )(
  255. IDCInfo * This,
  256. /* [in] */ ULONG cInfo,
  257. /* [size_is][in] */ DCINFO rgInfo[ ]);
  258. END_INTERFACE
  259. } IDCInfoVtbl;
  260. interface IDCInfo
  261. {
  262. CONST_VTBL struct IDCInfoVtbl *lpVtbl;
  263. };
  264. #ifdef COBJMACROS
  265. #define IDCInfo_QueryInterface(This,riid,ppvObject) \
  266. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  267. #define IDCInfo_AddRef(This) \
  268. (This)->lpVtbl -> AddRef(This)
  269. #define IDCInfo_Release(This) \
  270. (This)->lpVtbl -> Release(This)
  271. #define IDCInfo_GetInfo(This,cInfo,rgeInfoType,prgInfo) \
  272. (This)->lpVtbl -> GetInfo(This,cInfo,rgeInfoType,prgInfo)
  273. #define IDCInfo_SetInfo(This,cInfo,rgInfo) \
  274. (This)->lpVtbl -> SetInfo(This,cInfo,rgInfo)
  275. #endif /* COBJMACROS */
  276. #endif /* C style interface */
  277. HRESULT STDMETHODCALLTYPE IDCInfo_GetInfo_Proxy(
  278. IDCInfo * This,
  279. /* [in] */ ULONG cInfo,
  280. /* [size_is][in] */ DCINFOTYPE rgeInfoType[ ],
  281. /* [size_is][out] */ DCINFO **prgInfo);
  282. void __RPC_STUB IDCInfo_GetInfo_Stub(
  283. IRpcStubBuffer *This,
  284. IRpcChannelBuffer *_pRpcChannelBuffer,
  285. PRPC_MESSAGE _pRpcMessage,
  286. DWORD *_pdwStubPhase);
  287. HRESULT STDMETHODCALLTYPE IDCInfo_SetInfo_Proxy(
  288. IDCInfo * This,
  289. /* [in] */ ULONG cInfo,
  290. /* [size_is][in] */ DCINFO rgInfo[ ]);
  291. void __RPC_STUB IDCInfo_SetInfo_Stub(
  292. IRpcStubBuffer *This,
  293. IRpcChannelBuffer *_pRpcChannelBuffer,
  294. PRPC_MESSAGE _pRpcMessage,
  295. DWORD *_pdwStubPhase);
  296. #endif /* __IDCInfo_INTERFACE_DEFINED__ */
  297. /* interface __MIDL_itf_msdadc_0360 */
  298. /* [local] */
  299. extern const GUID OLEDBDECLSPEC IID_IDataConvert = { 0x0c733a8dL,0x2a1c,0x11ce, { 0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d } };
  300. extern const GUID OLEDBDECLSPEC IID_IDCInfo = { 0x0c733a9cL,0x2a1c,0x11ce, { 0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d } };
  301. #include <poppack.h> // restore original structure packing
  302. extern RPC_IF_HANDLE __MIDL_itf_msdadc_0360_v0_0_c_ifspec;
  303. extern RPC_IF_HANDLE __MIDL_itf_msdadc_0360_v0_0_s_ifspec;
  304. /* Additional Prototypes for ALL interfaces */
  305. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  306. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  307. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  308. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  309. /* end of Additional Prototypes */
  310. #ifdef __cplusplus
  311. }
  312. #endif
  313. #endif