Source code of Windows XP (NT5)
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.

431 lines
12 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for msdatsrc.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  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__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __msdatsrc_h__
  20. #define __msdatsrc_h__
  21. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  22. #pragma once
  23. #endif
  24. /* Forward Declarations */
  25. #ifndef __DataSourceListener_FWD_DEFINED__
  26. #define __DataSourceListener_FWD_DEFINED__
  27. typedef interface DataSourceListener DataSourceListener;
  28. #endif /* __DataSourceListener_FWD_DEFINED__ */
  29. #ifndef __DataSource_FWD_DEFINED__
  30. #define __DataSource_FWD_DEFINED__
  31. typedef interface DataSource DataSource;
  32. #endif /* __DataSource_FWD_DEFINED__ */
  33. #ifdef __cplusplus
  34. extern "C"{
  35. #endif
  36. void * __RPC_USER MIDL_user_allocate(size_t);
  37. void __RPC_USER MIDL_user_free( void * );
  38. /* interface __MIDL_itf_msdatsrc_0000 */
  39. /* [local] */
  40. //-----------------------------------------------------------------------------
  41. // File: .C or .H file generated by msdatsrc.idl
  42. //
  43. // Copyright: Copyright (c) 1998-1999 Microsoft Corporation
  44. //
  45. // Contents: .C or .H file generated by msdatsrc.idl
  46. //
  47. // Comments:
  48. //
  49. //-----------------------------------------------------------------------------
  50. // For non-VC5 compilers
  51. #if _MSC_VER >= 1100
  52. #define DECLSPEC_UUID(x) __declspec(uuid(x))
  53. #else
  54. #define DECLSPEC_UUID(x)
  55. #endif
  56. // C/C++ interface names
  57. #define IDataSource DataSource
  58. #define IDataSourceListener DataSourceListener
  59. // Component category guids
  60. EXTERN_C const IID CATID_DataSource;
  61. EXTERN_C const IID CATID_DataConsumer;
  62. extern RPC_IF_HANDLE __MIDL_itf_msdatsrc_0000_v0_0_c_ifspec;
  63. extern RPC_IF_HANDLE __MIDL_itf_msdatsrc_0000_v0_0_s_ifspec;
  64. #ifndef __MSDATASRC_LIBRARY_DEFINED__
  65. #define __MSDATASRC_LIBRARY_DEFINED__
  66. /* library MSDATASRC */
  67. /* [helpstring][version][uuid] */
  68. typedef /* [uuid] */ DECLSPEC_UUID("7c0ffab1-cd84-11d0-949a-00a0c91110ed") BSTR DataMember;
  69. EXTERN_C const IID LIBID_MSDATASRC;
  70. #ifndef __DataSourceListener_INTERFACE_DEFINED__
  71. #define __DataSourceListener_INTERFACE_DEFINED__
  72. /* interface DataSourceListener */
  73. /* [object][hidden][oleautomation][uuid] */
  74. EXTERN_C const IID IID_DataSourceListener;
  75. #if defined(__cplusplus) && !defined(CINTERFACE)
  76. MIDL_INTERFACE("7c0ffab2-cd84-11d0-949a-00a0c91110ed")
  77. DataSourceListener : public IUnknown
  78. {
  79. public:
  80. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE dataMemberChanged(
  81. /* [in] */ DataMember bstrDM) = 0;
  82. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE dataMemberAdded(
  83. /* [in] */ DataMember bstrDM) = 0;
  84. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE dataMemberRemoved(
  85. /* [in] */ DataMember bstrDM) = 0;
  86. };
  87. #else /* C style interface */
  88. typedef struct DataSourceListenerVtbl
  89. {
  90. BEGIN_INTERFACE
  91. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  92. DataSourceListener * This,
  93. /* [in] */ REFIID riid,
  94. /* [iid_is][out] */ void **ppvObject);
  95. ULONG ( STDMETHODCALLTYPE *AddRef )(
  96. DataSourceListener * This);
  97. ULONG ( STDMETHODCALLTYPE *Release )(
  98. DataSourceListener * This);
  99. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *dataMemberChanged )(
  100. DataSourceListener * This,
  101. /* [in] */ DataMember bstrDM);
  102. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *dataMemberAdded )(
  103. DataSourceListener * This,
  104. /* [in] */ DataMember bstrDM);
  105. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *dataMemberRemoved )(
  106. DataSourceListener * This,
  107. /* [in] */ DataMember bstrDM);
  108. END_INTERFACE
  109. } DataSourceListenerVtbl;
  110. interface DataSourceListener
  111. {
  112. CONST_VTBL struct DataSourceListenerVtbl *lpVtbl;
  113. };
  114. #ifdef COBJMACROS
  115. #define DataSourceListener_QueryInterface(This,riid,ppvObject) \
  116. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  117. #define DataSourceListener_AddRef(This) \
  118. (This)->lpVtbl -> AddRef(This)
  119. #define DataSourceListener_Release(This) \
  120. (This)->lpVtbl -> Release(This)
  121. #define DataSourceListener_dataMemberChanged(This,bstrDM) \
  122. (This)->lpVtbl -> dataMemberChanged(This,bstrDM)
  123. #define DataSourceListener_dataMemberAdded(This,bstrDM) \
  124. (This)->lpVtbl -> dataMemberAdded(This,bstrDM)
  125. #define DataSourceListener_dataMemberRemoved(This,bstrDM) \
  126. (This)->lpVtbl -> dataMemberRemoved(This,bstrDM)
  127. #endif /* COBJMACROS */
  128. #endif /* C style interface */
  129. /* [hidden] */ HRESULT STDMETHODCALLTYPE DataSourceListener_dataMemberChanged_Proxy(
  130. DataSourceListener * This,
  131. /* [in] */ DataMember bstrDM);
  132. void __RPC_STUB DataSourceListener_dataMemberChanged_Stub(
  133. IRpcStubBuffer *This,
  134. IRpcChannelBuffer *_pRpcChannelBuffer,
  135. PRPC_MESSAGE _pRpcMessage,
  136. DWORD *_pdwStubPhase);
  137. /* [hidden] */ HRESULT STDMETHODCALLTYPE DataSourceListener_dataMemberAdded_Proxy(
  138. DataSourceListener * This,
  139. /* [in] */ DataMember bstrDM);
  140. void __RPC_STUB DataSourceListener_dataMemberAdded_Stub(
  141. IRpcStubBuffer *This,
  142. IRpcChannelBuffer *_pRpcChannelBuffer,
  143. PRPC_MESSAGE _pRpcMessage,
  144. DWORD *_pdwStubPhase);
  145. /* [hidden] */ HRESULT STDMETHODCALLTYPE DataSourceListener_dataMemberRemoved_Proxy(
  146. DataSourceListener * This,
  147. /* [in] */ DataMember bstrDM);
  148. void __RPC_STUB DataSourceListener_dataMemberRemoved_Stub(
  149. IRpcStubBuffer *This,
  150. IRpcChannelBuffer *_pRpcChannelBuffer,
  151. PRPC_MESSAGE _pRpcMessage,
  152. DWORD *_pdwStubPhase);
  153. #endif /* __DataSourceListener_INTERFACE_DEFINED__ */
  154. #ifndef __DataSource_INTERFACE_DEFINED__
  155. #define __DataSource_INTERFACE_DEFINED__
  156. /* interface DataSource */
  157. /* [object][oleautomation][uuid] */
  158. EXTERN_C const IID IID_DataSource;
  159. #if defined(__cplusplus) && !defined(CINTERFACE)
  160. MIDL_INTERFACE("7c0ffab3-cd84-11d0-949a-00a0c91110ed")
  161. DataSource : public IUnknown
  162. {
  163. public:
  164. virtual /* [restricted][hidden] */ HRESULT STDMETHODCALLTYPE getDataMember(
  165. /* [in] */ DataMember bstrDM,
  166. /* [in] */ REFIID riid,
  167. /* [retval][out] */ IUnknown **ppunk) = 0;
  168. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE getDataMemberName(
  169. /* [in] */ long lIndex,
  170. /* [retval][out] */ DataMember *pbstrDM) = 0;
  171. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE getDataMemberCount(
  172. /* [retval][out] */ long *plCount) = 0;
  173. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE addDataSourceListener(
  174. /* [in] */ DataSourceListener *pDSL) = 0;
  175. virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE removeDataSourceListener(
  176. /* [in] */ DataSourceListener *pDSL) = 0;
  177. };
  178. #else /* C style interface */
  179. typedef struct DataSourceVtbl
  180. {
  181. BEGIN_INTERFACE
  182. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  183. DataSource * This,
  184. /* [in] */ REFIID riid,
  185. /* [iid_is][out] */ void **ppvObject);
  186. ULONG ( STDMETHODCALLTYPE *AddRef )(
  187. DataSource * This);
  188. ULONG ( STDMETHODCALLTYPE *Release )(
  189. DataSource * This);
  190. /* [restricted][hidden] */ HRESULT ( STDMETHODCALLTYPE *getDataMember )(
  191. DataSource * This,
  192. /* [in] */ DataMember bstrDM,
  193. /* [in] */ REFIID riid,
  194. /* [retval][out] */ IUnknown **ppunk);
  195. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *getDataMemberName )(
  196. DataSource * This,
  197. /* [in] */ long lIndex,
  198. /* [retval][out] */ DataMember *pbstrDM);
  199. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *getDataMemberCount )(
  200. DataSource * This,
  201. /* [retval][out] */ long *plCount);
  202. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *addDataSourceListener )(
  203. DataSource * This,
  204. /* [in] */ DataSourceListener *pDSL);
  205. /* [hidden] */ HRESULT ( STDMETHODCALLTYPE *removeDataSourceListener )(
  206. DataSource * This,
  207. /* [in] */ DataSourceListener *pDSL);
  208. END_INTERFACE
  209. } DataSourceVtbl;
  210. interface DataSource
  211. {
  212. CONST_VTBL struct DataSourceVtbl *lpVtbl;
  213. };
  214. #ifdef COBJMACROS
  215. #define DataSource_QueryInterface(This,riid,ppvObject) \
  216. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  217. #define DataSource_AddRef(This) \
  218. (This)->lpVtbl -> AddRef(This)
  219. #define DataSource_Release(This) \
  220. (This)->lpVtbl -> Release(This)
  221. #define DataSource_getDataMember(This,bstrDM,riid,ppunk) \
  222. (This)->lpVtbl -> getDataMember(This,bstrDM,riid,ppunk)
  223. #define DataSource_getDataMemberName(This,lIndex,pbstrDM) \
  224. (This)->lpVtbl -> getDataMemberName(This,lIndex,pbstrDM)
  225. #define DataSource_getDataMemberCount(This,plCount) \
  226. (This)->lpVtbl -> getDataMemberCount(This,plCount)
  227. #define DataSource_addDataSourceListener(This,pDSL) \
  228. (This)->lpVtbl -> addDataSourceListener(This,pDSL)
  229. #define DataSource_removeDataSourceListener(This,pDSL) \
  230. (This)->lpVtbl -> removeDataSourceListener(This,pDSL)
  231. #endif /* COBJMACROS */
  232. #endif /* C style interface */
  233. /* [restricted][hidden] */ HRESULT STDMETHODCALLTYPE DataSource_getDataMember_Proxy(
  234. DataSource * This,
  235. /* [in] */ DataMember bstrDM,
  236. /* [in] */ REFIID riid,
  237. /* [retval][out] */ IUnknown **ppunk);
  238. void __RPC_STUB DataSource_getDataMember_Stub(
  239. IRpcStubBuffer *This,
  240. IRpcChannelBuffer *_pRpcChannelBuffer,
  241. PRPC_MESSAGE _pRpcMessage,
  242. DWORD *_pdwStubPhase);
  243. /* [hidden] */ HRESULT STDMETHODCALLTYPE DataSource_getDataMemberName_Proxy(
  244. DataSource * This,
  245. /* [in] */ long lIndex,
  246. /* [retval][out] */ DataMember *pbstrDM);
  247. void __RPC_STUB DataSource_getDataMemberName_Stub(
  248. IRpcStubBuffer *This,
  249. IRpcChannelBuffer *_pRpcChannelBuffer,
  250. PRPC_MESSAGE _pRpcMessage,
  251. DWORD *_pdwStubPhase);
  252. /* [hidden] */ HRESULT STDMETHODCALLTYPE DataSource_getDataMemberCount_Proxy(
  253. DataSource * This,
  254. /* [retval][out] */ long *plCount);
  255. void __RPC_STUB DataSource_getDataMemberCount_Stub(
  256. IRpcStubBuffer *This,
  257. IRpcChannelBuffer *_pRpcChannelBuffer,
  258. PRPC_MESSAGE _pRpcMessage,
  259. DWORD *_pdwStubPhase);
  260. /* [hidden] */ HRESULT STDMETHODCALLTYPE DataSource_addDataSourceListener_Proxy(
  261. DataSource * This,
  262. /* [in] */ DataSourceListener *pDSL);
  263. void __RPC_STUB DataSource_addDataSourceListener_Stub(
  264. IRpcStubBuffer *This,
  265. IRpcChannelBuffer *_pRpcChannelBuffer,
  266. PRPC_MESSAGE _pRpcMessage,
  267. DWORD *_pdwStubPhase);
  268. /* [hidden] */ HRESULT STDMETHODCALLTYPE DataSource_removeDataSourceListener_Proxy(
  269. DataSource * This,
  270. /* [in] */ DataSourceListener *pDSL);
  271. void __RPC_STUB DataSource_removeDataSourceListener_Stub(
  272. IRpcStubBuffer *This,
  273. IRpcChannelBuffer *_pRpcChannelBuffer,
  274. PRPC_MESSAGE _pRpcMessage,
  275. DWORD *_pdwStubPhase);
  276. #endif /* __DataSource_INTERFACE_DEFINED__ */
  277. #endif /* __MSDATASRC_LIBRARY_DEFINED__ */
  278. /* Additional Prototypes for ALL interfaces */
  279. /* end of Additional Prototypes */
  280. #ifdef __cplusplus
  281. }
  282. #endif
  283. #endif