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.

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