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.

693 lines
22 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0158 */
  3. /* at Fri Oct 16 19:05:34 1998
  4. */
  5. /* Compiler settings for crmcompensator.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __crmcompensator_h__
  24. #define __crmcompensator_h__
  25. #if _MSC_VER > 1000
  26. #pragma once
  27. #endif
  28. #ifdef __cplusplus
  29. extern "C"{
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICrmCompensatorVariants_FWD_DEFINED__
  33. #define __ICrmCompensatorVariants_FWD_DEFINED__
  34. typedef interface ICrmCompensatorVariants ICrmCompensatorVariants;
  35. #endif /* __ICrmCompensatorVariants_FWD_DEFINED__ */
  36. #ifndef __ICrmCompensator_FWD_DEFINED__
  37. #define __ICrmCompensator_FWD_DEFINED__
  38. typedef interface ICrmCompensator ICrmCompensator;
  39. #endif /* __ICrmCompensator_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "oaidl.h"
  42. #include "ocidl.h"
  43. #include "CRMLogControl.h"
  44. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  45. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  46. /* interface __MIDL_itf_crmcompensator_0000 */
  47. /* [local] */
  48. #ifndef _tagCrmFlags_
  49. #define _tagCrmFlags_
  50. typedef
  51. enum tagCrmFlags
  52. { crmflag_ForgetTarget = 0x1,
  53. crmflag_WrittenDuringPrepare = 0x2,
  54. crmflag_WrittenDuringCommit = 0x4,
  55. crmflag_WrittenDuringAbort = 0x8,
  56. crmflag_WrittenDuringRecovery = 0x10,
  57. crmflag_WrittenDuringReplay = 0x20,
  58. crmflag_ReplayInProgress = 0x40
  59. } CrmFlags;
  60. #endif _tagCrmFlags_
  61. extern RPC_IF_HANDLE __MIDL_itf_crmcompensator_0000_v0_0_c_ifspec;
  62. extern RPC_IF_HANDLE __MIDL_itf_crmcompensator_0000_v0_0_s_ifspec;
  63. #ifndef __ICrmCompensatorVariants_INTERFACE_DEFINED__
  64. #define __ICrmCompensatorVariants_INTERFACE_DEFINED__
  65. /* interface ICrmCompensatorVariants */
  66. /* [unique][helpstring][uuid][object] */
  67. EXTERN_C const IID IID_ICrmCompensatorVariants;
  68. #if defined(__cplusplus) && !defined(CINTERFACE)
  69. MIDL_INTERFACE("F0BAF8E4-7804-11d1-82E9-00A0C91EEDE9")
  70. ICrmCompensatorVariants : public IUnknown
  71. {
  72. public:
  73. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetLogControlVariants(
  74. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl) = 0;
  75. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BeginPrepareVariants( void) = 0;
  76. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PrepareRecordVariants(
  77. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  78. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget) = 0;
  79. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EndPrepareVariants(
  80. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbOkToPrepare) = 0;
  81. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BeginCommitVariants(
  82. /* [in] */ VARIANT_BOOL bRecovery) = 0;
  83. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CommitRecordVariants(
  84. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  85. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget) = 0;
  86. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EndCommitVariants( void) = 0;
  87. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BeginAbortVariants(
  88. /* [in] */ VARIANT_BOOL bRecovery) = 0;
  89. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AbortRecordVariants(
  90. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  91. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget) = 0;
  92. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EndAbortVariants( void) = 0;
  93. };
  94. #else /* C style interface */
  95. typedef struct ICrmCompensatorVariantsVtbl
  96. {
  97. BEGIN_INTERFACE
  98. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  99. ICrmCompensatorVariants __RPC_FAR * This,
  100. /* [in] */ REFIID riid,
  101. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  102. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  103. ICrmCompensatorVariants __RPC_FAR * This);
  104. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  105. ICrmCompensatorVariants __RPC_FAR * This);
  106. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLogControlVariants )(
  107. ICrmCompensatorVariants __RPC_FAR * This,
  108. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl);
  109. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginPrepareVariants )(
  110. ICrmCompensatorVariants __RPC_FAR * This);
  111. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PrepareRecordVariants )(
  112. ICrmCompensatorVariants __RPC_FAR * This,
  113. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  114. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  115. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndPrepareVariants )(
  116. ICrmCompensatorVariants __RPC_FAR * This,
  117. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbOkToPrepare);
  118. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginCommitVariants )(
  119. ICrmCompensatorVariants __RPC_FAR * This,
  120. /* [in] */ VARIANT_BOOL bRecovery);
  121. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CommitRecordVariants )(
  122. ICrmCompensatorVariants __RPC_FAR * This,
  123. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  124. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  125. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndCommitVariants )(
  126. ICrmCompensatorVariants __RPC_FAR * This);
  127. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginAbortVariants )(
  128. ICrmCompensatorVariants __RPC_FAR * This,
  129. /* [in] */ VARIANT_BOOL bRecovery);
  130. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AbortRecordVariants )(
  131. ICrmCompensatorVariants __RPC_FAR * This,
  132. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  133. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  134. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndAbortVariants )(
  135. ICrmCompensatorVariants __RPC_FAR * This);
  136. END_INTERFACE
  137. } ICrmCompensatorVariantsVtbl;
  138. interface ICrmCompensatorVariants
  139. {
  140. CONST_VTBL struct ICrmCompensatorVariantsVtbl __RPC_FAR *lpVtbl;
  141. };
  142. #ifdef COBJMACROS
  143. #define ICrmCompensatorVariants_QueryInterface(This,riid,ppvObject) \
  144. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  145. #define ICrmCompensatorVariants_AddRef(This) \
  146. (This)->lpVtbl -> AddRef(This)
  147. #define ICrmCompensatorVariants_Release(This) \
  148. (This)->lpVtbl -> Release(This)
  149. #define ICrmCompensatorVariants_SetLogControlVariants(This,pLogControl) \
  150. (This)->lpVtbl -> SetLogControlVariants(This,pLogControl)
  151. #define ICrmCompensatorVariants_BeginPrepareVariants(This) \
  152. (This)->lpVtbl -> BeginPrepareVariants(This)
  153. #define ICrmCompensatorVariants_PrepareRecordVariants(This,pLogRecord,pbForget) \
  154. (This)->lpVtbl -> PrepareRecordVariants(This,pLogRecord,pbForget)
  155. #define ICrmCompensatorVariants_EndPrepareVariants(This,pbOkToPrepare) \
  156. (This)->lpVtbl -> EndPrepareVariants(This,pbOkToPrepare)
  157. #define ICrmCompensatorVariants_BeginCommitVariants(This,bRecovery) \
  158. (This)->lpVtbl -> BeginCommitVariants(This,bRecovery)
  159. #define ICrmCompensatorVariants_CommitRecordVariants(This,pLogRecord,pbForget) \
  160. (This)->lpVtbl -> CommitRecordVariants(This,pLogRecord,pbForget)
  161. #define ICrmCompensatorVariants_EndCommitVariants(This) \
  162. (This)->lpVtbl -> EndCommitVariants(This)
  163. #define ICrmCompensatorVariants_BeginAbortVariants(This,bRecovery) \
  164. (This)->lpVtbl -> BeginAbortVariants(This,bRecovery)
  165. #define ICrmCompensatorVariants_AbortRecordVariants(This,pLogRecord,pbForget) \
  166. (This)->lpVtbl -> AbortRecordVariants(This,pLogRecord,pbForget)
  167. #define ICrmCompensatorVariants_EndAbortVariants(This) \
  168. (This)->lpVtbl -> EndAbortVariants(This)
  169. #endif /* COBJMACROS */
  170. #endif /* C style interface */
  171. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_SetLogControlVariants_Proxy(
  172. ICrmCompensatorVariants __RPC_FAR * This,
  173. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl);
  174. void __RPC_STUB ICrmCompensatorVariants_SetLogControlVariants_Stub(
  175. IRpcStubBuffer *This,
  176. IRpcChannelBuffer *_pRpcChannelBuffer,
  177. PRPC_MESSAGE _pRpcMessage,
  178. DWORD *_pdwStubPhase);
  179. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_BeginPrepareVariants_Proxy(
  180. ICrmCompensatorVariants __RPC_FAR * This);
  181. void __RPC_STUB ICrmCompensatorVariants_BeginPrepareVariants_Stub(
  182. IRpcStubBuffer *This,
  183. IRpcChannelBuffer *_pRpcChannelBuffer,
  184. PRPC_MESSAGE _pRpcMessage,
  185. DWORD *_pdwStubPhase);
  186. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_PrepareRecordVariants_Proxy(
  187. ICrmCompensatorVariants __RPC_FAR * This,
  188. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  189. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  190. void __RPC_STUB ICrmCompensatorVariants_PrepareRecordVariants_Stub(
  191. IRpcStubBuffer *This,
  192. IRpcChannelBuffer *_pRpcChannelBuffer,
  193. PRPC_MESSAGE _pRpcMessage,
  194. DWORD *_pdwStubPhase);
  195. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_EndPrepareVariants_Proxy(
  196. ICrmCompensatorVariants __RPC_FAR * This,
  197. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbOkToPrepare);
  198. void __RPC_STUB ICrmCompensatorVariants_EndPrepareVariants_Stub(
  199. IRpcStubBuffer *This,
  200. IRpcChannelBuffer *_pRpcChannelBuffer,
  201. PRPC_MESSAGE _pRpcMessage,
  202. DWORD *_pdwStubPhase);
  203. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_BeginCommitVariants_Proxy(
  204. ICrmCompensatorVariants __RPC_FAR * This,
  205. /* [in] */ VARIANT_BOOL bRecovery);
  206. void __RPC_STUB ICrmCompensatorVariants_BeginCommitVariants_Stub(
  207. IRpcStubBuffer *This,
  208. IRpcChannelBuffer *_pRpcChannelBuffer,
  209. PRPC_MESSAGE _pRpcMessage,
  210. DWORD *_pdwStubPhase);
  211. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_CommitRecordVariants_Proxy(
  212. ICrmCompensatorVariants __RPC_FAR * This,
  213. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  214. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  215. void __RPC_STUB ICrmCompensatorVariants_CommitRecordVariants_Stub(
  216. IRpcStubBuffer *This,
  217. IRpcChannelBuffer *_pRpcChannelBuffer,
  218. PRPC_MESSAGE _pRpcMessage,
  219. DWORD *_pdwStubPhase);
  220. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_EndCommitVariants_Proxy(
  221. ICrmCompensatorVariants __RPC_FAR * This);
  222. void __RPC_STUB ICrmCompensatorVariants_EndCommitVariants_Stub(
  223. IRpcStubBuffer *This,
  224. IRpcChannelBuffer *_pRpcChannelBuffer,
  225. PRPC_MESSAGE _pRpcMessage,
  226. DWORD *_pdwStubPhase);
  227. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_BeginAbortVariants_Proxy(
  228. ICrmCompensatorVariants __RPC_FAR * This,
  229. /* [in] */ VARIANT_BOOL bRecovery);
  230. void __RPC_STUB ICrmCompensatorVariants_BeginAbortVariants_Stub(
  231. IRpcStubBuffer *This,
  232. IRpcChannelBuffer *_pRpcChannelBuffer,
  233. PRPC_MESSAGE _pRpcMessage,
  234. DWORD *_pdwStubPhase);
  235. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_AbortRecordVariants_Proxy(
  236. ICrmCompensatorVariants __RPC_FAR * This,
  237. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  238. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  239. void __RPC_STUB ICrmCompensatorVariants_AbortRecordVariants_Stub(
  240. IRpcStubBuffer *This,
  241. IRpcChannelBuffer *_pRpcChannelBuffer,
  242. PRPC_MESSAGE _pRpcMessage,
  243. DWORD *_pdwStubPhase);
  244. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_EndAbortVariants_Proxy(
  245. ICrmCompensatorVariants __RPC_FAR * This);
  246. void __RPC_STUB ICrmCompensatorVariants_EndAbortVariants_Stub(
  247. IRpcStubBuffer *This,
  248. IRpcChannelBuffer *_pRpcChannelBuffer,
  249. PRPC_MESSAGE _pRpcMessage,
  250. DWORD *_pdwStubPhase);
  251. #endif /* __ICrmCompensatorVariants_INTERFACE_DEFINED__ */
  252. /* interface __MIDL_itf_crmcompensator_0236 */
  253. /* [local] */
  254. #ifndef _tagCrmLogRecordRead_
  255. #define _tagCrmLogRecordRead_
  256. typedef struct tagCrmLogRecordRead
  257. {
  258. DWORD dwCrmFlags;
  259. DWORD dwSequenceNumber;
  260. BLOB blobUserData;
  261. } CrmLogRecordRead;
  262. #endif _tagCrmLogRecordRead_
  263. extern RPC_IF_HANDLE __MIDL_itf_crmcompensator_0236_v0_0_c_ifspec;
  264. extern RPC_IF_HANDLE __MIDL_itf_crmcompensator_0236_v0_0_s_ifspec;
  265. #ifndef __ICrmCompensator_INTERFACE_DEFINED__
  266. #define __ICrmCompensator_INTERFACE_DEFINED__
  267. /* interface ICrmCompensator */
  268. /* [unique][helpstring][uuid][object] */
  269. EXTERN_C const IID IID_ICrmCompensator;
  270. #if defined(__cplusplus) && !defined(CINTERFACE)
  271. MIDL_INTERFACE("BBC01830-8D3B-11d1-82EC-00A0C91EEDE9")
  272. ICrmCompensator : public IUnknown
  273. {
  274. public:
  275. virtual HRESULT STDMETHODCALLTYPE SetLogControl(
  276. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl) = 0;
  277. virtual HRESULT STDMETHODCALLTYPE BeginPrepare( void) = 0;
  278. virtual HRESULT STDMETHODCALLTYPE PrepareRecord(
  279. /* [in] */ CrmLogRecordRead crmLogRec,
  280. /* [retval][out] */ BOOL __RPC_FAR *pfForget) = 0;
  281. virtual HRESULT STDMETHODCALLTYPE EndPrepare(
  282. /* [retval][out] */ BOOL __RPC_FAR *pfOkToPrepare) = 0;
  283. virtual HRESULT STDMETHODCALLTYPE BeginCommit(
  284. /* [in] */ BOOL fRecovery) = 0;
  285. virtual HRESULT STDMETHODCALLTYPE CommitRecord(
  286. /* [in] */ CrmLogRecordRead crmLogRec,
  287. /* [retval][out] */ BOOL __RPC_FAR *pfForget) = 0;
  288. virtual HRESULT STDMETHODCALLTYPE EndCommit( void) = 0;
  289. virtual HRESULT STDMETHODCALLTYPE BeginAbort(
  290. /* [in] */ BOOL fRecovery) = 0;
  291. virtual HRESULT STDMETHODCALLTYPE AbortRecord(
  292. /* [in] */ CrmLogRecordRead crmLogRec,
  293. /* [retval][out] */ BOOL __RPC_FAR *pfForget) = 0;
  294. virtual HRESULT STDMETHODCALLTYPE EndAbort( void) = 0;
  295. };
  296. #else /* C style interface */
  297. typedef struct ICrmCompensatorVtbl
  298. {
  299. BEGIN_INTERFACE
  300. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  301. ICrmCompensator __RPC_FAR * This,
  302. /* [in] */ REFIID riid,
  303. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  304. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  305. ICrmCompensator __RPC_FAR * This);
  306. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  307. ICrmCompensator __RPC_FAR * This);
  308. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLogControl )(
  309. ICrmCompensator __RPC_FAR * This,
  310. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl);
  311. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginPrepare )(
  312. ICrmCompensator __RPC_FAR * This);
  313. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PrepareRecord )(
  314. ICrmCompensator __RPC_FAR * This,
  315. /* [in] */ CrmLogRecordRead crmLogRec,
  316. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  317. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndPrepare )(
  318. ICrmCompensator __RPC_FAR * This,
  319. /* [retval][out] */ BOOL __RPC_FAR *pfOkToPrepare);
  320. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginCommit )(
  321. ICrmCompensator __RPC_FAR * This,
  322. /* [in] */ BOOL fRecovery);
  323. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CommitRecord )(
  324. ICrmCompensator __RPC_FAR * This,
  325. /* [in] */ CrmLogRecordRead crmLogRec,
  326. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  327. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndCommit )(
  328. ICrmCompensator __RPC_FAR * This);
  329. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginAbort )(
  330. ICrmCompensator __RPC_FAR * This,
  331. /* [in] */ BOOL fRecovery);
  332. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AbortRecord )(
  333. ICrmCompensator __RPC_FAR * This,
  334. /* [in] */ CrmLogRecordRead crmLogRec,
  335. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  336. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndAbort )(
  337. ICrmCompensator __RPC_FAR * This);
  338. END_INTERFACE
  339. } ICrmCompensatorVtbl;
  340. interface ICrmCompensator
  341. {
  342. CONST_VTBL struct ICrmCompensatorVtbl __RPC_FAR *lpVtbl;
  343. };
  344. #ifdef COBJMACROS
  345. #define ICrmCompensator_QueryInterface(This,riid,ppvObject) \
  346. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  347. #define ICrmCompensator_AddRef(This) \
  348. (This)->lpVtbl -> AddRef(This)
  349. #define ICrmCompensator_Release(This) \
  350. (This)->lpVtbl -> Release(This)
  351. #define ICrmCompensator_SetLogControl(This,pLogControl) \
  352. (This)->lpVtbl -> SetLogControl(This,pLogControl)
  353. #define ICrmCompensator_BeginPrepare(This) \
  354. (This)->lpVtbl -> BeginPrepare(This)
  355. #define ICrmCompensator_PrepareRecord(This,crmLogRec,pfForget) \
  356. (This)->lpVtbl -> PrepareRecord(This,crmLogRec,pfForget)
  357. #define ICrmCompensator_EndPrepare(This,pfOkToPrepare) \
  358. (This)->lpVtbl -> EndPrepare(This,pfOkToPrepare)
  359. #define ICrmCompensator_BeginCommit(This,fRecovery) \
  360. (This)->lpVtbl -> BeginCommit(This,fRecovery)
  361. #define ICrmCompensator_CommitRecord(This,crmLogRec,pfForget) \
  362. (This)->lpVtbl -> CommitRecord(This,crmLogRec,pfForget)
  363. #define ICrmCompensator_EndCommit(This) \
  364. (This)->lpVtbl -> EndCommit(This)
  365. #define ICrmCompensator_BeginAbort(This,fRecovery) \
  366. (This)->lpVtbl -> BeginAbort(This,fRecovery)
  367. #define ICrmCompensator_AbortRecord(This,crmLogRec,pfForget) \
  368. (This)->lpVtbl -> AbortRecord(This,crmLogRec,pfForget)
  369. #define ICrmCompensator_EndAbort(This) \
  370. (This)->lpVtbl -> EndAbort(This)
  371. #endif /* COBJMACROS */
  372. #endif /* C style interface */
  373. HRESULT STDMETHODCALLTYPE ICrmCompensator_SetLogControl_Proxy(
  374. ICrmCompensator __RPC_FAR * This,
  375. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl);
  376. void __RPC_STUB ICrmCompensator_SetLogControl_Stub(
  377. IRpcStubBuffer *This,
  378. IRpcChannelBuffer *_pRpcChannelBuffer,
  379. PRPC_MESSAGE _pRpcMessage,
  380. DWORD *_pdwStubPhase);
  381. HRESULT STDMETHODCALLTYPE ICrmCompensator_BeginPrepare_Proxy(
  382. ICrmCompensator __RPC_FAR * This);
  383. void __RPC_STUB ICrmCompensator_BeginPrepare_Stub(
  384. IRpcStubBuffer *This,
  385. IRpcChannelBuffer *_pRpcChannelBuffer,
  386. PRPC_MESSAGE _pRpcMessage,
  387. DWORD *_pdwStubPhase);
  388. HRESULT STDMETHODCALLTYPE ICrmCompensator_PrepareRecord_Proxy(
  389. ICrmCompensator __RPC_FAR * This,
  390. /* [in] */ CrmLogRecordRead crmLogRec,
  391. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  392. void __RPC_STUB ICrmCompensator_PrepareRecord_Stub(
  393. IRpcStubBuffer *This,
  394. IRpcChannelBuffer *_pRpcChannelBuffer,
  395. PRPC_MESSAGE _pRpcMessage,
  396. DWORD *_pdwStubPhase);
  397. HRESULT STDMETHODCALLTYPE ICrmCompensator_EndPrepare_Proxy(
  398. ICrmCompensator __RPC_FAR * This,
  399. /* [retval][out] */ BOOL __RPC_FAR *pfOkToPrepare);
  400. void __RPC_STUB ICrmCompensator_EndPrepare_Stub(
  401. IRpcStubBuffer *This,
  402. IRpcChannelBuffer *_pRpcChannelBuffer,
  403. PRPC_MESSAGE _pRpcMessage,
  404. DWORD *_pdwStubPhase);
  405. HRESULT STDMETHODCALLTYPE ICrmCompensator_BeginCommit_Proxy(
  406. ICrmCompensator __RPC_FAR * This,
  407. /* [in] */ BOOL fRecovery);
  408. void __RPC_STUB ICrmCompensator_BeginCommit_Stub(
  409. IRpcStubBuffer *This,
  410. IRpcChannelBuffer *_pRpcChannelBuffer,
  411. PRPC_MESSAGE _pRpcMessage,
  412. DWORD *_pdwStubPhase);
  413. HRESULT STDMETHODCALLTYPE ICrmCompensator_CommitRecord_Proxy(
  414. ICrmCompensator __RPC_FAR * This,
  415. /* [in] */ CrmLogRecordRead crmLogRec,
  416. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  417. void __RPC_STUB ICrmCompensator_CommitRecord_Stub(
  418. IRpcStubBuffer *This,
  419. IRpcChannelBuffer *_pRpcChannelBuffer,
  420. PRPC_MESSAGE _pRpcMessage,
  421. DWORD *_pdwStubPhase);
  422. HRESULT STDMETHODCALLTYPE ICrmCompensator_EndCommit_Proxy(
  423. ICrmCompensator __RPC_FAR * This);
  424. void __RPC_STUB ICrmCompensator_EndCommit_Stub(
  425. IRpcStubBuffer *This,
  426. IRpcChannelBuffer *_pRpcChannelBuffer,
  427. PRPC_MESSAGE _pRpcMessage,
  428. DWORD *_pdwStubPhase);
  429. HRESULT STDMETHODCALLTYPE ICrmCompensator_BeginAbort_Proxy(
  430. ICrmCompensator __RPC_FAR * This,
  431. /* [in] */ BOOL fRecovery);
  432. void __RPC_STUB ICrmCompensator_BeginAbort_Stub(
  433. IRpcStubBuffer *This,
  434. IRpcChannelBuffer *_pRpcChannelBuffer,
  435. PRPC_MESSAGE _pRpcMessage,
  436. DWORD *_pdwStubPhase);
  437. HRESULT STDMETHODCALLTYPE ICrmCompensator_AbortRecord_Proxy(
  438. ICrmCompensator __RPC_FAR * This,
  439. /* [in] */ CrmLogRecordRead crmLogRec,
  440. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  441. void __RPC_STUB ICrmCompensator_AbortRecord_Stub(
  442. IRpcStubBuffer *This,
  443. IRpcChannelBuffer *_pRpcChannelBuffer,
  444. PRPC_MESSAGE _pRpcMessage,
  445. DWORD *_pdwStubPhase);
  446. HRESULT STDMETHODCALLTYPE ICrmCompensator_EndAbort_Proxy(
  447. ICrmCompensator __RPC_FAR * This);
  448. void __RPC_STUB ICrmCompensator_EndAbort_Stub(
  449. IRpcStubBuffer *This,
  450. IRpcChannelBuffer *_pRpcChannelBuffer,
  451. PRPC_MESSAGE _pRpcMessage,
  452. DWORD *_pdwStubPhase);
  453. #endif /* __ICrmCompensator_INTERFACE_DEFINED__ */
  454. /* Additional Prototypes for ALL interfaces */
  455. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  456. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  457. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  458. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  459. /* end of Additional Prototypes */
  460. #ifdef __cplusplus
  461. }
  462. #endif
  463. #endif