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.

2324 lines
75 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:42 1998
  4. */
  5. /* Compiler settings for dtccrm.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 __dtccrm_h__
  24. #define __dtccrm_h__
  25. #if _MSC_VER > 1000
  26. #pragma once
  27. #endif
  28. #ifdef __cplusplus
  29. extern "C"{
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICrmLogControl_FWD_DEFINED__
  33. #define __ICrmLogControl_FWD_DEFINED__
  34. typedef interface ICrmLogControl ICrmLogControl;
  35. #endif /* __ICrmLogControl_FWD_DEFINED__ */
  36. #ifndef __ICrmCompensatorVariants_FWD_DEFINED__
  37. #define __ICrmCompensatorVariants_FWD_DEFINED__
  38. typedef interface ICrmCompensatorVariants ICrmCompensatorVariants;
  39. #endif /* __ICrmCompensatorVariants_FWD_DEFINED__ */
  40. #ifndef __ICrmCompensator_FWD_DEFINED__
  41. #define __ICrmCompensator_FWD_DEFINED__
  42. typedef interface ICrmCompensator ICrmCompensator;
  43. #endif /* __ICrmCompensator_FWD_DEFINED__ */
  44. #ifndef __ICrmMonitorLogRecords_FWD_DEFINED__
  45. #define __ICrmMonitorLogRecords_FWD_DEFINED__
  46. typedef interface ICrmMonitorLogRecords ICrmMonitorLogRecords;
  47. #endif /* __ICrmMonitorLogRecords_FWD_DEFINED__ */
  48. #ifndef __ICrmMonitorClerks_FWD_DEFINED__
  49. #define __ICrmMonitorClerks_FWD_DEFINED__
  50. typedef interface ICrmMonitorClerks ICrmMonitorClerks;
  51. #endif /* __ICrmMonitorClerks_FWD_DEFINED__ */
  52. #ifndef __ICrmMonitor_FWD_DEFINED__
  53. #define __ICrmMonitor_FWD_DEFINED__
  54. typedef interface ICrmMonitor ICrmMonitor;
  55. #endif /* __ICrmMonitor_FWD_DEFINED__ */
  56. #ifndef __ICrmFormatLogRecords_FWD_DEFINED__
  57. #define __ICrmFormatLogRecords_FWD_DEFINED__
  58. typedef interface ICrmFormatLogRecords ICrmFormatLogRecords;
  59. #endif /* __ICrmFormatLogRecords_FWD_DEFINED__ */
  60. #ifndef __ICRMClerk_FWD_DEFINED__
  61. #define __ICRMClerk_FWD_DEFINED__
  62. typedef interface ICRMClerk ICRMClerk;
  63. #endif /* __ICRMClerk_FWD_DEFINED__ */
  64. #ifndef __ICRMRecoveryClerk_FWD_DEFINED__
  65. #define __ICRMRecoveryClerk_FWD_DEFINED__
  66. typedef interface ICRMRecoveryClerk ICRMRecoveryClerk;
  67. #endif /* __ICRMRecoveryClerk_FWD_DEFINED__ */
  68. #ifndef __IClerksCollection_FWD_DEFINED__
  69. #define __IClerksCollection_FWD_DEFINED__
  70. typedef interface IClerksCollection IClerksCollection;
  71. #endif /* __IClerksCollection_FWD_DEFINED__ */
  72. #ifndef __ICrmCompensator_FWD_DEFINED__
  73. #define __ICrmCompensator_FWD_DEFINED__
  74. typedef interface ICrmCompensator ICrmCompensator;
  75. #endif /* __ICrmCompensator_FWD_DEFINED__ */
  76. #ifndef __ICrmCompensatorVariants_FWD_DEFINED__
  77. #define __ICrmCompensatorVariants_FWD_DEFINED__
  78. typedef interface ICrmCompensatorVariants ICrmCompensatorVariants;
  79. #endif /* __ICrmCompensatorVariants_FWD_DEFINED__ */
  80. #ifndef __ICrmFormatLogRecords_FWD_DEFINED__
  81. #define __ICrmFormatLogRecords_FWD_DEFINED__
  82. typedef interface ICrmFormatLogRecords ICrmFormatLogRecords;
  83. #endif /* __ICrmFormatLogRecords_FWD_DEFINED__ */
  84. #ifndef __CRMClerk_FWD_DEFINED__
  85. #define __CRMClerk_FWD_DEFINED__
  86. #ifdef __cplusplus
  87. typedef class CRMClerk CRMClerk;
  88. #else
  89. typedef struct CRMClerk CRMClerk;
  90. #endif /* __cplusplus */
  91. #endif /* __CRMClerk_FWD_DEFINED__ */
  92. #ifndef __CRMRecoveryClerk_FWD_DEFINED__
  93. #define __CRMRecoveryClerk_FWD_DEFINED__
  94. #ifdef __cplusplus
  95. typedef class CRMRecoveryClerk CRMRecoveryClerk;
  96. #else
  97. typedef struct CRMRecoveryClerk CRMRecoveryClerk;
  98. #endif /* __cplusplus */
  99. #endif /* __CRMRecoveryClerk_FWD_DEFINED__ */
  100. #ifndef __ClerksCollection_FWD_DEFINED__
  101. #define __ClerksCollection_FWD_DEFINED__
  102. #ifdef __cplusplus
  103. typedef class ClerksCollection ClerksCollection;
  104. #else
  105. typedef struct ClerksCollection ClerksCollection;
  106. #endif /* __cplusplus */
  107. #endif /* __ClerksCollection_FWD_DEFINED__ */
  108. /* header files for imported files */
  109. #include "oaidl.h"
  110. #include "ocidl.h"
  111. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  112. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  113. #ifndef __ICrmLogControl_INTERFACE_DEFINED__
  114. #define __ICrmLogControl_INTERFACE_DEFINED__
  115. /* interface ICrmLogControl */
  116. /* [unique][helpstring][uuid][object] */
  117. EXTERN_C const IID IID_ICrmLogControl;
  118. #if defined(__cplusplus) && !defined(CINTERFACE)
  119. MIDL_INTERFACE("3AC41995-5273-11d2-8F75-00805FC7BCD9")
  120. ICrmLogControl : public IUnknown
  121. {
  122. public:
  123. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransactionUOW(
  124. /* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
  125. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RegisterCompensator(
  126. /* [in] */ LPCWSTR lpcwstrProgIdCompensator,
  127. /* [in] */ LPCWSTR lpcwstrDescription) = 0;
  128. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WriteLogRecordVariants(
  129. /* [in] */ VARIANT __RPC_FAR *pLogRecord) = 0;
  130. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ForceLog( void) = 0;
  131. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ForgetLogRecord( void) = 0;
  132. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ForceTransactionToAbort( void) = 0;
  133. virtual HRESULT STDMETHODCALLTYPE WriteLogRecord(
  134. /* [size_is][in] */ BLOB __RPC_FAR rgBlob[ ],
  135. /* [in] */ ULONG cBlob) = 0;
  136. };
  137. #else /* C style interface */
  138. typedef struct ICrmLogControlVtbl
  139. {
  140. BEGIN_INTERFACE
  141. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  142. ICrmLogControl __RPC_FAR * This,
  143. /* [in] */ REFIID riid,
  144. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  145. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  146. ICrmLogControl __RPC_FAR * This);
  147. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  148. ICrmLogControl __RPC_FAR * This);
  149. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TransactionUOW )(
  150. ICrmLogControl __RPC_FAR * This,
  151. /* [retval][out] */ BSTR __RPC_FAR *pVal);
  152. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterCompensator )(
  153. ICrmLogControl __RPC_FAR * This,
  154. /* [in] */ LPCWSTR lpcwstrProgIdCompensator,
  155. /* [in] */ LPCWSTR lpcwstrDescription);
  156. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteLogRecordVariants )(
  157. ICrmLogControl __RPC_FAR * This,
  158. /* [in] */ VARIANT __RPC_FAR *pLogRecord);
  159. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ForceLog )(
  160. ICrmLogControl __RPC_FAR * This);
  161. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ForgetLogRecord )(
  162. ICrmLogControl __RPC_FAR * This);
  163. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ForceTransactionToAbort )(
  164. ICrmLogControl __RPC_FAR * This);
  165. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteLogRecord )(
  166. ICrmLogControl __RPC_FAR * This,
  167. /* [size_is][in] */ BLOB __RPC_FAR rgBlob[ ],
  168. /* [in] */ ULONG cBlob);
  169. END_INTERFACE
  170. } ICrmLogControlVtbl;
  171. interface ICrmLogControl
  172. {
  173. CONST_VTBL struct ICrmLogControlVtbl __RPC_FAR *lpVtbl;
  174. };
  175. #ifdef COBJMACROS
  176. #define ICrmLogControl_QueryInterface(This,riid,ppvObject) \
  177. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  178. #define ICrmLogControl_AddRef(This) \
  179. (This)->lpVtbl -> AddRef(This)
  180. #define ICrmLogControl_Release(This) \
  181. (This)->lpVtbl -> Release(This)
  182. #define ICrmLogControl_get_TransactionUOW(This,pVal) \
  183. (This)->lpVtbl -> get_TransactionUOW(This,pVal)
  184. #define ICrmLogControl_RegisterCompensator(This,lpcwstrProgIdCompensator,lpcwstrDescription) \
  185. (This)->lpVtbl -> RegisterCompensator(This,lpcwstrProgIdCompensator,lpcwstrDescription)
  186. #define ICrmLogControl_WriteLogRecordVariants(This,pLogRecord) \
  187. (This)->lpVtbl -> WriteLogRecordVariants(This,pLogRecord)
  188. #define ICrmLogControl_ForceLog(This) \
  189. (This)->lpVtbl -> ForceLog(This)
  190. #define ICrmLogControl_ForgetLogRecord(This) \
  191. (This)->lpVtbl -> ForgetLogRecord(This)
  192. #define ICrmLogControl_ForceTransactionToAbort(This) \
  193. (This)->lpVtbl -> ForceTransactionToAbort(This)
  194. #define ICrmLogControl_WriteLogRecord(This,rgBlob,cBlob) \
  195. (This)->lpVtbl -> WriteLogRecord(This,rgBlob,cBlob)
  196. #endif /* COBJMACROS */
  197. #endif /* C style interface */
  198. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_get_TransactionUOW_Proxy(
  199. ICrmLogControl __RPC_FAR * This,
  200. /* [retval][out] */ BSTR __RPC_FAR *pVal);
  201. void __RPC_STUB ICrmLogControl_get_TransactionUOW_Stub(
  202. IRpcStubBuffer *This,
  203. IRpcChannelBuffer *_pRpcChannelBuffer,
  204. PRPC_MESSAGE _pRpcMessage,
  205. DWORD *_pdwStubPhase);
  206. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_RegisterCompensator_Proxy(
  207. ICrmLogControl __RPC_FAR * This,
  208. /* [in] */ LPCWSTR lpcwstrProgIdCompensator,
  209. /* [in] */ LPCWSTR lpcwstrDescription);
  210. void __RPC_STUB ICrmLogControl_RegisterCompensator_Stub(
  211. IRpcStubBuffer *This,
  212. IRpcChannelBuffer *_pRpcChannelBuffer,
  213. PRPC_MESSAGE _pRpcMessage,
  214. DWORD *_pdwStubPhase);
  215. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_WriteLogRecordVariants_Proxy(
  216. ICrmLogControl __RPC_FAR * This,
  217. /* [in] */ VARIANT __RPC_FAR *pLogRecord);
  218. void __RPC_STUB ICrmLogControl_WriteLogRecordVariants_Stub(
  219. IRpcStubBuffer *This,
  220. IRpcChannelBuffer *_pRpcChannelBuffer,
  221. PRPC_MESSAGE _pRpcMessage,
  222. DWORD *_pdwStubPhase);
  223. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_ForceLog_Proxy(
  224. ICrmLogControl __RPC_FAR * This);
  225. void __RPC_STUB ICrmLogControl_ForceLog_Stub(
  226. IRpcStubBuffer *This,
  227. IRpcChannelBuffer *_pRpcChannelBuffer,
  228. PRPC_MESSAGE _pRpcMessage,
  229. DWORD *_pdwStubPhase);
  230. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_ForgetLogRecord_Proxy(
  231. ICrmLogControl __RPC_FAR * This);
  232. void __RPC_STUB ICrmLogControl_ForgetLogRecord_Stub(
  233. IRpcStubBuffer *This,
  234. IRpcChannelBuffer *_pRpcChannelBuffer,
  235. PRPC_MESSAGE _pRpcMessage,
  236. DWORD *_pdwStubPhase);
  237. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_ForceTransactionToAbort_Proxy(
  238. ICrmLogControl __RPC_FAR * This);
  239. void __RPC_STUB ICrmLogControl_ForceTransactionToAbort_Stub(
  240. IRpcStubBuffer *This,
  241. IRpcChannelBuffer *_pRpcChannelBuffer,
  242. PRPC_MESSAGE _pRpcMessage,
  243. DWORD *_pdwStubPhase);
  244. HRESULT STDMETHODCALLTYPE ICrmLogControl_WriteLogRecord_Proxy(
  245. ICrmLogControl __RPC_FAR * This,
  246. /* [size_is][in] */ BLOB __RPC_FAR rgBlob[ ],
  247. /* [in] */ ULONG cBlob);
  248. void __RPC_STUB ICrmLogControl_WriteLogRecord_Stub(
  249. IRpcStubBuffer *This,
  250. IRpcChannelBuffer *_pRpcChannelBuffer,
  251. PRPC_MESSAGE _pRpcMessage,
  252. DWORD *_pdwStubPhase);
  253. #endif /* __ICrmLogControl_INTERFACE_DEFINED__ */
  254. /* interface __MIDL_itf_dtccrm_0234 */
  255. /* [local] */
  256. #ifndef _tagCrmFlags_
  257. #define _tagCrmFlags_
  258. typedef
  259. enum tagCrmFlags
  260. { crmflag_ForgetTarget = 0x1,
  261. crmflag_WrittenDuringPrepare = 0x2,
  262. crmflag_WrittenDuringCommit = 0x4,
  263. crmflag_WrittenDuringAbort = 0x8,
  264. crmflag_WrittenDuringRecovery = 0x10,
  265. crmflag_WrittenDuringReplay = 0x20,
  266. crmflag_ReplayInProgress = 0x40
  267. } CrmFlags;
  268. #endif _tagCrmFlags_
  269. extern RPC_IF_HANDLE __MIDL_itf_dtccrm_0234_v0_0_c_ifspec;
  270. extern RPC_IF_HANDLE __MIDL_itf_dtccrm_0234_v0_0_s_ifspec;
  271. #ifndef __ICrmCompensatorVariants_INTERFACE_DEFINED__
  272. #define __ICrmCompensatorVariants_INTERFACE_DEFINED__
  273. /* interface ICrmCompensatorVariants */
  274. /* [unique][helpstring][uuid][object] */
  275. EXTERN_C const IID IID_ICrmCompensatorVariants;
  276. #if defined(__cplusplus) && !defined(CINTERFACE)
  277. MIDL_INTERFACE("F0BAF8E4-7804-11d1-82E9-00A0C91EEDE9")
  278. ICrmCompensatorVariants : public IUnknown
  279. {
  280. public:
  281. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetLogControlVariants(
  282. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl) = 0;
  283. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BeginPrepareVariants( void) = 0;
  284. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PrepareRecordVariants(
  285. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  286. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget) = 0;
  287. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EndPrepareVariants(
  288. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbOkToPrepare) = 0;
  289. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BeginCommitVariants(
  290. /* [in] */ VARIANT_BOOL bRecovery) = 0;
  291. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CommitRecordVariants(
  292. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  293. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget) = 0;
  294. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EndCommitVariants( void) = 0;
  295. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BeginAbortVariants(
  296. /* [in] */ VARIANT_BOOL bRecovery) = 0;
  297. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AbortRecordVariants(
  298. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  299. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget) = 0;
  300. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE EndAbortVariants( void) = 0;
  301. };
  302. #else /* C style interface */
  303. typedef struct ICrmCompensatorVariantsVtbl
  304. {
  305. BEGIN_INTERFACE
  306. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  307. ICrmCompensatorVariants __RPC_FAR * This,
  308. /* [in] */ REFIID riid,
  309. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  310. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  311. ICrmCompensatorVariants __RPC_FAR * This);
  312. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  313. ICrmCompensatorVariants __RPC_FAR * This);
  314. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLogControlVariants )(
  315. ICrmCompensatorVariants __RPC_FAR * This,
  316. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl);
  317. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginPrepareVariants )(
  318. ICrmCompensatorVariants __RPC_FAR * This);
  319. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PrepareRecordVariants )(
  320. ICrmCompensatorVariants __RPC_FAR * This,
  321. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  322. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  323. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndPrepareVariants )(
  324. ICrmCompensatorVariants __RPC_FAR * This,
  325. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbOkToPrepare);
  326. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginCommitVariants )(
  327. ICrmCompensatorVariants __RPC_FAR * This,
  328. /* [in] */ VARIANT_BOOL bRecovery);
  329. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CommitRecordVariants )(
  330. ICrmCompensatorVariants __RPC_FAR * This,
  331. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  332. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  333. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndCommitVariants )(
  334. ICrmCompensatorVariants __RPC_FAR * This);
  335. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginAbortVariants )(
  336. ICrmCompensatorVariants __RPC_FAR * This,
  337. /* [in] */ VARIANT_BOOL bRecovery);
  338. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AbortRecordVariants )(
  339. ICrmCompensatorVariants __RPC_FAR * This,
  340. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  341. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  342. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndAbortVariants )(
  343. ICrmCompensatorVariants __RPC_FAR * This);
  344. END_INTERFACE
  345. } ICrmCompensatorVariantsVtbl;
  346. interface ICrmCompensatorVariants
  347. {
  348. CONST_VTBL struct ICrmCompensatorVariantsVtbl __RPC_FAR *lpVtbl;
  349. };
  350. #ifdef COBJMACROS
  351. #define ICrmCompensatorVariants_QueryInterface(This,riid,ppvObject) \
  352. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  353. #define ICrmCompensatorVariants_AddRef(This) \
  354. (This)->lpVtbl -> AddRef(This)
  355. #define ICrmCompensatorVariants_Release(This) \
  356. (This)->lpVtbl -> Release(This)
  357. #define ICrmCompensatorVariants_SetLogControlVariants(This,pLogControl) \
  358. (This)->lpVtbl -> SetLogControlVariants(This,pLogControl)
  359. #define ICrmCompensatorVariants_BeginPrepareVariants(This) \
  360. (This)->lpVtbl -> BeginPrepareVariants(This)
  361. #define ICrmCompensatorVariants_PrepareRecordVariants(This,pLogRecord,pbForget) \
  362. (This)->lpVtbl -> PrepareRecordVariants(This,pLogRecord,pbForget)
  363. #define ICrmCompensatorVariants_EndPrepareVariants(This,pbOkToPrepare) \
  364. (This)->lpVtbl -> EndPrepareVariants(This,pbOkToPrepare)
  365. #define ICrmCompensatorVariants_BeginCommitVariants(This,bRecovery) \
  366. (This)->lpVtbl -> BeginCommitVariants(This,bRecovery)
  367. #define ICrmCompensatorVariants_CommitRecordVariants(This,pLogRecord,pbForget) \
  368. (This)->lpVtbl -> CommitRecordVariants(This,pLogRecord,pbForget)
  369. #define ICrmCompensatorVariants_EndCommitVariants(This) \
  370. (This)->lpVtbl -> EndCommitVariants(This)
  371. #define ICrmCompensatorVariants_BeginAbortVariants(This,bRecovery) \
  372. (This)->lpVtbl -> BeginAbortVariants(This,bRecovery)
  373. #define ICrmCompensatorVariants_AbortRecordVariants(This,pLogRecord,pbForget) \
  374. (This)->lpVtbl -> AbortRecordVariants(This,pLogRecord,pbForget)
  375. #define ICrmCompensatorVariants_EndAbortVariants(This) \
  376. (This)->lpVtbl -> EndAbortVariants(This)
  377. #endif /* COBJMACROS */
  378. #endif /* C style interface */
  379. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_SetLogControlVariants_Proxy(
  380. ICrmCompensatorVariants __RPC_FAR * This,
  381. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl);
  382. void __RPC_STUB ICrmCompensatorVariants_SetLogControlVariants_Stub(
  383. IRpcStubBuffer *This,
  384. IRpcChannelBuffer *_pRpcChannelBuffer,
  385. PRPC_MESSAGE _pRpcMessage,
  386. DWORD *_pdwStubPhase);
  387. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_BeginPrepareVariants_Proxy(
  388. ICrmCompensatorVariants __RPC_FAR * This);
  389. void __RPC_STUB ICrmCompensatorVariants_BeginPrepareVariants_Stub(
  390. IRpcStubBuffer *This,
  391. IRpcChannelBuffer *_pRpcChannelBuffer,
  392. PRPC_MESSAGE _pRpcMessage,
  393. DWORD *_pdwStubPhase);
  394. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_PrepareRecordVariants_Proxy(
  395. ICrmCompensatorVariants __RPC_FAR * This,
  396. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  397. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  398. void __RPC_STUB ICrmCompensatorVariants_PrepareRecordVariants_Stub(
  399. IRpcStubBuffer *This,
  400. IRpcChannelBuffer *_pRpcChannelBuffer,
  401. PRPC_MESSAGE _pRpcMessage,
  402. DWORD *_pdwStubPhase);
  403. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_EndPrepareVariants_Proxy(
  404. ICrmCompensatorVariants __RPC_FAR * This,
  405. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbOkToPrepare);
  406. void __RPC_STUB ICrmCompensatorVariants_EndPrepareVariants_Stub(
  407. IRpcStubBuffer *This,
  408. IRpcChannelBuffer *_pRpcChannelBuffer,
  409. PRPC_MESSAGE _pRpcMessage,
  410. DWORD *_pdwStubPhase);
  411. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_BeginCommitVariants_Proxy(
  412. ICrmCompensatorVariants __RPC_FAR * This,
  413. /* [in] */ VARIANT_BOOL bRecovery);
  414. void __RPC_STUB ICrmCompensatorVariants_BeginCommitVariants_Stub(
  415. IRpcStubBuffer *This,
  416. IRpcChannelBuffer *_pRpcChannelBuffer,
  417. PRPC_MESSAGE _pRpcMessage,
  418. DWORD *_pdwStubPhase);
  419. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_CommitRecordVariants_Proxy(
  420. ICrmCompensatorVariants __RPC_FAR * This,
  421. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  422. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  423. void __RPC_STUB ICrmCompensatorVariants_CommitRecordVariants_Stub(
  424. IRpcStubBuffer *This,
  425. IRpcChannelBuffer *_pRpcChannelBuffer,
  426. PRPC_MESSAGE _pRpcMessage,
  427. DWORD *_pdwStubPhase);
  428. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_EndCommitVariants_Proxy(
  429. ICrmCompensatorVariants __RPC_FAR * This);
  430. void __RPC_STUB ICrmCompensatorVariants_EndCommitVariants_Stub(
  431. IRpcStubBuffer *This,
  432. IRpcChannelBuffer *_pRpcChannelBuffer,
  433. PRPC_MESSAGE _pRpcMessage,
  434. DWORD *_pdwStubPhase);
  435. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_BeginAbortVariants_Proxy(
  436. ICrmCompensatorVariants __RPC_FAR * This,
  437. /* [in] */ VARIANT_BOOL bRecovery);
  438. void __RPC_STUB ICrmCompensatorVariants_BeginAbortVariants_Stub(
  439. IRpcStubBuffer *This,
  440. IRpcChannelBuffer *_pRpcChannelBuffer,
  441. PRPC_MESSAGE _pRpcMessage,
  442. DWORD *_pdwStubPhase);
  443. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_AbortRecordVariants_Proxy(
  444. ICrmCompensatorVariants __RPC_FAR * This,
  445. /* [in] */ VARIANT __RPC_FAR *pLogRecord,
  446. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbForget);
  447. void __RPC_STUB ICrmCompensatorVariants_AbortRecordVariants_Stub(
  448. IRpcStubBuffer *This,
  449. IRpcChannelBuffer *_pRpcChannelBuffer,
  450. PRPC_MESSAGE _pRpcMessage,
  451. DWORD *_pdwStubPhase);
  452. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmCompensatorVariants_EndAbortVariants_Proxy(
  453. ICrmCompensatorVariants __RPC_FAR * This);
  454. void __RPC_STUB ICrmCompensatorVariants_EndAbortVariants_Stub(
  455. IRpcStubBuffer *This,
  456. IRpcChannelBuffer *_pRpcChannelBuffer,
  457. PRPC_MESSAGE _pRpcMessage,
  458. DWORD *_pdwStubPhase);
  459. #endif /* __ICrmCompensatorVariants_INTERFACE_DEFINED__ */
  460. /* interface __MIDL_itf_dtccrm_0237 */
  461. /* [local] */
  462. #ifndef _tagCrmLogRecordRead_
  463. #define _tagCrmLogRecordRead_
  464. typedef struct tagCrmLogRecordRead
  465. {
  466. DWORD dwCrmFlags;
  467. DWORD dwSequenceNumber;
  468. BLOB blobUserData;
  469. } CrmLogRecordRead;
  470. #endif _tagCrmLogRecordRead_
  471. extern RPC_IF_HANDLE __MIDL_itf_dtccrm_0237_v0_0_c_ifspec;
  472. extern RPC_IF_HANDLE __MIDL_itf_dtccrm_0237_v0_0_s_ifspec;
  473. #ifndef __ICrmCompensator_INTERFACE_DEFINED__
  474. #define __ICrmCompensator_INTERFACE_DEFINED__
  475. /* interface ICrmCompensator */
  476. /* [unique][helpstring][uuid][object] */
  477. EXTERN_C const IID IID_ICrmCompensator;
  478. #if defined(__cplusplus) && !defined(CINTERFACE)
  479. MIDL_INTERFACE("BBC01830-8D3B-11d1-82EC-00A0C91EEDE9")
  480. ICrmCompensator : public IUnknown
  481. {
  482. public:
  483. virtual HRESULT STDMETHODCALLTYPE SetLogControl(
  484. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl) = 0;
  485. virtual HRESULT STDMETHODCALLTYPE BeginPrepare( void) = 0;
  486. virtual HRESULT STDMETHODCALLTYPE PrepareRecord(
  487. /* [in] */ CrmLogRecordRead crmLogRec,
  488. /* [retval][out] */ BOOL __RPC_FAR *pfForget) = 0;
  489. virtual HRESULT STDMETHODCALLTYPE EndPrepare(
  490. /* [retval][out] */ BOOL __RPC_FAR *pfOkToPrepare) = 0;
  491. virtual HRESULT STDMETHODCALLTYPE BeginCommit(
  492. /* [in] */ BOOL fRecovery) = 0;
  493. virtual HRESULT STDMETHODCALLTYPE CommitRecord(
  494. /* [in] */ CrmLogRecordRead crmLogRec,
  495. /* [retval][out] */ BOOL __RPC_FAR *pfForget) = 0;
  496. virtual HRESULT STDMETHODCALLTYPE EndCommit( void) = 0;
  497. virtual HRESULT STDMETHODCALLTYPE BeginAbort(
  498. /* [in] */ BOOL fRecovery) = 0;
  499. virtual HRESULT STDMETHODCALLTYPE AbortRecord(
  500. /* [in] */ CrmLogRecordRead crmLogRec,
  501. /* [retval][out] */ BOOL __RPC_FAR *pfForget) = 0;
  502. virtual HRESULT STDMETHODCALLTYPE EndAbort( void) = 0;
  503. };
  504. #else /* C style interface */
  505. typedef struct ICrmCompensatorVtbl
  506. {
  507. BEGIN_INTERFACE
  508. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  509. ICrmCompensator __RPC_FAR * This,
  510. /* [in] */ REFIID riid,
  511. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  512. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  513. ICrmCompensator __RPC_FAR * This);
  514. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  515. ICrmCompensator __RPC_FAR * This);
  516. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLogControl )(
  517. ICrmCompensator __RPC_FAR * This,
  518. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl);
  519. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginPrepare )(
  520. ICrmCompensator __RPC_FAR * This);
  521. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PrepareRecord )(
  522. ICrmCompensator __RPC_FAR * This,
  523. /* [in] */ CrmLogRecordRead crmLogRec,
  524. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  525. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndPrepare )(
  526. ICrmCompensator __RPC_FAR * This,
  527. /* [retval][out] */ BOOL __RPC_FAR *pfOkToPrepare);
  528. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginCommit )(
  529. ICrmCompensator __RPC_FAR * This,
  530. /* [in] */ BOOL fRecovery);
  531. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CommitRecord )(
  532. ICrmCompensator __RPC_FAR * This,
  533. /* [in] */ CrmLogRecordRead crmLogRec,
  534. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  535. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndCommit )(
  536. ICrmCompensator __RPC_FAR * This);
  537. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginAbort )(
  538. ICrmCompensator __RPC_FAR * This,
  539. /* [in] */ BOOL fRecovery);
  540. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AbortRecord )(
  541. ICrmCompensator __RPC_FAR * This,
  542. /* [in] */ CrmLogRecordRead crmLogRec,
  543. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  544. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndAbort )(
  545. ICrmCompensator __RPC_FAR * This);
  546. END_INTERFACE
  547. } ICrmCompensatorVtbl;
  548. interface ICrmCompensator
  549. {
  550. CONST_VTBL struct ICrmCompensatorVtbl __RPC_FAR *lpVtbl;
  551. };
  552. #ifdef COBJMACROS
  553. #define ICrmCompensator_QueryInterface(This,riid,ppvObject) \
  554. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  555. #define ICrmCompensator_AddRef(This) \
  556. (This)->lpVtbl -> AddRef(This)
  557. #define ICrmCompensator_Release(This) \
  558. (This)->lpVtbl -> Release(This)
  559. #define ICrmCompensator_SetLogControl(This,pLogControl) \
  560. (This)->lpVtbl -> SetLogControl(This,pLogControl)
  561. #define ICrmCompensator_BeginPrepare(This) \
  562. (This)->lpVtbl -> BeginPrepare(This)
  563. #define ICrmCompensator_PrepareRecord(This,crmLogRec,pfForget) \
  564. (This)->lpVtbl -> PrepareRecord(This,crmLogRec,pfForget)
  565. #define ICrmCompensator_EndPrepare(This,pfOkToPrepare) \
  566. (This)->lpVtbl -> EndPrepare(This,pfOkToPrepare)
  567. #define ICrmCompensator_BeginCommit(This,fRecovery) \
  568. (This)->lpVtbl -> BeginCommit(This,fRecovery)
  569. #define ICrmCompensator_CommitRecord(This,crmLogRec,pfForget) \
  570. (This)->lpVtbl -> CommitRecord(This,crmLogRec,pfForget)
  571. #define ICrmCompensator_EndCommit(This) \
  572. (This)->lpVtbl -> EndCommit(This)
  573. #define ICrmCompensator_BeginAbort(This,fRecovery) \
  574. (This)->lpVtbl -> BeginAbort(This,fRecovery)
  575. #define ICrmCompensator_AbortRecord(This,crmLogRec,pfForget) \
  576. (This)->lpVtbl -> AbortRecord(This,crmLogRec,pfForget)
  577. #define ICrmCompensator_EndAbort(This) \
  578. (This)->lpVtbl -> EndAbort(This)
  579. #endif /* COBJMACROS */
  580. #endif /* C style interface */
  581. HRESULT STDMETHODCALLTYPE ICrmCompensator_SetLogControl_Proxy(
  582. ICrmCompensator __RPC_FAR * This,
  583. /* [in] */ ICrmLogControl __RPC_FAR *pLogControl);
  584. void __RPC_STUB ICrmCompensator_SetLogControl_Stub(
  585. IRpcStubBuffer *This,
  586. IRpcChannelBuffer *_pRpcChannelBuffer,
  587. PRPC_MESSAGE _pRpcMessage,
  588. DWORD *_pdwStubPhase);
  589. HRESULT STDMETHODCALLTYPE ICrmCompensator_BeginPrepare_Proxy(
  590. ICrmCompensator __RPC_FAR * This);
  591. void __RPC_STUB ICrmCompensator_BeginPrepare_Stub(
  592. IRpcStubBuffer *This,
  593. IRpcChannelBuffer *_pRpcChannelBuffer,
  594. PRPC_MESSAGE _pRpcMessage,
  595. DWORD *_pdwStubPhase);
  596. HRESULT STDMETHODCALLTYPE ICrmCompensator_PrepareRecord_Proxy(
  597. ICrmCompensator __RPC_FAR * This,
  598. /* [in] */ CrmLogRecordRead crmLogRec,
  599. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  600. void __RPC_STUB ICrmCompensator_PrepareRecord_Stub(
  601. IRpcStubBuffer *This,
  602. IRpcChannelBuffer *_pRpcChannelBuffer,
  603. PRPC_MESSAGE _pRpcMessage,
  604. DWORD *_pdwStubPhase);
  605. HRESULT STDMETHODCALLTYPE ICrmCompensator_EndPrepare_Proxy(
  606. ICrmCompensator __RPC_FAR * This,
  607. /* [retval][out] */ BOOL __RPC_FAR *pfOkToPrepare);
  608. void __RPC_STUB ICrmCompensator_EndPrepare_Stub(
  609. IRpcStubBuffer *This,
  610. IRpcChannelBuffer *_pRpcChannelBuffer,
  611. PRPC_MESSAGE _pRpcMessage,
  612. DWORD *_pdwStubPhase);
  613. HRESULT STDMETHODCALLTYPE ICrmCompensator_BeginCommit_Proxy(
  614. ICrmCompensator __RPC_FAR * This,
  615. /* [in] */ BOOL fRecovery);
  616. void __RPC_STUB ICrmCompensator_BeginCommit_Stub(
  617. IRpcStubBuffer *This,
  618. IRpcChannelBuffer *_pRpcChannelBuffer,
  619. PRPC_MESSAGE _pRpcMessage,
  620. DWORD *_pdwStubPhase);
  621. HRESULT STDMETHODCALLTYPE ICrmCompensator_CommitRecord_Proxy(
  622. ICrmCompensator __RPC_FAR * This,
  623. /* [in] */ CrmLogRecordRead crmLogRec,
  624. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  625. void __RPC_STUB ICrmCompensator_CommitRecord_Stub(
  626. IRpcStubBuffer *This,
  627. IRpcChannelBuffer *_pRpcChannelBuffer,
  628. PRPC_MESSAGE _pRpcMessage,
  629. DWORD *_pdwStubPhase);
  630. HRESULT STDMETHODCALLTYPE ICrmCompensator_EndCommit_Proxy(
  631. ICrmCompensator __RPC_FAR * This);
  632. void __RPC_STUB ICrmCompensator_EndCommit_Stub(
  633. IRpcStubBuffer *This,
  634. IRpcChannelBuffer *_pRpcChannelBuffer,
  635. PRPC_MESSAGE _pRpcMessage,
  636. DWORD *_pdwStubPhase);
  637. HRESULT STDMETHODCALLTYPE ICrmCompensator_BeginAbort_Proxy(
  638. ICrmCompensator __RPC_FAR * This,
  639. /* [in] */ BOOL fRecovery);
  640. void __RPC_STUB ICrmCompensator_BeginAbort_Stub(
  641. IRpcStubBuffer *This,
  642. IRpcChannelBuffer *_pRpcChannelBuffer,
  643. PRPC_MESSAGE _pRpcMessage,
  644. DWORD *_pdwStubPhase);
  645. HRESULT STDMETHODCALLTYPE ICrmCompensator_AbortRecord_Proxy(
  646. ICrmCompensator __RPC_FAR * This,
  647. /* [in] */ CrmLogRecordRead crmLogRec,
  648. /* [retval][out] */ BOOL __RPC_FAR *pfForget);
  649. void __RPC_STUB ICrmCompensator_AbortRecord_Stub(
  650. IRpcStubBuffer *This,
  651. IRpcChannelBuffer *_pRpcChannelBuffer,
  652. PRPC_MESSAGE _pRpcMessage,
  653. DWORD *_pdwStubPhase);
  654. HRESULT STDMETHODCALLTYPE ICrmCompensator_EndAbort_Proxy(
  655. ICrmCompensator __RPC_FAR * This);
  656. void __RPC_STUB ICrmCompensator_EndAbort_Stub(
  657. IRpcStubBuffer *This,
  658. IRpcChannelBuffer *_pRpcChannelBuffer,
  659. PRPC_MESSAGE _pRpcMessage,
  660. DWORD *_pdwStubPhase);
  661. #endif /* __ICrmCompensator_INTERFACE_DEFINED__ */
  662. /* interface __MIDL_itf_dtccrm_0238 */
  663. /* [local] */
  664. #ifndef _tagCrmTransactionState_
  665. #define _tagCrmTransactionState_
  666. typedef
  667. enum tagCrmTransactionState
  668. { TxState_Active = 0,
  669. TxState_Committed = TxState_Active + 1,
  670. TxState_Aborted = TxState_Committed + 1,
  671. TxState_Indoubt = TxState_Aborted + 1
  672. } CrmTransactionState;
  673. #endif _tagCrmTransactionState_
  674. extern RPC_IF_HANDLE __MIDL_itf_dtccrm_0238_v0_0_c_ifspec;
  675. extern RPC_IF_HANDLE __MIDL_itf_dtccrm_0238_v0_0_s_ifspec;
  676. #ifndef __ICrmMonitorLogRecords_INTERFACE_DEFINED__
  677. #define __ICrmMonitorLogRecords_INTERFACE_DEFINED__
  678. /* interface ICrmMonitorLogRecords */
  679. /* [unique][helpstring][uuid][object] */
  680. EXTERN_C const IID IID_ICrmMonitorLogRecords;
  681. #if defined(__cplusplus) && !defined(CINTERFACE)
  682. MIDL_INTERFACE("70C8E441-C7ED-11d1-82FB-00A0C91EEDE9")
  683. ICrmMonitorLogRecords : public IUnknown
  684. {
  685. public:
  686. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  687. /* [retval][out] */ long __RPC_FAR *pVal) = 0;
  688. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransactionState(
  689. /* [retval][out] */ CrmTransactionState __RPC_FAR *pVal) = 0;
  690. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_StructuredRecords(
  691. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal) = 0;
  692. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetLogRecord(
  693. /* [in] */ DWORD dwIndex,
  694. /* [out][in] */ CrmLogRecordRead __RPC_FAR *pCrmLogRec) = 0;
  695. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetLogRecordVariants(
  696. /* [in] */ VARIANT IndexNumber,
  697. /* [retval][out] */ LPVARIANT pLogRecord) = 0;
  698. };
  699. #else /* C style interface */
  700. typedef struct ICrmMonitorLogRecordsVtbl
  701. {
  702. BEGIN_INTERFACE
  703. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  704. ICrmMonitorLogRecords __RPC_FAR * This,
  705. /* [in] */ REFIID riid,
  706. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  707. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  708. ICrmMonitorLogRecords __RPC_FAR * This);
  709. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  710. ICrmMonitorLogRecords __RPC_FAR * This);
  711. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  712. ICrmMonitorLogRecords __RPC_FAR * This,
  713. /* [retval][out] */ long __RPC_FAR *pVal);
  714. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TransactionState )(
  715. ICrmMonitorLogRecords __RPC_FAR * This,
  716. /* [retval][out] */ CrmTransactionState __RPC_FAR *pVal);
  717. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_StructuredRecords )(
  718. ICrmMonitorLogRecords __RPC_FAR * This,
  719. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  720. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLogRecord )(
  721. ICrmMonitorLogRecords __RPC_FAR * This,
  722. /* [in] */ DWORD dwIndex,
  723. /* [out][in] */ CrmLogRecordRead __RPC_FAR *pCrmLogRec);
  724. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLogRecordVariants )(
  725. ICrmMonitorLogRecords __RPC_FAR * This,
  726. /* [in] */ VARIANT IndexNumber,
  727. /* [retval][out] */ LPVARIANT pLogRecord);
  728. END_INTERFACE
  729. } ICrmMonitorLogRecordsVtbl;
  730. interface ICrmMonitorLogRecords
  731. {
  732. CONST_VTBL struct ICrmMonitorLogRecordsVtbl __RPC_FAR *lpVtbl;
  733. };
  734. #ifdef COBJMACROS
  735. #define ICrmMonitorLogRecords_QueryInterface(This,riid,ppvObject) \
  736. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  737. #define ICrmMonitorLogRecords_AddRef(This) \
  738. (This)->lpVtbl -> AddRef(This)
  739. #define ICrmMonitorLogRecords_Release(This) \
  740. (This)->lpVtbl -> Release(This)
  741. #define ICrmMonitorLogRecords_get_Count(This,pVal) \
  742. (This)->lpVtbl -> get_Count(This,pVal)
  743. #define ICrmMonitorLogRecords_get_TransactionState(This,pVal) \
  744. (This)->lpVtbl -> get_TransactionState(This,pVal)
  745. #define ICrmMonitorLogRecords_get_StructuredRecords(This,pVal) \
  746. (This)->lpVtbl -> get_StructuredRecords(This,pVal)
  747. #define ICrmMonitorLogRecords_GetLogRecord(This,dwIndex,pCrmLogRec) \
  748. (This)->lpVtbl -> GetLogRecord(This,dwIndex,pCrmLogRec)
  749. #define ICrmMonitorLogRecords_GetLogRecordVariants(This,IndexNumber,pLogRecord) \
  750. (This)->lpVtbl -> GetLogRecordVariants(This,IndexNumber,pLogRecord)
  751. #endif /* COBJMACROS */
  752. #endif /* C style interface */
  753. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_get_Count_Proxy(
  754. ICrmMonitorLogRecords __RPC_FAR * This,
  755. /* [retval][out] */ long __RPC_FAR *pVal);
  756. void __RPC_STUB ICrmMonitorLogRecords_get_Count_Stub(
  757. IRpcStubBuffer *This,
  758. IRpcChannelBuffer *_pRpcChannelBuffer,
  759. PRPC_MESSAGE _pRpcMessage,
  760. DWORD *_pdwStubPhase);
  761. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_get_TransactionState_Proxy(
  762. ICrmMonitorLogRecords __RPC_FAR * This,
  763. /* [retval][out] */ CrmTransactionState __RPC_FAR *pVal);
  764. void __RPC_STUB ICrmMonitorLogRecords_get_TransactionState_Stub(
  765. IRpcStubBuffer *This,
  766. IRpcChannelBuffer *_pRpcChannelBuffer,
  767. PRPC_MESSAGE _pRpcMessage,
  768. DWORD *_pdwStubPhase);
  769. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_get_StructuredRecords_Proxy(
  770. ICrmMonitorLogRecords __RPC_FAR * This,
  771. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pVal);
  772. void __RPC_STUB ICrmMonitorLogRecords_get_StructuredRecords_Stub(
  773. IRpcStubBuffer *This,
  774. IRpcChannelBuffer *_pRpcChannelBuffer,
  775. PRPC_MESSAGE _pRpcMessage,
  776. DWORD *_pdwStubPhase);
  777. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_GetLogRecord_Proxy(
  778. ICrmMonitorLogRecords __RPC_FAR * This,
  779. /* [in] */ DWORD dwIndex,
  780. /* [out][in] */ CrmLogRecordRead __RPC_FAR *pCrmLogRec);
  781. void __RPC_STUB ICrmMonitorLogRecords_GetLogRecord_Stub(
  782. IRpcStubBuffer *This,
  783. IRpcChannelBuffer *_pRpcChannelBuffer,
  784. PRPC_MESSAGE _pRpcMessage,
  785. DWORD *_pdwStubPhase);
  786. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorLogRecords_GetLogRecordVariants_Proxy(
  787. ICrmMonitorLogRecords __RPC_FAR * This,
  788. /* [in] */ VARIANT IndexNumber,
  789. /* [retval][out] */ LPVARIANT pLogRecord);
  790. void __RPC_STUB ICrmMonitorLogRecords_GetLogRecordVariants_Stub(
  791. IRpcStubBuffer *This,
  792. IRpcChannelBuffer *_pRpcChannelBuffer,
  793. PRPC_MESSAGE _pRpcMessage,
  794. DWORD *_pdwStubPhase);
  795. #endif /* __ICrmMonitorLogRecords_INTERFACE_DEFINED__ */
  796. #ifndef __ICrmMonitorClerks_INTERFACE_DEFINED__
  797. #define __ICrmMonitorClerks_INTERFACE_DEFINED__
  798. /* interface ICrmMonitorClerks */
  799. /* [unique][helpstring][dual][uuid][object] */
  800. EXTERN_C const IID IID_ICrmMonitorClerks;
  801. #if defined(__cplusplus) && !defined(CINTERFACE)
  802. MIDL_INTERFACE("70C8E442-C7ED-11d1-82FB-00A0C91EEDE9")
  803. ICrmMonitorClerks : public IDispatch
  804. {
  805. public:
  806. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Item(
  807. /* [in] */ VARIANT Index,
  808. /* [retval][out] */ LPVARIANT pItem) = 0;
  809. virtual /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  810. /* [retval][out] */ LPUNKNOWN __RPC_FAR *pVal) = 0;
  811. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  812. /* [retval][out] */ long __RPC_FAR *pVal) = 0;
  813. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ProgIdCompensator(
  814. /* [in] */ VARIANT Index,
  815. /* [retval][out] */ LPVARIANT pItem) = 0;
  816. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Description(
  817. /* [in] */ VARIANT Index,
  818. /* [retval][out] */ LPVARIANT pItem) = 0;
  819. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TransactionUOW(
  820. /* [in] */ VARIANT Index,
  821. /* [retval][out] */ LPVARIANT pItem) = 0;
  822. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ActivityId(
  823. /* [in] */ VARIANT Index,
  824. /* [retval][out] */ LPVARIANT pItem) = 0;
  825. };
  826. #else /* C style interface */
  827. typedef struct ICrmMonitorClerksVtbl
  828. {
  829. BEGIN_INTERFACE
  830. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  831. ICrmMonitorClerks __RPC_FAR * This,
  832. /* [in] */ REFIID riid,
  833. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  834. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  835. ICrmMonitorClerks __RPC_FAR * This);
  836. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  837. ICrmMonitorClerks __RPC_FAR * This);
  838. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  839. ICrmMonitorClerks __RPC_FAR * This,
  840. /* [out] */ UINT __RPC_FAR *pctinfo);
  841. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  842. ICrmMonitorClerks __RPC_FAR * This,
  843. /* [in] */ UINT iTInfo,
  844. /* [in] */ LCID lcid,
  845. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  846. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  847. ICrmMonitorClerks __RPC_FAR * This,
  848. /* [in] */ REFIID riid,
  849. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  850. /* [in] */ UINT cNames,
  851. /* [in] */ LCID lcid,
  852. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  853. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  854. ICrmMonitorClerks __RPC_FAR * This,
  855. /* [in] */ DISPID dispIdMember,
  856. /* [in] */ REFIID riid,
  857. /* [in] */ LCID lcid,
  858. /* [in] */ WORD wFlags,
  859. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  860. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  861. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  862. /* [out] */ UINT __RPC_FAR *puArgErr);
  863. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )(
  864. ICrmMonitorClerks __RPC_FAR * This,
  865. /* [in] */ VARIANT Index,
  866. /* [retval][out] */ LPVARIANT pItem);
  867. /* [restricted][helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get__NewEnum )(
  868. ICrmMonitorClerks __RPC_FAR * This,
  869. /* [retval][out] */ LPUNKNOWN __RPC_FAR *pVal);
  870. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  871. ICrmMonitorClerks __RPC_FAR * This,
  872. /* [retval][out] */ long __RPC_FAR *pVal);
  873. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ProgIdCompensator )(
  874. ICrmMonitorClerks __RPC_FAR * This,
  875. /* [in] */ VARIANT Index,
  876. /* [retval][out] */ LPVARIANT pItem);
  877. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Description )(
  878. ICrmMonitorClerks __RPC_FAR * This,
  879. /* [in] */ VARIANT Index,
  880. /* [retval][out] */ LPVARIANT pItem);
  881. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TransactionUOW )(
  882. ICrmMonitorClerks __RPC_FAR * This,
  883. /* [in] */ VARIANT Index,
  884. /* [retval][out] */ LPVARIANT pItem);
  885. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ActivityId )(
  886. ICrmMonitorClerks __RPC_FAR * This,
  887. /* [in] */ VARIANT Index,
  888. /* [retval][out] */ LPVARIANT pItem);
  889. END_INTERFACE
  890. } ICrmMonitorClerksVtbl;
  891. interface ICrmMonitorClerks
  892. {
  893. CONST_VTBL struct ICrmMonitorClerksVtbl __RPC_FAR *lpVtbl;
  894. };
  895. #ifdef COBJMACROS
  896. #define ICrmMonitorClerks_QueryInterface(This,riid,ppvObject) \
  897. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  898. #define ICrmMonitorClerks_AddRef(This) \
  899. (This)->lpVtbl -> AddRef(This)
  900. #define ICrmMonitorClerks_Release(This) \
  901. (This)->lpVtbl -> Release(This)
  902. #define ICrmMonitorClerks_GetTypeInfoCount(This,pctinfo) \
  903. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  904. #define ICrmMonitorClerks_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  905. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  906. #define ICrmMonitorClerks_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  907. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  908. #define ICrmMonitorClerks_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  909. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  910. #define ICrmMonitorClerks_Item(This,Index,pItem) \
  911. (This)->lpVtbl -> Item(This,Index,pItem)
  912. #define ICrmMonitorClerks_get__NewEnum(This,pVal) \
  913. (This)->lpVtbl -> get__NewEnum(This,pVal)
  914. #define ICrmMonitorClerks_get_Count(This,pVal) \
  915. (This)->lpVtbl -> get_Count(This,pVal)
  916. #define ICrmMonitorClerks_ProgIdCompensator(This,Index,pItem) \
  917. (This)->lpVtbl -> ProgIdCompensator(This,Index,pItem)
  918. #define ICrmMonitorClerks_Description(This,Index,pItem) \
  919. (This)->lpVtbl -> Description(This,Index,pItem)
  920. #define ICrmMonitorClerks_TransactionUOW(This,Index,pItem) \
  921. (This)->lpVtbl -> TransactionUOW(This,Index,pItem)
  922. #define ICrmMonitorClerks_ActivityId(This,Index,pItem) \
  923. (This)->lpVtbl -> ActivityId(This,Index,pItem)
  924. #endif /* COBJMACROS */
  925. #endif /* C style interface */
  926. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_Item_Proxy(
  927. ICrmMonitorClerks __RPC_FAR * This,
  928. /* [in] */ VARIANT Index,
  929. /* [retval][out] */ LPVARIANT pItem);
  930. void __RPC_STUB ICrmMonitorClerks_Item_Stub(
  931. IRpcStubBuffer *This,
  932. IRpcChannelBuffer *_pRpcChannelBuffer,
  933. PRPC_MESSAGE _pRpcMessage,
  934. DWORD *_pdwStubPhase);
  935. /* [restricted][helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_get__NewEnum_Proxy(
  936. ICrmMonitorClerks __RPC_FAR * This,
  937. /* [retval][out] */ LPUNKNOWN __RPC_FAR *pVal);
  938. void __RPC_STUB ICrmMonitorClerks_get__NewEnum_Stub(
  939. IRpcStubBuffer *This,
  940. IRpcChannelBuffer *_pRpcChannelBuffer,
  941. PRPC_MESSAGE _pRpcMessage,
  942. DWORD *_pdwStubPhase);
  943. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_get_Count_Proxy(
  944. ICrmMonitorClerks __RPC_FAR * This,
  945. /* [retval][out] */ long __RPC_FAR *pVal);
  946. void __RPC_STUB ICrmMonitorClerks_get_Count_Stub(
  947. IRpcStubBuffer *This,
  948. IRpcChannelBuffer *_pRpcChannelBuffer,
  949. PRPC_MESSAGE _pRpcMessage,
  950. DWORD *_pdwStubPhase);
  951. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_ProgIdCompensator_Proxy(
  952. ICrmMonitorClerks __RPC_FAR * This,
  953. /* [in] */ VARIANT Index,
  954. /* [retval][out] */ LPVARIANT pItem);
  955. void __RPC_STUB ICrmMonitorClerks_ProgIdCompensator_Stub(
  956. IRpcStubBuffer *This,
  957. IRpcChannelBuffer *_pRpcChannelBuffer,
  958. PRPC_MESSAGE _pRpcMessage,
  959. DWORD *_pdwStubPhase);
  960. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_Description_Proxy(
  961. ICrmMonitorClerks __RPC_FAR * This,
  962. /* [in] */ VARIANT Index,
  963. /* [retval][out] */ LPVARIANT pItem);
  964. void __RPC_STUB ICrmMonitorClerks_Description_Stub(
  965. IRpcStubBuffer *This,
  966. IRpcChannelBuffer *_pRpcChannelBuffer,
  967. PRPC_MESSAGE _pRpcMessage,
  968. DWORD *_pdwStubPhase);
  969. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_TransactionUOW_Proxy(
  970. ICrmMonitorClerks __RPC_FAR * This,
  971. /* [in] */ VARIANT Index,
  972. /* [retval][out] */ LPVARIANT pItem);
  973. void __RPC_STUB ICrmMonitorClerks_TransactionUOW_Stub(
  974. IRpcStubBuffer *This,
  975. IRpcChannelBuffer *_pRpcChannelBuffer,
  976. PRPC_MESSAGE _pRpcMessage,
  977. DWORD *_pdwStubPhase);
  978. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitorClerks_ActivityId_Proxy(
  979. ICrmMonitorClerks __RPC_FAR * This,
  980. /* [in] */ VARIANT Index,
  981. /* [retval][out] */ LPVARIANT pItem);
  982. void __RPC_STUB ICrmMonitorClerks_ActivityId_Stub(
  983. IRpcStubBuffer *This,
  984. IRpcChannelBuffer *_pRpcChannelBuffer,
  985. PRPC_MESSAGE _pRpcMessage,
  986. DWORD *_pdwStubPhase);
  987. #endif /* __ICrmMonitorClerks_INTERFACE_DEFINED__ */
  988. #ifndef __ICrmMonitor_INTERFACE_DEFINED__
  989. #define __ICrmMonitor_INTERFACE_DEFINED__
  990. /* interface ICrmMonitor */
  991. /* [unique][helpstring][uuid][object] */
  992. EXTERN_C const IID IID_ICrmMonitor;
  993. #if defined(__cplusplus) && !defined(CINTERFACE)
  994. MIDL_INTERFACE("70C8E443-C7ED-11d1-82FB-00A0C91EEDE9")
  995. ICrmMonitor : public IUnknown
  996. {
  997. public:
  998. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetClerks(
  999. /* [retval][out] */ ICrmMonitorClerks __RPC_FAR *__RPC_FAR *pClerks) = 0;
  1000. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HoldClerk(
  1001. /* [in] */ VARIANT Index,
  1002. /* [retval][out] */ LPVARIANT pItem) = 0;
  1003. };
  1004. #else /* C style interface */
  1005. typedef struct ICrmMonitorVtbl
  1006. {
  1007. BEGIN_INTERFACE
  1008. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1009. ICrmMonitor __RPC_FAR * This,
  1010. /* [in] */ REFIID riid,
  1011. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1012. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1013. ICrmMonitor __RPC_FAR * This);
  1014. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1015. ICrmMonitor __RPC_FAR * This);
  1016. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClerks )(
  1017. ICrmMonitor __RPC_FAR * This,
  1018. /* [retval][out] */ ICrmMonitorClerks __RPC_FAR *__RPC_FAR *pClerks);
  1019. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HoldClerk )(
  1020. ICrmMonitor __RPC_FAR * This,
  1021. /* [in] */ VARIANT Index,
  1022. /* [retval][out] */ LPVARIANT pItem);
  1023. END_INTERFACE
  1024. } ICrmMonitorVtbl;
  1025. interface ICrmMonitor
  1026. {
  1027. CONST_VTBL struct ICrmMonitorVtbl __RPC_FAR *lpVtbl;
  1028. };
  1029. #ifdef COBJMACROS
  1030. #define ICrmMonitor_QueryInterface(This,riid,ppvObject) \
  1031. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1032. #define ICrmMonitor_AddRef(This) \
  1033. (This)->lpVtbl -> AddRef(This)
  1034. #define ICrmMonitor_Release(This) \
  1035. (This)->lpVtbl -> Release(This)
  1036. #define ICrmMonitor_GetClerks(This,pClerks) \
  1037. (This)->lpVtbl -> GetClerks(This,pClerks)
  1038. #define ICrmMonitor_HoldClerk(This,Index,pItem) \
  1039. (This)->lpVtbl -> HoldClerk(This,Index,pItem)
  1040. #endif /* COBJMACROS */
  1041. #endif /* C style interface */
  1042. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitor_GetClerks_Proxy(
  1043. ICrmMonitor __RPC_FAR * This,
  1044. /* [retval][out] */ ICrmMonitorClerks __RPC_FAR *__RPC_FAR *pClerks);
  1045. void __RPC_STUB ICrmMonitor_GetClerks_Stub(
  1046. IRpcStubBuffer *This,
  1047. IRpcChannelBuffer *_pRpcChannelBuffer,
  1048. PRPC_MESSAGE _pRpcMessage,
  1049. DWORD *_pdwStubPhase);
  1050. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmMonitor_HoldClerk_Proxy(
  1051. ICrmMonitor __RPC_FAR * This,
  1052. /* [in] */ VARIANT Index,
  1053. /* [retval][out] */ LPVARIANT pItem);
  1054. void __RPC_STUB ICrmMonitor_HoldClerk_Stub(
  1055. IRpcStubBuffer *This,
  1056. IRpcChannelBuffer *_pRpcChannelBuffer,
  1057. PRPC_MESSAGE _pRpcMessage,
  1058. DWORD *_pdwStubPhase);
  1059. #endif /* __ICrmMonitor_INTERFACE_DEFINED__ */
  1060. #ifndef __ICrmFormatLogRecords_INTERFACE_DEFINED__
  1061. #define __ICrmFormatLogRecords_INTERFACE_DEFINED__
  1062. /* interface ICrmFormatLogRecords */
  1063. /* [unique][helpstring][uuid][object] */
  1064. EXTERN_C const IID IID_ICrmFormatLogRecords;
  1065. #if defined(__cplusplus) && !defined(CINTERFACE)
  1066. MIDL_INTERFACE("9C51D821-C98B-11d1-82FB-00A0C91EEDE9")
  1067. ICrmFormatLogRecords : public IUnknown
  1068. {
  1069. public:
  1070. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumnCount(
  1071. /* [out] */ long __RPC_FAR *plColumnCount) = 0;
  1072. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumnHeaders(
  1073. /* [out] */ LPVARIANT pHeaders) = 0;
  1074. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumn(
  1075. /* [in] */ CrmLogRecordRead CrmLogRec,
  1076. /* [out] */ LPVARIANT pFormattedLogRecord) = 0;
  1077. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetColumnVariants(
  1078. /* [in] */ VARIANT LogRecord,
  1079. /* [out] */ LPVARIANT pFormattedLogRecord) = 0;
  1080. };
  1081. #else /* C style interface */
  1082. typedef struct ICrmFormatLogRecordsVtbl
  1083. {
  1084. BEGIN_INTERFACE
  1085. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1086. ICrmFormatLogRecords __RPC_FAR * This,
  1087. /* [in] */ REFIID riid,
  1088. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1089. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1090. ICrmFormatLogRecords __RPC_FAR * This);
  1091. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1092. ICrmFormatLogRecords __RPC_FAR * This);
  1093. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetColumnCount )(
  1094. ICrmFormatLogRecords __RPC_FAR * This,
  1095. /* [out] */ long __RPC_FAR *plColumnCount);
  1096. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetColumnHeaders )(
  1097. ICrmFormatLogRecords __RPC_FAR * This,
  1098. /* [out] */ LPVARIANT pHeaders);
  1099. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetColumn )(
  1100. ICrmFormatLogRecords __RPC_FAR * This,
  1101. /* [in] */ CrmLogRecordRead CrmLogRec,
  1102. /* [out] */ LPVARIANT pFormattedLogRecord);
  1103. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetColumnVariants )(
  1104. ICrmFormatLogRecords __RPC_FAR * This,
  1105. /* [in] */ VARIANT LogRecord,
  1106. /* [out] */ LPVARIANT pFormattedLogRecord);
  1107. END_INTERFACE
  1108. } ICrmFormatLogRecordsVtbl;
  1109. interface ICrmFormatLogRecords
  1110. {
  1111. CONST_VTBL struct ICrmFormatLogRecordsVtbl __RPC_FAR *lpVtbl;
  1112. };
  1113. #ifdef COBJMACROS
  1114. #define ICrmFormatLogRecords_QueryInterface(This,riid,ppvObject) \
  1115. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1116. #define ICrmFormatLogRecords_AddRef(This) \
  1117. (This)->lpVtbl -> AddRef(This)
  1118. #define ICrmFormatLogRecords_Release(This) \
  1119. (This)->lpVtbl -> Release(This)
  1120. #define ICrmFormatLogRecords_GetColumnCount(This,plColumnCount) \
  1121. (This)->lpVtbl -> GetColumnCount(This,plColumnCount)
  1122. #define ICrmFormatLogRecords_GetColumnHeaders(This,pHeaders) \
  1123. (This)->lpVtbl -> GetColumnHeaders(This,pHeaders)
  1124. #define ICrmFormatLogRecords_GetColumn(This,CrmLogRec,pFormattedLogRecord) \
  1125. (This)->lpVtbl -> GetColumn(This,CrmLogRec,pFormattedLogRecord)
  1126. #define ICrmFormatLogRecords_GetColumnVariants(This,LogRecord,pFormattedLogRecord) \
  1127. (This)->lpVtbl -> GetColumnVariants(This,LogRecord,pFormattedLogRecord)
  1128. #endif /* COBJMACROS */
  1129. #endif /* C style interface */
  1130. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmFormatLogRecords_GetColumnCount_Proxy(
  1131. ICrmFormatLogRecords __RPC_FAR * This,
  1132. /* [out] */ long __RPC_FAR *plColumnCount);
  1133. void __RPC_STUB ICrmFormatLogRecords_GetColumnCount_Stub(
  1134. IRpcStubBuffer *This,
  1135. IRpcChannelBuffer *_pRpcChannelBuffer,
  1136. PRPC_MESSAGE _pRpcMessage,
  1137. DWORD *_pdwStubPhase);
  1138. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmFormatLogRecords_GetColumnHeaders_Proxy(
  1139. ICrmFormatLogRecords __RPC_FAR * This,
  1140. /* [out] */ LPVARIANT pHeaders);
  1141. void __RPC_STUB ICrmFormatLogRecords_GetColumnHeaders_Stub(
  1142. IRpcStubBuffer *This,
  1143. IRpcChannelBuffer *_pRpcChannelBuffer,
  1144. PRPC_MESSAGE _pRpcMessage,
  1145. DWORD *_pdwStubPhase);
  1146. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmFormatLogRecords_GetColumn_Proxy(
  1147. ICrmFormatLogRecords __RPC_FAR * This,
  1148. /* [in] */ CrmLogRecordRead CrmLogRec,
  1149. /* [out] */ LPVARIANT pFormattedLogRecord);
  1150. void __RPC_STUB ICrmFormatLogRecords_GetColumn_Stub(
  1151. IRpcStubBuffer *This,
  1152. IRpcChannelBuffer *_pRpcChannelBuffer,
  1153. PRPC_MESSAGE _pRpcMessage,
  1154. DWORD *_pdwStubPhase);
  1155. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmFormatLogRecords_GetColumnVariants_Proxy(
  1156. ICrmFormatLogRecords __RPC_FAR * This,
  1157. /* [in] */ VARIANT LogRecord,
  1158. /* [out] */ LPVARIANT pFormattedLogRecord);
  1159. void __RPC_STUB ICrmFormatLogRecords_GetColumnVariants_Stub(
  1160. IRpcStubBuffer *This,
  1161. IRpcChannelBuffer *_pRpcChannelBuffer,
  1162. PRPC_MESSAGE _pRpcMessage,
  1163. DWORD *_pdwStubPhase);
  1164. #endif /* __ICrmFormatLogRecords_INTERFACE_DEFINED__ */
  1165. #ifndef __ICRMClerk_INTERFACE_DEFINED__
  1166. #define __ICRMClerk_INTERFACE_DEFINED__
  1167. /* interface ICRMClerk */
  1168. /* [unique][helpstring][uuid][object] */
  1169. EXTERN_C const IID IID_ICRMClerk;
  1170. #if defined(__cplusplus) && !defined(CINTERFACE)
  1171. MIDL_INTERFACE("53610480-9695-11D1-82ED-00A0C91EEDE9")
  1172. ICRMClerk : public IUnknown
  1173. {
  1174. public:
  1175. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetInstanceCLSID(
  1176. /* [in] */ CLSID __RPC_FAR *i_pclsidInstance,
  1177. /* [in] */ IUnknown __RPC_FAR *i_punkRecoveryClerk,
  1178. /* [in] */ LPWSTR i_wszAppId) = 0;
  1179. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RegisterWithLog(
  1180. /* [in] */ BOOL i_fIgnoreCompensatorErrors,
  1181. /* [in] */ IUnknown __RPC_FAR *i_punkLog) = 0;
  1182. };
  1183. #else /* C style interface */
  1184. typedef struct ICRMClerkVtbl
  1185. {
  1186. BEGIN_INTERFACE
  1187. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1188. ICRMClerk __RPC_FAR * This,
  1189. /* [in] */ REFIID riid,
  1190. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1191. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1192. ICRMClerk __RPC_FAR * This);
  1193. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1194. ICRMClerk __RPC_FAR * This);
  1195. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetInstanceCLSID )(
  1196. ICRMClerk __RPC_FAR * This,
  1197. /* [in] */ CLSID __RPC_FAR *i_pclsidInstance,
  1198. /* [in] */ IUnknown __RPC_FAR *i_punkRecoveryClerk,
  1199. /* [in] */ LPWSTR i_wszAppId);
  1200. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterWithLog )(
  1201. ICRMClerk __RPC_FAR * This,
  1202. /* [in] */ BOOL i_fIgnoreCompensatorErrors,
  1203. /* [in] */ IUnknown __RPC_FAR *i_punkLog);
  1204. END_INTERFACE
  1205. } ICRMClerkVtbl;
  1206. interface ICRMClerk
  1207. {
  1208. CONST_VTBL struct ICRMClerkVtbl __RPC_FAR *lpVtbl;
  1209. };
  1210. #ifdef COBJMACROS
  1211. #define ICRMClerk_QueryInterface(This,riid,ppvObject) \
  1212. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1213. #define ICRMClerk_AddRef(This) \
  1214. (This)->lpVtbl -> AddRef(This)
  1215. #define ICRMClerk_Release(This) \
  1216. (This)->lpVtbl -> Release(This)
  1217. #define ICRMClerk_SetInstanceCLSID(This,i_pclsidInstance,i_punkRecoveryClerk,i_wszAppId) \
  1218. (This)->lpVtbl -> SetInstanceCLSID(This,i_pclsidInstance,i_punkRecoveryClerk,i_wszAppId)
  1219. #define ICRMClerk_RegisterWithLog(This,i_fIgnoreCompensatorErrors,i_punkLog) \
  1220. (This)->lpVtbl -> RegisterWithLog(This,i_fIgnoreCompensatorErrors,i_punkLog)
  1221. #endif /* COBJMACROS */
  1222. #endif /* C style interface */
  1223. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMClerk_SetInstanceCLSID_Proxy(
  1224. ICRMClerk __RPC_FAR * This,
  1225. /* [in] */ CLSID __RPC_FAR *i_pclsidInstance,
  1226. /* [in] */ IUnknown __RPC_FAR *i_punkRecoveryClerk,
  1227. /* [in] */ LPWSTR i_wszAppId);
  1228. void __RPC_STUB ICRMClerk_SetInstanceCLSID_Stub(
  1229. IRpcStubBuffer *This,
  1230. IRpcChannelBuffer *_pRpcChannelBuffer,
  1231. PRPC_MESSAGE _pRpcMessage,
  1232. DWORD *_pdwStubPhase);
  1233. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMClerk_RegisterWithLog_Proxy(
  1234. ICRMClerk __RPC_FAR * This,
  1235. /* [in] */ BOOL i_fIgnoreCompensatorErrors,
  1236. /* [in] */ IUnknown __RPC_FAR *i_punkLog);
  1237. void __RPC_STUB ICRMClerk_RegisterWithLog_Stub(
  1238. IRpcStubBuffer *This,
  1239. IRpcChannelBuffer *_pRpcChannelBuffer,
  1240. PRPC_MESSAGE _pRpcMessage,
  1241. DWORD *_pdwStubPhase);
  1242. #endif /* __ICRMClerk_INTERFACE_DEFINED__ */
  1243. /* interface __MIDL_itf_dtccrm_0247 */
  1244. /* [local] */
  1245. typedef /* [public][public] */
  1246. enum __MIDL___MIDL_itf_dtccrm_0247_0001
  1247. { rs_None = 0,
  1248. rs_RecoveryInProgress = rs_None + 1,
  1249. rs_CRMSpecificError = rs_RecoveryInProgress + 1,
  1250. rs_GeneralError = rs_CRMSpecificError + 1,
  1251. rs_OK = rs_GeneralError + 1,
  1252. rs_Shutdown = rs_OK + 1
  1253. } RecoveryClerkStatus;
  1254. extern RPC_IF_HANDLE __MIDL_itf_dtccrm_0247_v0_0_c_ifspec;
  1255. extern RPC_IF_HANDLE __MIDL_itf_dtccrm_0247_v0_0_s_ifspec;
  1256. #ifndef __ICRMRecoveryClerk_INTERFACE_DEFINED__
  1257. #define __ICRMRecoveryClerk_INTERFACE_DEFINED__
  1258. /* interface ICRMRecoveryClerk */
  1259. /* [unique][helpstring][uuid][object] */
  1260. EXTERN_C const IID IID_ICRMRecoveryClerk;
  1261. #if defined(__cplusplus) && !defined(CINTERFACE)
  1262. MIDL_INTERFACE("B6D44C80-9672-11D1-82ED-00A0C91EEDE9")
  1263. ICRMRecoveryClerk : public IUnknown
  1264. {
  1265. public:
  1266. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Ping(
  1267. /* [in] */ long i_lParam1,
  1268. /* [in] */ long i_lParam2) = 0;
  1269. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartRecovery( void) = 0;
  1270. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NewClerk(
  1271. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance,
  1272. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1273. /* [in] */ LPCWSTR i_pDescription,
  1274. /* [in] */ GUID __RPC_FAR *i_pguidActivityId,
  1275. /* [in] */ GUID __RPC_FAR *i_pguidTransactionUOW,
  1276. /* [in] */ IUnknown __RPC_FAR *i_punkClerk,
  1277. /* [out][in] */ BOOL __RPC_FAR *io_pfIgnoreCompensatorErrors,
  1278. /* [out][in] */ IUnknown __RPC_FAR *__RPC_FAR *io_ppunkLog,
  1279. /* [out][in] */ RecoveryClerkStatus __RPC_FAR *io_pRCStatus,
  1280. /* [out][in] */ LPWSTR __RPC_FAR *io_pwszAppID) = 0;
  1281. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ClerkDone(
  1282. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance) = 0;
  1283. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RequestShutdown( void) = 0;
  1284. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NewWrite( void) = 0;
  1285. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RequestCheckpoint( void) = 0;
  1286. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckCompensator(
  1287. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1288. /* [out] */ BOOL __RPC_FAR *o_pfUnstructured,
  1289. /* [out] */ BOOL __RPC_FAR *o_pfStructured) = 0;
  1290. };
  1291. #else /* C style interface */
  1292. typedef struct ICRMRecoveryClerkVtbl
  1293. {
  1294. BEGIN_INTERFACE
  1295. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1296. ICRMRecoveryClerk __RPC_FAR * This,
  1297. /* [in] */ REFIID riid,
  1298. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1299. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1300. ICRMRecoveryClerk __RPC_FAR * This);
  1301. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1302. ICRMRecoveryClerk __RPC_FAR * This);
  1303. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Ping )(
  1304. ICRMRecoveryClerk __RPC_FAR * This,
  1305. /* [in] */ long i_lParam1,
  1306. /* [in] */ long i_lParam2);
  1307. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StartRecovery )(
  1308. ICRMRecoveryClerk __RPC_FAR * This);
  1309. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NewClerk )(
  1310. ICRMRecoveryClerk __RPC_FAR * This,
  1311. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance,
  1312. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1313. /* [in] */ LPCWSTR i_pDescription,
  1314. /* [in] */ GUID __RPC_FAR *i_pguidActivityId,
  1315. /* [in] */ GUID __RPC_FAR *i_pguidTransactionUOW,
  1316. /* [in] */ IUnknown __RPC_FAR *i_punkClerk,
  1317. /* [out][in] */ BOOL __RPC_FAR *io_pfIgnoreCompensatorErrors,
  1318. /* [out][in] */ IUnknown __RPC_FAR *__RPC_FAR *io_ppunkLog,
  1319. /* [out][in] */ RecoveryClerkStatus __RPC_FAR *io_pRCStatus,
  1320. /* [out][in] */ LPWSTR __RPC_FAR *io_pwszAppID);
  1321. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ClerkDone )(
  1322. ICRMRecoveryClerk __RPC_FAR * This,
  1323. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance);
  1324. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestShutdown )(
  1325. ICRMRecoveryClerk __RPC_FAR * This);
  1326. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *NewWrite )(
  1327. ICRMRecoveryClerk __RPC_FAR * This);
  1328. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestCheckpoint )(
  1329. ICRMRecoveryClerk __RPC_FAR * This);
  1330. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CheckCompensator )(
  1331. ICRMRecoveryClerk __RPC_FAR * This,
  1332. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1333. /* [out] */ BOOL __RPC_FAR *o_pfUnstructured,
  1334. /* [out] */ BOOL __RPC_FAR *o_pfStructured);
  1335. END_INTERFACE
  1336. } ICRMRecoveryClerkVtbl;
  1337. interface ICRMRecoveryClerk
  1338. {
  1339. CONST_VTBL struct ICRMRecoveryClerkVtbl __RPC_FAR *lpVtbl;
  1340. };
  1341. #ifdef COBJMACROS
  1342. #define ICRMRecoveryClerk_QueryInterface(This,riid,ppvObject) \
  1343. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1344. #define ICRMRecoveryClerk_AddRef(This) \
  1345. (This)->lpVtbl -> AddRef(This)
  1346. #define ICRMRecoveryClerk_Release(This) \
  1347. (This)->lpVtbl -> Release(This)
  1348. #define ICRMRecoveryClerk_Ping(This,i_lParam1,i_lParam2) \
  1349. (This)->lpVtbl -> Ping(This,i_lParam1,i_lParam2)
  1350. #define ICRMRecoveryClerk_StartRecovery(This) \
  1351. (This)->lpVtbl -> StartRecovery(This)
  1352. #define ICRMRecoveryClerk_NewClerk(This,i_pclsidClerkInstance,i_pclsidCompensator,i_pDescription,i_pguidActivityId,i_pguidTransactionUOW,i_punkClerk,io_pfIgnoreCompensatorErrors,io_ppunkLog,io_pRCStatus,io_pwszAppID) \
  1353. (This)->lpVtbl -> NewClerk(This,i_pclsidClerkInstance,i_pclsidCompensator,i_pDescription,i_pguidActivityId,i_pguidTransactionUOW,i_punkClerk,io_pfIgnoreCompensatorErrors,io_ppunkLog,io_pRCStatus,io_pwszAppID)
  1354. #define ICRMRecoveryClerk_ClerkDone(This,i_pclsidClerkInstance) \
  1355. (This)->lpVtbl -> ClerkDone(This,i_pclsidClerkInstance)
  1356. #define ICRMRecoveryClerk_RequestShutdown(This) \
  1357. (This)->lpVtbl -> RequestShutdown(This)
  1358. #define ICRMRecoveryClerk_NewWrite(This) \
  1359. (This)->lpVtbl -> NewWrite(This)
  1360. #define ICRMRecoveryClerk_RequestCheckpoint(This) \
  1361. (This)->lpVtbl -> RequestCheckpoint(This)
  1362. #define ICRMRecoveryClerk_CheckCompensator(This,i_pclsidCompensator,o_pfUnstructured,o_pfStructured) \
  1363. (This)->lpVtbl -> CheckCompensator(This,i_pclsidCompensator,o_pfUnstructured,o_pfStructured)
  1364. #endif /* COBJMACROS */
  1365. #endif /* C style interface */
  1366. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMRecoveryClerk_Ping_Proxy(
  1367. ICRMRecoveryClerk __RPC_FAR * This,
  1368. /* [in] */ long i_lParam1,
  1369. /* [in] */ long i_lParam2);
  1370. void __RPC_STUB ICRMRecoveryClerk_Ping_Stub(
  1371. IRpcStubBuffer *This,
  1372. IRpcChannelBuffer *_pRpcChannelBuffer,
  1373. PRPC_MESSAGE _pRpcMessage,
  1374. DWORD *_pdwStubPhase);
  1375. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMRecoveryClerk_StartRecovery_Proxy(
  1376. ICRMRecoveryClerk __RPC_FAR * This);
  1377. void __RPC_STUB ICRMRecoveryClerk_StartRecovery_Stub(
  1378. IRpcStubBuffer *This,
  1379. IRpcChannelBuffer *_pRpcChannelBuffer,
  1380. PRPC_MESSAGE _pRpcMessage,
  1381. DWORD *_pdwStubPhase);
  1382. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMRecoveryClerk_NewClerk_Proxy(
  1383. ICRMRecoveryClerk __RPC_FAR * This,
  1384. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance,
  1385. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1386. /* [in] */ LPCWSTR i_pDescription,
  1387. /* [in] */ GUID __RPC_FAR *i_pguidActivityId,
  1388. /* [in] */ GUID __RPC_FAR *i_pguidTransactionUOW,
  1389. /* [in] */ IUnknown __RPC_FAR *i_punkClerk,
  1390. /* [out][in] */ BOOL __RPC_FAR *io_pfIgnoreCompensatorErrors,
  1391. /* [out][in] */ IUnknown __RPC_FAR *__RPC_FAR *io_ppunkLog,
  1392. /* [out][in] */ RecoveryClerkStatus __RPC_FAR *io_pRCStatus,
  1393. /* [out][in] */ LPWSTR __RPC_FAR *io_pwszAppID);
  1394. void __RPC_STUB ICRMRecoveryClerk_NewClerk_Stub(
  1395. IRpcStubBuffer *This,
  1396. IRpcChannelBuffer *_pRpcChannelBuffer,
  1397. PRPC_MESSAGE _pRpcMessage,
  1398. DWORD *_pdwStubPhase);
  1399. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMRecoveryClerk_ClerkDone_Proxy(
  1400. ICRMRecoveryClerk __RPC_FAR * This,
  1401. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance);
  1402. void __RPC_STUB ICRMRecoveryClerk_ClerkDone_Stub(
  1403. IRpcStubBuffer *This,
  1404. IRpcChannelBuffer *_pRpcChannelBuffer,
  1405. PRPC_MESSAGE _pRpcMessage,
  1406. DWORD *_pdwStubPhase);
  1407. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMRecoveryClerk_RequestShutdown_Proxy(
  1408. ICRMRecoveryClerk __RPC_FAR * This);
  1409. void __RPC_STUB ICRMRecoveryClerk_RequestShutdown_Stub(
  1410. IRpcStubBuffer *This,
  1411. IRpcChannelBuffer *_pRpcChannelBuffer,
  1412. PRPC_MESSAGE _pRpcMessage,
  1413. DWORD *_pdwStubPhase);
  1414. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMRecoveryClerk_NewWrite_Proxy(
  1415. ICRMRecoveryClerk __RPC_FAR * This);
  1416. void __RPC_STUB ICRMRecoveryClerk_NewWrite_Stub(
  1417. IRpcStubBuffer *This,
  1418. IRpcChannelBuffer *_pRpcChannelBuffer,
  1419. PRPC_MESSAGE _pRpcMessage,
  1420. DWORD *_pdwStubPhase);
  1421. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMRecoveryClerk_RequestCheckpoint_Proxy(
  1422. ICRMRecoveryClerk __RPC_FAR * This);
  1423. void __RPC_STUB ICRMRecoveryClerk_RequestCheckpoint_Stub(
  1424. IRpcStubBuffer *This,
  1425. IRpcChannelBuffer *_pRpcChannelBuffer,
  1426. PRPC_MESSAGE _pRpcMessage,
  1427. DWORD *_pdwStubPhase);
  1428. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICRMRecoveryClerk_CheckCompensator_Proxy(
  1429. ICRMRecoveryClerk __RPC_FAR * This,
  1430. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1431. /* [out] */ BOOL __RPC_FAR *o_pfUnstructured,
  1432. /* [out] */ BOOL __RPC_FAR *o_pfStructured);
  1433. void __RPC_STUB ICRMRecoveryClerk_CheckCompensator_Stub(
  1434. IRpcStubBuffer *This,
  1435. IRpcChannelBuffer *_pRpcChannelBuffer,
  1436. PRPC_MESSAGE _pRpcMessage,
  1437. DWORD *_pdwStubPhase);
  1438. #endif /* __ICRMRecoveryClerk_INTERFACE_DEFINED__ */
  1439. #ifndef __IClerksCollection_INTERFACE_DEFINED__
  1440. #define __IClerksCollection_INTERFACE_DEFINED__
  1441. /* interface IClerksCollection */
  1442. /* [unique][helpstring][uuid][object] */
  1443. EXTERN_C const IID IID_IClerksCollection;
  1444. #if defined(__cplusplus) && !defined(CINTERFACE)
  1445. MIDL_INTERFACE("3ADEFFE3-C802-11D1-82FB-00A0C91EEDE9")
  1446. IClerksCollection : public IUnknown
  1447. {
  1448. public:
  1449. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadEntry(
  1450. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance,
  1451. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1452. /* [in] */ LPCWSTR i_pDescription,
  1453. /* [in] */ GUID __RPC_FAR *i_pguidActivityId,
  1454. /* [in] */ GUID __RPC_FAR *i_pguidTransactionUOW) = 0;
  1455. };
  1456. #else /* C style interface */
  1457. typedef struct IClerksCollectionVtbl
  1458. {
  1459. BEGIN_INTERFACE
  1460. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1461. IClerksCollection __RPC_FAR * This,
  1462. /* [in] */ REFIID riid,
  1463. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1464. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1465. IClerksCollection __RPC_FAR * This);
  1466. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1467. IClerksCollection __RPC_FAR * This);
  1468. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LoadEntry )(
  1469. IClerksCollection __RPC_FAR * This,
  1470. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance,
  1471. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1472. /* [in] */ LPCWSTR i_pDescription,
  1473. /* [in] */ GUID __RPC_FAR *i_pguidActivityId,
  1474. /* [in] */ GUID __RPC_FAR *i_pguidTransactionUOW);
  1475. END_INTERFACE
  1476. } IClerksCollectionVtbl;
  1477. interface IClerksCollection
  1478. {
  1479. CONST_VTBL struct IClerksCollectionVtbl __RPC_FAR *lpVtbl;
  1480. };
  1481. #ifdef COBJMACROS
  1482. #define IClerksCollection_QueryInterface(This,riid,ppvObject) \
  1483. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1484. #define IClerksCollection_AddRef(This) \
  1485. (This)->lpVtbl -> AddRef(This)
  1486. #define IClerksCollection_Release(This) \
  1487. (This)->lpVtbl -> Release(This)
  1488. #define IClerksCollection_LoadEntry(This,i_pclsidClerkInstance,i_pclsidCompensator,i_pDescription,i_pguidActivityId,i_pguidTransactionUOW) \
  1489. (This)->lpVtbl -> LoadEntry(This,i_pclsidClerkInstance,i_pclsidCompensator,i_pDescription,i_pguidActivityId,i_pguidTransactionUOW)
  1490. #endif /* COBJMACROS */
  1491. #endif /* C style interface */
  1492. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IClerksCollection_LoadEntry_Proxy(
  1493. IClerksCollection __RPC_FAR * This,
  1494. /* [in] */ CLSID __RPC_FAR *i_pclsidClerkInstance,
  1495. /* [in] */ CLSID __RPC_FAR *i_pclsidCompensator,
  1496. /* [in] */ LPCWSTR i_pDescription,
  1497. /* [in] */ GUID __RPC_FAR *i_pguidActivityId,
  1498. /* [in] */ GUID __RPC_FAR *i_pguidTransactionUOW);
  1499. void __RPC_STUB IClerksCollection_LoadEntry_Stub(
  1500. IRpcStubBuffer *This,
  1501. IRpcChannelBuffer *_pRpcChannelBuffer,
  1502. PRPC_MESSAGE _pRpcMessage,
  1503. DWORD *_pdwStubPhase);
  1504. #endif /* __IClerksCollection_INTERFACE_DEFINED__ */
  1505. #ifndef __DTCCRMLib_LIBRARY_DEFINED__
  1506. #define __DTCCRMLib_LIBRARY_DEFINED__
  1507. /* library DTCCRMLib */
  1508. /* [helpstring][version][uuid] */
  1509. EXTERN_C const IID LIBID_DTCCRMLib;
  1510. EXTERN_C const CLSID CLSID_CRMClerk;
  1511. #ifdef __cplusplus
  1512. class DECLSPEC_UUID("53610481-9695-11D1-82ED-00A0C91EEDE9")
  1513. CRMClerk;
  1514. #endif
  1515. EXTERN_C const CLSID CLSID_CRMRecoveryClerk;
  1516. #ifdef __cplusplus
  1517. class DECLSPEC_UUID("B6D44C81-9672-11D1-82ED-00A0C91EEDE9")
  1518. CRMRecoveryClerk;
  1519. #endif
  1520. EXTERN_C const CLSID CLSID_ClerksCollection;
  1521. #ifdef __cplusplus
  1522. class DECLSPEC_UUID("3ADEFFE4-C802-11D1-82FB-00A0C91EEDE9")
  1523. ClerksCollection;
  1524. #endif
  1525. #endif /* __DTCCRMLib_LIBRARY_DEFINED__ */
  1526. /* Additional Prototypes for ALL interfaces */
  1527. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  1528. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  1529. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  1530. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  1531. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  1532. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  1533. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  1534. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  1535. /* end of Additional Prototypes */
  1536. #ifdef __cplusplus
  1537. }
  1538. #endif
  1539. #endif