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.

567 lines
15 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.01.75 */
  3. /* at Thu Sep 11 16:03:09 1997
  4. */
  5. /* Compiler settings for mtxpriv.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __mtxpriv_h__
  17. #define __mtxpriv_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IContextProperties_FWD_DEFINED__
  23. #define __IContextProperties_FWD_DEFINED__
  24. typedef interface IContextProperties IContextProperties;
  25. #endif /* __IContextProperties_FWD_DEFINED__ */
  26. #ifndef __IMTSCall_FWD_DEFINED__
  27. #define __IMTSCall_FWD_DEFINED__
  28. typedef interface IMTSCall IMTSCall;
  29. #endif /* __IMTSCall_FWD_DEFINED__ */
  30. #ifndef __IMTSActivity_FWD_DEFINED__
  31. #define __IMTSActivity_FWD_DEFINED__
  32. typedef interface IMTSActivity IMTSActivity;
  33. #endif /* __IMTSActivity_FWD_DEFINED__ */
  34. /* header files for imported files */
  35. #include "unknwn.h"
  36. #include "mtx.h"
  37. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  38. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  39. /****************************************
  40. * Generated header for interface: __MIDL_itf_mtxpriv_0000
  41. * at Thu Sep 11 16:03:09 1997
  42. * using MIDL 3.01.75
  43. ****************************************/
  44. /* [local] */
  45. // -----------------------------------------------------------------------
  46. // mtxpriv.h -- Microsoft Transaction Server Undisclosed APIs
  47. //
  48. // This file provides the prototypes for those APIs and COM interfaces
  49. // used by Microsoft Transaction Server applications which have NOT been
  50. // disclosed or documented.
  51. //
  52. // Microsoft Transaction Server 2.0
  53. // Copyright (c) 1996-1997 Microsoft Corporation. All Rights Reserved.
  54. // -----------------------------------------------------------------------
  55. #include <mtx.h>
  56. #define CONTEXT_E_EXCEPTION 0x8004E010
  57. #define CONTEXT_E_QUEUEFULL 0x8004E011
  58. extern RPC_IF_HANDLE __MIDL_itf_mtxpriv_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_mtxpriv_0000_v0_0_s_ifspec;
  60. #ifndef __IContextProperties_INTERFACE_DEFINED__
  61. #define __IContextProperties_INTERFACE_DEFINED__
  62. /****************************************
  63. * Generated header for interface: IContextProperties
  64. * at Thu Sep 11 16:03:09 1997
  65. * using MIDL 3.01.75
  66. ****************************************/
  67. /* [object][unique][uuid][local] */
  68. EXTERN_C const IID IID_IContextProperties;
  69. #if defined(__cplusplus) && !defined(CINTERFACE)
  70. interface DECLSPEC_UUID("51372af1-cae7-11cf-be81-00aa00a2fa25")
  71. IContextProperties : public IUnknown
  72. {
  73. public:
  74. virtual HRESULT STDMETHODCALLTYPE Count(
  75. /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  76. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  77. /* [in] */ BSTR name,
  78. /* [retval][out] */ VARIANT __RPC_FAR *pProperty) = 0;
  79. virtual HRESULT STDMETHODCALLTYPE EnumNames(
  80. /* [retval][out] */ IEnumNames __RPC_FAR *__RPC_FAR *ppenum) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE SetProperty(
  82. /* [in] */ BSTR name,
  83. /* [in] */ VARIANT property) = 0;
  84. virtual HRESULT STDMETHODCALLTYPE RemoveProperty(
  85. /* [in] */ BSTR name) = 0;
  86. };
  87. #else /* C style interface */
  88. typedef struct IContextPropertiesVtbl
  89. {
  90. BEGIN_INTERFACE
  91. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  92. IContextProperties __RPC_FAR * This,
  93. /* [in] */ REFIID riid,
  94. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  95. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  96. IContextProperties __RPC_FAR * This);
  97. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  98. IContextProperties __RPC_FAR * This);
  99. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Count )(
  100. IContextProperties __RPC_FAR * This,
  101. /* [retval][out] */ long __RPC_FAR *plCount);
  102. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProperty )(
  103. IContextProperties __RPC_FAR * This,
  104. /* [in] */ BSTR name,
  105. /* [retval][out] */ VARIANT __RPC_FAR *pProperty);
  106. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumNames )(
  107. IContextProperties __RPC_FAR * This,
  108. /* [retval][out] */ IEnumNames __RPC_FAR *__RPC_FAR *ppenum);
  109. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetProperty )(
  110. IContextProperties __RPC_FAR * This,
  111. /* [in] */ BSTR name,
  112. /* [in] */ VARIANT property);
  113. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveProperty )(
  114. IContextProperties __RPC_FAR * This,
  115. /* [in] */ BSTR name);
  116. END_INTERFACE
  117. } IContextPropertiesVtbl;
  118. interface IContextProperties
  119. {
  120. CONST_VTBL struct IContextPropertiesVtbl __RPC_FAR *lpVtbl;
  121. };
  122. #ifdef COBJMACROS
  123. #define IContextProperties_QueryInterface(This,riid,ppvObject) \
  124. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  125. #define IContextProperties_AddRef(This) \
  126. (This)->lpVtbl -> AddRef(This)
  127. #define IContextProperties_Release(This) \
  128. (This)->lpVtbl -> Release(This)
  129. #define IContextProperties_Count(This,plCount) \
  130. (This)->lpVtbl -> Count(This,plCount)
  131. #define IContextProperties_GetProperty(This,name,pProperty) \
  132. (This)->lpVtbl -> GetProperty(This,name,pProperty)
  133. #define IContextProperties_EnumNames(This,ppenum) \
  134. (This)->lpVtbl -> EnumNames(This,ppenum)
  135. #define IContextProperties_SetProperty(This,name,property) \
  136. (This)->lpVtbl -> SetProperty(This,name,property)
  137. #define IContextProperties_RemoveProperty(This,name) \
  138. (This)->lpVtbl -> RemoveProperty(This,name)
  139. #endif /* COBJMACROS */
  140. #endif /* C style interface */
  141. HRESULT STDMETHODCALLTYPE IContextProperties_Count_Proxy(
  142. IContextProperties __RPC_FAR * This,
  143. /* [retval][out] */ long __RPC_FAR *plCount);
  144. void __RPC_STUB IContextProperties_Count_Stub(
  145. IRpcStubBuffer *This,
  146. IRpcChannelBuffer *_pRpcChannelBuffer,
  147. PRPC_MESSAGE _pRpcMessage,
  148. DWORD *_pdwStubPhase);
  149. HRESULT STDMETHODCALLTYPE IContextProperties_GetProperty_Proxy(
  150. IContextProperties __RPC_FAR * This,
  151. /* [in] */ BSTR name,
  152. /* [retval][out] */ VARIANT __RPC_FAR *pProperty);
  153. void __RPC_STUB IContextProperties_GetProperty_Stub(
  154. IRpcStubBuffer *This,
  155. IRpcChannelBuffer *_pRpcChannelBuffer,
  156. PRPC_MESSAGE _pRpcMessage,
  157. DWORD *_pdwStubPhase);
  158. HRESULT STDMETHODCALLTYPE IContextProperties_EnumNames_Proxy(
  159. IContextProperties __RPC_FAR * This,
  160. /* [retval][out] */ IEnumNames __RPC_FAR *__RPC_FAR *ppenum);
  161. void __RPC_STUB IContextProperties_EnumNames_Stub(
  162. IRpcStubBuffer *This,
  163. IRpcChannelBuffer *_pRpcChannelBuffer,
  164. PRPC_MESSAGE _pRpcMessage,
  165. DWORD *_pdwStubPhase);
  166. HRESULT STDMETHODCALLTYPE IContextProperties_SetProperty_Proxy(
  167. IContextProperties __RPC_FAR * This,
  168. /* [in] */ BSTR name,
  169. /* [in] */ VARIANT property);
  170. void __RPC_STUB IContextProperties_SetProperty_Stub(
  171. IRpcStubBuffer *This,
  172. IRpcChannelBuffer *_pRpcChannelBuffer,
  173. PRPC_MESSAGE _pRpcMessage,
  174. DWORD *_pdwStubPhase);
  175. HRESULT STDMETHODCALLTYPE IContextProperties_RemoveProperty_Proxy(
  176. IContextProperties __RPC_FAR * This,
  177. /* [in] */ BSTR name);
  178. void __RPC_STUB IContextProperties_RemoveProperty_Stub(
  179. IRpcStubBuffer *This,
  180. IRpcChannelBuffer *_pRpcChannelBuffer,
  181. PRPC_MESSAGE _pRpcMessage,
  182. DWORD *_pdwStubPhase);
  183. #endif /* __IContextProperties_INTERFACE_DEFINED__ */
  184. /****************************************
  185. * Generated header for interface: __MIDL_itf_mtxpriv_0104
  186. * at Thu Sep 11 16:03:09 1997
  187. * using MIDL 3.01.75
  188. ****************************************/
  189. /* [local] */
  190. #ifdef __cplusplus
  191. extern "C"
  192. #endif __cplusplus
  193. EXTERN_C HRESULT __stdcall MTSCreateActivity ( REFIID riid, void** ppobj );
  194. EXTERN_C HRESULT __stdcall CreateActivityInMTA ( REFIID riid, void** ppobj );
  195. extern RPC_IF_HANDLE __MIDL_itf_mtxpriv_0104_v0_0_c_ifspec;
  196. extern RPC_IF_HANDLE __MIDL_itf_mtxpriv_0104_v0_0_s_ifspec;
  197. #ifndef __IMTSCall_INTERFACE_DEFINED__
  198. #define __IMTSCall_INTERFACE_DEFINED__
  199. /****************************************
  200. * Generated header for interface: IMTSCall
  201. * at Thu Sep 11 16:03:09 1997
  202. * using MIDL 3.01.75
  203. ****************************************/
  204. /* [object][unique][uuid][local] */
  205. EXTERN_C const IID IID_IMTSCall;
  206. #if defined(__cplusplus) && !defined(CINTERFACE)
  207. interface DECLSPEC_UUID("51372AEF-CAE7-11CF-BE81-00AA00A2FA25")
  208. IMTSCall : public IUnknown
  209. {
  210. public:
  211. virtual HRESULT STDMETHODCALLTYPE OnCall( void) = 0;
  212. };
  213. #else /* C style interface */
  214. typedef struct IMTSCallVtbl
  215. {
  216. BEGIN_INTERFACE
  217. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  218. IMTSCall __RPC_FAR * This,
  219. /* [in] */ REFIID riid,
  220. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  221. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  222. IMTSCall __RPC_FAR * This);
  223. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  224. IMTSCall __RPC_FAR * This);
  225. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnCall )(
  226. IMTSCall __RPC_FAR * This);
  227. END_INTERFACE
  228. } IMTSCallVtbl;
  229. interface IMTSCall
  230. {
  231. CONST_VTBL struct IMTSCallVtbl __RPC_FAR *lpVtbl;
  232. };
  233. #ifdef COBJMACROS
  234. #define IMTSCall_QueryInterface(This,riid,ppvObject) \
  235. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  236. #define IMTSCall_AddRef(This) \
  237. (This)->lpVtbl -> AddRef(This)
  238. #define IMTSCall_Release(This) \
  239. (This)->lpVtbl -> Release(This)
  240. #define IMTSCall_OnCall(This) \
  241. (This)->lpVtbl -> OnCall(This)
  242. #endif /* COBJMACROS */
  243. #endif /* C style interface */
  244. HRESULT STDMETHODCALLTYPE IMTSCall_OnCall_Proxy(
  245. IMTSCall __RPC_FAR * This);
  246. void __RPC_STUB IMTSCall_OnCall_Stub(
  247. IRpcStubBuffer *This,
  248. IRpcChannelBuffer *_pRpcChannelBuffer,
  249. PRPC_MESSAGE _pRpcMessage,
  250. DWORD *_pdwStubPhase);
  251. #endif /* __IMTSCall_INTERFACE_DEFINED__ */
  252. #ifndef __IMTSActivity_INTERFACE_DEFINED__
  253. #define __IMTSActivity_INTERFACE_DEFINED__
  254. /****************************************
  255. * Generated header for interface: IMTSActivity
  256. * at Thu Sep 11 16:03:09 1997
  257. * using MIDL 3.01.75
  258. ****************************************/
  259. /* [object][unique][uuid][local] */
  260. EXTERN_C const IID IID_IMTSActivity;
  261. #if defined(__cplusplus) && !defined(CINTERFACE)
  262. interface DECLSPEC_UUID("51372AF0-CAE7-11CF-BE81-00AA00A2FA25")
  263. IMTSActivity : public IUnknown
  264. {
  265. public:
  266. virtual HRESULT STDMETHODCALLTYPE SynchronousCall(
  267. /* [in] */ IMTSCall __RPC_FAR *pCall) = 0;
  268. virtual HRESULT STDMETHODCALLTYPE AsyncCall(
  269. /* [in] */ IMTSCall __RPC_FAR *pCall) = 0;
  270. virtual HRESULT STDMETHODCALLTYPE AsyncCallWithAdvice(
  271. /* [in] */ IMTSCall __RPC_FAR *pCall,
  272. /* [in] */ REFCLSID rclsid) = 0;
  273. virtual void STDMETHODCALLTYPE BindToCurrentThread( void) = 0;
  274. virtual void STDMETHODCALLTYPE UnbindFromThread( void) = 0;
  275. };
  276. #else /* C style interface */
  277. typedef struct IMTSActivityVtbl
  278. {
  279. BEGIN_INTERFACE
  280. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  281. IMTSActivity __RPC_FAR * This,
  282. /* [in] */ REFIID riid,
  283. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  284. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  285. IMTSActivity __RPC_FAR * This);
  286. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  287. IMTSActivity __RPC_FAR * This);
  288. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SynchronousCall )(
  289. IMTSActivity __RPC_FAR * This,
  290. /* [in] */ IMTSCall __RPC_FAR *pCall);
  291. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AsyncCall )(
  292. IMTSActivity __RPC_FAR * This,
  293. /* [in] */ IMTSCall __RPC_FAR *pCall);
  294. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AsyncCallWithAdvice )(
  295. IMTSActivity __RPC_FAR * This,
  296. /* [in] */ IMTSCall __RPC_FAR *pCall,
  297. /* [in] */ REFCLSID rclsid);
  298. void ( STDMETHODCALLTYPE __RPC_FAR *BindToCurrentThread )(
  299. IMTSActivity __RPC_FAR * This);
  300. void ( STDMETHODCALLTYPE __RPC_FAR *UnbindFromThread )(
  301. IMTSActivity __RPC_FAR * This);
  302. END_INTERFACE
  303. } IMTSActivityVtbl;
  304. interface IMTSActivity
  305. {
  306. CONST_VTBL struct IMTSActivityVtbl __RPC_FAR *lpVtbl;
  307. };
  308. #ifdef COBJMACROS
  309. #define IMTSActivity_QueryInterface(This,riid,ppvObject) \
  310. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  311. #define IMTSActivity_AddRef(This) \
  312. (This)->lpVtbl -> AddRef(This)
  313. #define IMTSActivity_Release(This) \
  314. (This)->lpVtbl -> Release(This)
  315. #define IMTSActivity_SynchronousCall(This,pCall) \
  316. (This)->lpVtbl -> SynchronousCall(This,pCall)
  317. #define IMTSActivity_AsyncCall(This,pCall) \
  318. (This)->lpVtbl -> AsyncCall(This,pCall)
  319. #define IMTSActivity_AsyncCallWithAdvice(This,pCall,rclsid) \
  320. (This)->lpVtbl -> AsyncCallWithAdvice(This,pCall,rclsid)
  321. #define IMTSActivity_BindToCurrentThread(This) \
  322. (This)->lpVtbl -> BindToCurrentThread(This)
  323. #define IMTSActivity_UnbindFromThread(This) \
  324. (This)->lpVtbl -> UnbindFromThread(This)
  325. #endif /* COBJMACROS */
  326. #endif /* C style interface */
  327. HRESULT STDMETHODCALLTYPE IMTSActivity_SynchronousCall_Proxy(
  328. IMTSActivity __RPC_FAR * This,
  329. /* [in] */ IMTSCall __RPC_FAR *pCall);
  330. void __RPC_STUB IMTSActivity_SynchronousCall_Stub(
  331. IRpcStubBuffer *This,
  332. IRpcChannelBuffer *_pRpcChannelBuffer,
  333. PRPC_MESSAGE _pRpcMessage,
  334. DWORD *_pdwStubPhase);
  335. HRESULT STDMETHODCALLTYPE IMTSActivity_AsyncCall_Proxy(
  336. IMTSActivity __RPC_FAR * This,
  337. /* [in] */ IMTSCall __RPC_FAR *pCall);
  338. void __RPC_STUB IMTSActivity_AsyncCall_Stub(
  339. IRpcStubBuffer *This,
  340. IRpcChannelBuffer *_pRpcChannelBuffer,
  341. PRPC_MESSAGE _pRpcMessage,
  342. DWORD *_pdwStubPhase);
  343. HRESULT STDMETHODCALLTYPE IMTSActivity_AsyncCallWithAdvice_Proxy(
  344. IMTSActivity __RPC_FAR * This,
  345. /* [in] */ IMTSCall __RPC_FAR *pCall,
  346. /* [in] */ REFCLSID rclsid);
  347. void __RPC_STUB IMTSActivity_AsyncCallWithAdvice_Stub(
  348. IRpcStubBuffer *This,
  349. IRpcChannelBuffer *_pRpcChannelBuffer,
  350. PRPC_MESSAGE _pRpcMessage,
  351. DWORD *_pdwStubPhase);
  352. void STDMETHODCALLTYPE IMTSActivity_BindToCurrentThread_Proxy(
  353. IMTSActivity __RPC_FAR * This);
  354. void __RPC_STUB IMTSActivity_BindToCurrentThread_Stub(
  355. IRpcStubBuffer *This,
  356. IRpcChannelBuffer *_pRpcChannelBuffer,
  357. PRPC_MESSAGE _pRpcMessage,
  358. DWORD *_pdwStubPhase);
  359. void STDMETHODCALLTYPE IMTSActivity_UnbindFromThread_Proxy(
  360. IMTSActivity __RPC_FAR * This);
  361. void __RPC_STUB IMTSActivity_UnbindFromThread_Stub(
  362. IRpcStubBuffer *This,
  363. IRpcChannelBuffer *_pRpcChannelBuffer,
  364. PRPC_MESSAGE _pRpcMessage,
  365. DWORD *_pdwStubPhase);
  366. #endif /* __IMTSActivity_INTERFACE_DEFINED__ */
  367. /* Additional Prototypes for ALL interfaces */
  368. /* end of Additional Prototypes */
  369. #ifdef __cplusplus
  370. }
  371. #endif
  372. #endif