txdtc.h 117 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  7. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  8. #endif
  9. #include "rpc.h"
  10. #include "rpcndr.h"
  11. #ifndef __RPCNDR_H_VERSION__
  12. #error This stub requires an updated version of <rpcndr.h>
  13. #endif
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif
  18. #ifndef __txdtc_h__
  19. #define __txdtc_h__
  20. #ifndef __IXATransLookup_FWD_DEFINED__
  21. #define __IXATransLookup_FWD_DEFINED__
  22. typedef struct IXATransLookup IXATransLookup;
  23. #endif
  24. #ifndef __IXATransLookup2_FWD_DEFINED__
  25. #define __IXATransLookup2_FWD_DEFINED__
  26. typedef struct IXATransLookup2 IXATransLookup2;
  27. #endif
  28. #ifndef __IResourceManagerSink_FWD_DEFINED__
  29. #define __IResourceManagerSink_FWD_DEFINED__
  30. typedef struct IResourceManagerSink IResourceManagerSink;
  31. #endif
  32. #ifndef __IResourceManager_FWD_DEFINED__
  33. #define __IResourceManager_FWD_DEFINED__
  34. typedef struct IResourceManager IResourceManager;
  35. #endif
  36. #ifndef __ILastResourceManager_FWD_DEFINED__
  37. #define __ILastResourceManager_FWD_DEFINED__
  38. typedef struct ILastResourceManager ILastResourceManager;
  39. #endif
  40. #ifndef __IResourceManager2_FWD_DEFINED__
  41. #define __IResourceManager2_FWD_DEFINED__
  42. typedef struct IResourceManager2 IResourceManager2;
  43. #endif
  44. #ifndef __IXAConfig_FWD_DEFINED__
  45. #define __IXAConfig_FWD_DEFINED__
  46. typedef struct IXAConfig IXAConfig;
  47. #endif
  48. #ifndef __IRMHelper_FWD_DEFINED__
  49. #define __IRMHelper_FWD_DEFINED__
  50. typedef struct IRMHelper IRMHelper;
  51. #endif
  52. #ifndef __IXAObtainRMInfo_FWD_DEFINED__
  53. #define __IXAObtainRMInfo_FWD_DEFINED__
  54. typedef struct IXAObtainRMInfo IXAObtainRMInfo;
  55. #endif
  56. #ifndef __IResourceManagerFactory_FWD_DEFINED__
  57. #define __IResourceManagerFactory_FWD_DEFINED__
  58. typedef struct IResourceManagerFactory IResourceManagerFactory;
  59. #endif
  60. #ifndef __IResourceManagerFactory2_FWD_DEFINED__
  61. #define __IResourceManagerFactory2_FWD_DEFINED__
  62. typedef struct IResourceManagerFactory2 IResourceManagerFactory2;
  63. #endif
  64. #ifndef __IPrepareInfo_FWD_DEFINED__
  65. #define __IPrepareInfo_FWD_DEFINED__
  66. typedef struct IPrepareInfo IPrepareInfo;
  67. #endif
  68. #ifndef __IPrepareInfo2_FWD_DEFINED__
  69. #define __IPrepareInfo2_FWD_DEFINED__
  70. typedef struct IPrepareInfo2 IPrepareInfo2;
  71. #endif
  72. #ifndef __IGetDispenser_FWD_DEFINED__
  73. #define __IGetDispenser_FWD_DEFINED__
  74. typedef struct IGetDispenser IGetDispenser;
  75. #endif
  76. #ifndef __ITransactionVoterBallotAsync2_FWD_DEFINED__
  77. #define __ITransactionVoterBallotAsync2_FWD_DEFINED__
  78. typedef struct ITransactionVoterBallotAsync2 ITransactionVoterBallotAsync2;
  79. #endif
  80. #ifndef __ITransactionVoterNotifyAsync2_FWD_DEFINED__
  81. #define __ITransactionVoterNotifyAsync2_FWD_DEFINED__
  82. typedef struct ITransactionVoterNotifyAsync2 ITransactionVoterNotifyAsync2;
  83. #endif
  84. #ifndef __ITransactionVoterFactory2_FWD_DEFINED__
  85. #define __ITransactionVoterFactory2_FWD_DEFINED__
  86. typedef struct ITransactionVoterFactory2 ITransactionVoterFactory2;
  87. #endif
  88. #ifndef __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__
  89. #define __ITransactionPhase0EnlistmentAsync_FWD_DEFINED__
  90. typedef struct ITransactionPhase0EnlistmentAsync ITransactionPhase0EnlistmentAsync;
  91. #endif
  92. #ifndef __ITransactionPhase0NotifyAsync_FWD_DEFINED__
  93. #define __ITransactionPhase0NotifyAsync_FWD_DEFINED__
  94. typedef struct ITransactionPhase0NotifyAsync ITransactionPhase0NotifyAsync;
  95. #endif
  96. #ifndef __ITransactionPhase0Factory_FWD_DEFINED__
  97. #define __ITransactionPhase0Factory_FWD_DEFINED__
  98. typedef struct ITransactionPhase0Factory ITransactionPhase0Factory;
  99. #endif
  100. #ifndef __ITransactionTransmitter_FWD_DEFINED__
  101. #define __ITransactionTransmitter_FWD_DEFINED__
  102. typedef struct ITransactionTransmitter ITransactionTransmitter;
  103. #endif
  104. #ifndef __ITransactionTransmitterFactory_FWD_DEFINED__
  105. #define __ITransactionTransmitterFactory_FWD_DEFINED__
  106. typedef struct ITransactionTransmitterFactory ITransactionTransmitterFactory;
  107. #endif
  108. #ifndef __ITransactionReceiver_FWD_DEFINED__
  109. #define __ITransactionReceiver_FWD_DEFINED__
  110. typedef struct ITransactionReceiver ITransactionReceiver;
  111. #endif
  112. #ifndef __ITransactionReceiverFactory_FWD_DEFINED__
  113. #define __ITransactionReceiverFactory_FWD_DEFINED__
  114. typedef struct ITransactionReceiverFactory ITransactionReceiverFactory;
  115. #endif
  116. #ifndef __IDtcLuConfigure_FWD_DEFINED__
  117. #define __IDtcLuConfigure_FWD_DEFINED__
  118. typedef struct IDtcLuConfigure IDtcLuConfigure;
  119. #endif
  120. #ifndef __IDtcLuRecovery_FWD_DEFINED__
  121. #define __IDtcLuRecovery_FWD_DEFINED__
  122. typedef struct IDtcLuRecovery IDtcLuRecovery;
  123. #endif
  124. #ifndef __IDtcLuRecoveryFactory_FWD_DEFINED__
  125. #define __IDtcLuRecoveryFactory_FWD_DEFINED__
  126. typedef struct IDtcLuRecoveryFactory IDtcLuRecoveryFactory;
  127. #endif
  128. #ifndef __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__
  129. #define __IDtcLuRecoveryInitiatedByDtcTransWork_FWD_DEFINED__
  130. typedef struct IDtcLuRecoveryInitiatedByDtcTransWork IDtcLuRecoveryInitiatedByDtcTransWork;
  131. #endif
  132. #ifndef __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__
  133. #define __IDtcLuRecoveryInitiatedByDtcStatusWork_FWD_DEFINED__
  134. typedef struct IDtcLuRecoveryInitiatedByDtcStatusWork IDtcLuRecoveryInitiatedByDtcStatusWork;
  135. #endif
  136. #ifndef __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__
  137. #define __IDtcLuRecoveryInitiatedByDtc_FWD_DEFINED__
  138. typedef struct IDtcLuRecoveryInitiatedByDtc IDtcLuRecoveryInitiatedByDtc;
  139. #endif
  140. #ifndef __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__
  141. #define __IDtcLuRecoveryInitiatedByLuWork_FWD_DEFINED__
  142. typedef struct IDtcLuRecoveryInitiatedByLuWork IDtcLuRecoveryInitiatedByLuWork;
  143. #endif
  144. #ifndef __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__
  145. #define __IDtcLuRecoveryInitiatedByLu_FWD_DEFINED__
  146. typedef struct IDtcLuRecoveryInitiatedByLu IDtcLuRecoveryInitiatedByLu;
  147. #endif
  148. #ifndef __IDtcLuRmEnlistment_FWD_DEFINED__
  149. #define __IDtcLuRmEnlistment_FWD_DEFINED__
  150. typedef struct IDtcLuRmEnlistment IDtcLuRmEnlistment;
  151. #endif
  152. #ifndef __IDtcLuRmEnlistmentSink_FWD_DEFINED__
  153. #define __IDtcLuRmEnlistmentSink_FWD_DEFINED__
  154. typedef struct IDtcLuRmEnlistmentSink IDtcLuRmEnlistmentSink;
  155. #endif
  156. #ifndef __IDtcLuRmEnlistmentFactory_FWD_DEFINED__
  157. #define __IDtcLuRmEnlistmentFactory_FWD_DEFINED__
  158. typedef struct IDtcLuRmEnlistmentFactory IDtcLuRmEnlistmentFactory;
  159. #endif
  160. #ifndef __IDtcLuSubordinateDtc_FWD_DEFINED__
  161. #define __IDtcLuSubordinateDtc_FWD_DEFINED__
  162. typedef struct IDtcLuSubordinateDtc IDtcLuSubordinateDtc;
  163. #endif
  164. #ifndef __IDtcLuSubordinateDtcSink_FWD_DEFINED__
  165. #define __IDtcLuSubordinateDtcSink_FWD_DEFINED__
  166. typedef struct IDtcLuSubordinateDtcSink IDtcLuSubordinateDtcSink;
  167. #endif
  168. #ifndef __IDtcLuSubordinateDtcFactory_FWD_DEFINED__
  169. #define __IDtcLuSubordinateDtcFactory_FWD_DEFINED__
  170. typedef struct IDtcLuSubordinateDtcFactory IDtcLuSubordinateDtcFactory;
  171. #endif
  172. #include "txcoord.h"
  173. #ifdef __cplusplus
  174. extern "C" {
  175. #endif
  176. #ifndef __MIDL_user_allocate_free_DEFINED__
  177. #define __MIDL_user_allocate_free_DEFINED__
  178. void *__RPC_API MIDL_user_allocate(size_t);
  179. void __RPC_API MIDL_user_free(void *);
  180. #endif
  181. #define XACTTOMSG(dwXact) (dwXact-0x00040000+0x40000000)
  182. typedef enum XACT_DTC_CONSTANTS {
  183. XACT_E_CONNECTION_REQUEST_DENIED = 0x8004d100,XACT_E_TOOMANY_ENLISTMENTS = 0x8004d101,XACT_E_DUPLICATE_GUID = 0x8004d102,
  184. XACT_E_NOTSINGLEPHASE = 0x8004d103,XACT_E_RECOVERYALREADYDONE = 0x8004d104,XACT_E_PROTOCOL = 0x8004d105,XACT_E_RM_FAILURE = 0x8004d106,
  185. XACT_E_RECOVERY_FAILED = 0x8004d107,XACT_E_LU_NOT_FOUND = 0x8004d108,XACT_E_DUPLICATE_LU = 0x8004d109,XACT_E_LU_NOT_CONNECTED = 0x8004d10a,
  186. XACT_E_DUPLICATE_TRANSID = 0x8004d10b,XACT_E_LU_BUSY = 0x8004d10c,XACT_E_LU_NO_RECOVERY_PROCESS = 0x8004d10d,XACT_E_LU_DOWN = 0x8004d10e,
  187. XACT_E_LU_RECOVERING = 0x8004d10f,XACT_E_LU_RECOVERY_MISMATCH = 0x8004d110,XACT_E_RM_UNAVAILABLE = 0x8004d111,
  188. XACT_E_LRMRECOVERYALREADYDONE = 0x8004d112,XACT_E_NOLASTRESOURCEINTERFACE = 0x8004d113,XACT_S_NONOTIFY = 0x4d100,XACT_OK_NONOTIFY = 0x4d101,
  189. dwUSER_MS_SQLSERVER = 0xffff
  190. } XACT_DTC_CONSTANTS;
  191. #ifndef _XID_T_DEFINED
  192. #define _XID_T_DEFINED
  193. typedef struct xid_t {
  194. __LONG32 formatID;
  195. __LONG32 gtrid_length;
  196. __LONG32 bqual_length;
  197. char data[128 ];
  198. } XID;
  199. #endif
  200. #ifndef _XA_SWITCH_T_DEFINED
  201. #define _XA_SWITCH_T_DEFINED
  202. typedef struct xa_switch_t {
  203. char name[32 ];
  204. __LONG32 flags;
  205. __LONG32 version;
  206. int (__cdecl *xa_open_entry)(char *__MIDL_0004,int __MIDL_0005,__LONG32 __MIDL_0006);
  207. int (__cdecl *xa_close_entry)(char *__MIDL_0008,int __MIDL_0009,__LONG32 __MIDL_0010);
  208. int (__cdecl *xa_start_entry)(XID *__MIDL_0012,int __MIDL_0013,__LONG32 __MIDL_0014);
  209. int (__cdecl *xa_end_entry)(XID *__MIDL_0016,int __MIDL_0017,__LONG32 __MIDL_0018);
  210. int (__cdecl *xa_rollback_entry)(XID *__MIDL_0020,int __MIDL_0021,__LONG32 __MIDL_0022);
  211. int (__cdecl *xa_prepare_entry)(XID *__MIDL_0024,int __MIDL_0025,__LONG32 __MIDL_0026);
  212. int (__cdecl *xa_commit_entry)(XID *__MIDL_0028,int __MIDL_0029,__LONG32 __MIDL_0030);
  213. int (__cdecl *xa_recover_entry)(XID *__MIDL_0032,__LONG32 __MIDL_0033,int __MIDL_0034,__LONG32 __MIDL_0035);
  214. int (__cdecl *xa_forget_entry)(XID *__MIDL_0037,int __MIDL_0038,__LONG32 __MIDL_0039);
  215. int (__cdecl *xa_complete_entry)(int *__MIDL_0041,int *__MIDL_0042,int __MIDL_0043,__LONG32 __MIDL_0044);
  216. } xa_switch_t;
  217. #endif
  218. extern RPC_IF_HANDLE __MIDL_itf_txdtc_0000_v0_0_c_ifspec;
  219. extern RPC_IF_HANDLE __MIDL_itf_txdtc_0000_v0_0_s_ifspec;
  220. #ifndef __IXATransLookup_INTERFACE_DEFINED__
  221. #define __IXATransLookup_INTERFACE_DEFINED__
  222. EXTERN_C const IID IID_IXATransLookup;
  223. #if defined(__cplusplus) && !defined(CINTERFACE)
  224. struct IXATransLookup : public IUnknown {
  225. public:
  226. virtual HRESULT WINAPI Lookup(ITransaction **ppTransaction) = 0;
  227. };
  228. #else
  229. typedef struct IXATransLookupVtbl {
  230. BEGIN_INTERFACE
  231. HRESULT (WINAPI *QueryInterface)(IXATransLookup *This,REFIID riid,void **ppvObject);
  232. ULONG (WINAPI *AddRef)(IXATransLookup *This);
  233. ULONG (WINAPI *Release)(IXATransLookup *This);
  234. HRESULT (WINAPI *Lookup)(IXATransLookup *This,ITransaction **ppTransaction);
  235. END_INTERFACE
  236. } IXATransLookupVtbl;
  237. struct IXATransLookup {
  238. CONST_VTBL struct IXATransLookupVtbl *lpVtbl;
  239. };
  240. #ifdef COBJMACROS
  241. #define IXATransLookup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  242. #define IXATransLookup_AddRef(This) (This)->lpVtbl->AddRef(This)
  243. #define IXATransLookup_Release(This) (This)->lpVtbl->Release(This)
  244. #define IXATransLookup_Lookup(This,ppTransaction) (This)->lpVtbl->Lookup(This,ppTransaction)
  245. #endif
  246. #endif
  247. HRESULT WINAPI IXATransLookup_Lookup_Proxy(IXATransLookup *This,ITransaction **ppTransaction);
  248. void __RPC_STUB IXATransLookup_Lookup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  249. #endif
  250. #ifndef __IXATransLookup2_INTERFACE_DEFINED__
  251. #define __IXATransLookup2_INTERFACE_DEFINED__
  252. EXTERN_C const IID IID_IXATransLookup2;
  253. #if defined(__cplusplus) && !defined(CINTERFACE)
  254. struct IXATransLookup2 : public IUnknown {
  255. public:
  256. virtual HRESULT WINAPI Lookup(XID *pXID,ITransaction **ppTransaction) = 0;
  257. };
  258. #else
  259. typedef struct IXATransLookup2Vtbl {
  260. BEGIN_INTERFACE
  261. HRESULT (WINAPI *QueryInterface)(IXATransLookup2 *This,REFIID riid,void **ppvObject);
  262. ULONG (WINAPI *AddRef)(IXATransLookup2 *This);
  263. ULONG (WINAPI *Release)(IXATransLookup2 *This);
  264. HRESULT (WINAPI *Lookup)(IXATransLookup2 *This,XID *pXID,ITransaction **ppTransaction);
  265. END_INTERFACE
  266. } IXATransLookup2Vtbl;
  267. struct IXATransLookup2 {
  268. CONST_VTBL struct IXATransLookup2Vtbl *lpVtbl;
  269. };
  270. #ifdef COBJMACROS
  271. #define IXATransLookup2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  272. #define IXATransLookup2_AddRef(This) (This)->lpVtbl->AddRef(This)
  273. #define IXATransLookup2_Release(This) (This)->lpVtbl->Release(This)
  274. #define IXATransLookup2_Lookup(This,pXID,ppTransaction) (This)->lpVtbl->Lookup(This,pXID,ppTransaction)
  275. #endif
  276. #endif
  277. HRESULT WINAPI IXATransLookup2_Lookup_Proxy(IXATransLookup2 *This,XID *pXID,ITransaction **ppTransaction);
  278. void __RPC_STUB IXATransLookup2_Lookup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  279. #endif
  280. #ifndef __IResourceManagerSink_INTERFACE_DEFINED__
  281. #define __IResourceManagerSink_INTERFACE_DEFINED__
  282. EXTERN_C const IID IID_IResourceManagerSink;
  283. #if defined(__cplusplus) && !defined(CINTERFACE)
  284. struct IResourceManagerSink : public IUnknown {
  285. public:
  286. virtual HRESULT WINAPI TMDown(void) = 0;
  287. };
  288. #else
  289. typedef struct IResourceManagerSinkVtbl {
  290. BEGIN_INTERFACE
  291. HRESULT (WINAPI *QueryInterface)(IResourceManagerSink *This,REFIID riid,void **ppvObject);
  292. ULONG (WINAPI *AddRef)(IResourceManagerSink *This);
  293. ULONG (WINAPI *Release)(IResourceManagerSink *This);
  294. HRESULT (WINAPI *TMDown)(IResourceManagerSink *This);
  295. END_INTERFACE
  296. } IResourceManagerSinkVtbl;
  297. struct IResourceManagerSink {
  298. CONST_VTBL struct IResourceManagerSinkVtbl *lpVtbl;
  299. };
  300. #ifdef COBJMACROS
  301. #define IResourceManagerSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  302. #define IResourceManagerSink_AddRef(This) (This)->lpVtbl->AddRef(This)
  303. #define IResourceManagerSink_Release(This) (This)->lpVtbl->Release(This)
  304. #define IResourceManagerSink_TMDown(This) (This)->lpVtbl->TMDown(This)
  305. #endif
  306. #endif
  307. HRESULT WINAPI IResourceManagerSink_TMDown_Proxy(IResourceManagerSink *This);
  308. void __RPC_STUB IResourceManagerSink_TMDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  309. #endif
  310. #ifndef __IResourceManager_INTERFACE_DEFINED__
  311. #define __IResourceManager_INTERFACE_DEFINED__
  312. EXTERN_C const IID IID_IResourceManager;
  313. #if defined(__cplusplus) && !defined(CINTERFACE)
  314. struct IResourceManager : public IUnknown {
  315. public:
  316. virtual HRESULT WINAPI Enlist(ITransaction *pTransaction,ITransactionResourceAsync *pRes,XACTUOW *pUOW,LONG *pisoLevel,ITransactionEnlistmentAsync **ppEnlist) = 0;
  317. virtual HRESULT WINAPI Reenlist(byte *pPrepInfo,ULONG cbPrepInfo,DWORD lTimeout,XACTSTAT *pXactStat) = 0;
  318. virtual HRESULT WINAPI ReenlistmentComplete(void) = 0;
  319. virtual HRESULT WINAPI GetDistributedTransactionManager(REFIID iid,void **ppvObject) = 0;
  320. };
  321. #else
  322. typedef struct IResourceManagerVtbl {
  323. BEGIN_INTERFACE
  324. HRESULT (WINAPI *QueryInterface)(IResourceManager *This,REFIID riid,void **ppvObject);
  325. ULONG (WINAPI *AddRef)(IResourceManager *This);
  326. ULONG (WINAPI *Release)(IResourceManager *This);
  327. HRESULT (WINAPI *Enlist)(IResourceManager *This,ITransaction *pTransaction,ITransactionResourceAsync *pRes,XACTUOW *pUOW,LONG *pisoLevel,ITransactionEnlistmentAsync **ppEnlist);
  328. HRESULT (WINAPI *Reenlist)(IResourceManager *This,byte *pPrepInfo,ULONG cbPrepInfo,DWORD lTimeout,XACTSTAT *pXactStat);
  329. HRESULT (WINAPI *ReenlistmentComplete)(IResourceManager *This);
  330. HRESULT (WINAPI *GetDistributedTransactionManager)(IResourceManager *This,REFIID iid,void **ppvObject);
  331. END_INTERFACE
  332. } IResourceManagerVtbl;
  333. struct IResourceManager {
  334. CONST_VTBL struct IResourceManagerVtbl *lpVtbl;
  335. };
  336. #ifdef COBJMACROS
  337. #define IResourceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  338. #define IResourceManager_AddRef(This) (This)->lpVtbl->AddRef(This)
  339. #define IResourceManager_Release(This) (This)->lpVtbl->Release(This)
  340. #define IResourceManager_Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist) (This)->lpVtbl->Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist)
  341. #define IResourceManager_Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat) (This)->lpVtbl->Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat)
  342. #define IResourceManager_ReenlistmentComplete(This) (This)->lpVtbl->ReenlistmentComplete(This)
  343. #define IResourceManager_GetDistributedTransactionManager(This,iid,ppvObject) (This)->lpVtbl->GetDistributedTransactionManager(This,iid,ppvObject)
  344. #endif
  345. #endif
  346. HRESULT WINAPI IResourceManager_Enlist_Proxy(IResourceManager *This,ITransaction *pTransaction,ITransactionResourceAsync *pRes,XACTUOW *pUOW,LONG *pisoLevel,ITransactionEnlistmentAsync **ppEnlist);
  347. void __RPC_STUB IResourceManager_Enlist_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  348. HRESULT WINAPI IResourceManager_Reenlist_Proxy(IResourceManager *This,byte *pPrepInfo,ULONG cbPrepInfo,DWORD lTimeout,XACTSTAT *pXactStat);
  349. void __RPC_STUB IResourceManager_Reenlist_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  350. HRESULT WINAPI IResourceManager_ReenlistmentComplete_Proxy(IResourceManager *This);
  351. void __RPC_STUB IResourceManager_ReenlistmentComplete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  352. HRESULT WINAPI IResourceManager_GetDistributedTransactionManager_Proxy(IResourceManager *This,REFIID iid,void **ppvObject);
  353. void __RPC_STUB IResourceManager_GetDistributedTransactionManager_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  354. #endif
  355. #ifndef __ILastResourceManager_INTERFACE_DEFINED__
  356. #define __ILastResourceManager_INTERFACE_DEFINED__
  357. EXTERN_C const IID IID_ILastResourceManager;
  358. #if defined(__cplusplus) && !defined(CINTERFACE)
  359. struct ILastResourceManager : public IUnknown {
  360. public:
  361. virtual HRESULT WINAPI TransactionCommitted(byte *pPrepInfo,ULONG cbPrepInfo) = 0;
  362. virtual HRESULT WINAPI RecoveryDone(void) = 0;
  363. };
  364. #else
  365. typedef struct ILastResourceManagerVtbl {
  366. BEGIN_INTERFACE
  367. HRESULT (WINAPI *QueryInterface)(ILastResourceManager *This,REFIID riid,void **ppvObject);
  368. ULONG (WINAPI *AddRef)(ILastResourceManager *This);
  369. ULONG (WINAPI *Release)(ILastResourceManager *This);
  370. HRESULT (WINAPI *TransactionCommitted)(ILastResourceManager *This,byte *pPrepInfo,ULONG cbPrepInfo);
  371. HRESULT (WINAPI *RecoveryDone)(ILastResourceManager *This);
  372. END_INTERFACE
  373. } ILastResourceManagerVtbl;
  374. struct ILastResourceManager {
  375. CONST_VTBL struct ILastResourceManagerVtbl *lpVtbl;
  376. };
  377. #ifdef COBJMACROS
  378. #define ILastResourceManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  379. #define ILastResourceManager_AddRef(This) (This)->lpVtbl->AddRef(This)
  380. #define ILastResourceManager_Release(This) (This)->lpVtbl->Release(This)
  381. #define ILastResourceManager_TransactionCommitted(This,pPrepInfo,cbPrepInfo) (This)->lpVtbl->TransactionCommitted(This,pPrepInfo,cbPrepInfo)
  382. #define ILastResourceManager_RecoveryDone(This) (This)->lpVtbl->RecoveryDone(This)
  383. #endif
  384. #endif
  385. HRESULT WINAPI ILastResourceManager_TransactionCommitted_Proxy(ILastResourceManager *This,byte *pPrepInfo,ULONG cbPrepInfo);
  386. void __RPC_STUB ILastResourceManager_TransactionCommitted_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  387. HRESULT WINAPI ILastResourceManager_RecoveryDone_Proxy(ILastResourceManager *This);
  388. void __RPC_STUB ILastResourceManager_RecoveryDone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  389. #endif
  390. #ifndef __IResourceManager2_INTERFACE_DEFINED__
  391. #define __IResourceManager2_INTERFACE_DEFINED__
  392. EXTERN_C const IID IID_IResourceManager2;
  393. #if defined(__cplusplus) && !defined(CINTERFACE)
  394. struct IResourceManager2 : public IResourceManager {
  395. public:
  396. virtual HRESULT WINAPI Enlist2(ITransaction *pTransaction,ITransactionResourceAsync *pResAsync,XACTUOW *pUOW,LONG *pisoLevel,XID *pXid,ITransactionEnlistmentAsync **ppEnlist) = 0;
  397. virtual HRESULT WINAPI Reenlist2(XID *pXid,DWORD dwTimeout,XACTSTAT *pXactStat) = 0;
  398. };
  399. #else
  400. typedef struct IResourceManager2Vtbl {
  401. BEGIN_INTERFACE
  402. HRESULT (WINAPI *QueryInterface)(IResourceManager2 *This,REFIID riid,void **ppvObject);
  403. ULONG (WINAPI *AddRef)(IResourceManager2 *This);
  404. ULONG (WINAPI *Release)(IResourceManager2 *This);
  405. HRESULT (WINAPI *Enlist)(IResourceManager2 *This,ITransaction *pTransaction,ITransactionResourceAsync *pRes,XACTUOW *pUOW,LONG *pisoLevel,ITransactionEnlistmentAsync **ppEnlist);
  406. HRESULT (WINAPI *Reenlist)(IResourceManager2 *This,byte *pPrepInfo,ULONG cbPrepInfo,DWORD lTimeout,XACTSTAT *pXactStat);
  407. HRESULT (WINAPI *ReenlistmentComplete)(IResourceManager2 *This);
  408. HRESULT (WINAPI *GetDistributedTransactionManager)(IResourceManager2 *This,REFIID iid,void **ppvObject);
  409. HRESULT (WINAPI *Enlist2)(IResourceManager2 *This,ITransaction *pTransaction,ITransactionResourceAsync *pResAsync,XACTUOW *pUOW,LONG *pisoLevel,XID *pXid,ITransactionEnlistmentAsync **ppEnlist);
  410. HRESULT (WINAPI *Reenlist2)(IResourceManager2 *This,XID *pXid,DWORD dwTimeout,XACTSTAT *pXactStat);
  411. END_INTERFACE
  412. } IResourceManager2Vtbl;
  413. struct IResourceManager2 {
  414. CONST_VTBL struct IResourceManager2Vtbl *lpVtbl;
  415. };
  416. #ifdef COBJMACROS
  417. #define IResourceManager2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  418. #define IResourceManager2_AddRef(This) (This)->lpVtbl->AddRef(This)
  419. #define IResourceManager2_Release(This) (This)->lpVtbl->Release(This)
  420. #define IResourceManager2_Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist) (This)->lpVtbl->Enlist(This,pTransaction,pRes,pUOW,pisoLevel,ppEnlist)
  421. #define IResourceManager2_Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat) (This)->lpVtbl->Reenlist(This,pPrepInfo,cbPrepInfo,lTimeout,pXactStat)
  422. #define IResourceManager2_ReenlistmentComplete(This) (This)->lpVtbl->ReenlistmentComplete(This)
  423. #define IResourceManager2_GetDistributedTransactionManager(This,iid,ppvObject) (This)->lpVtbl->GetDistributedTransactionManager(This,iid,ppvObject)
  424. #define IResourceManager2_Enlist2(This,pTransaction,pResAsync,pUOW,pisoLevel,pXid,ppEnlist) (This)->lpVtbl->Enlist2(This,pTransaction,pResAsync,pUOW,pisoLevel,pXid,ppEnlist)
  425. #define IResourceManager2_Reenlist2(This,pXid,dwTimeout,pXactStat) (This)->lpVtbl->Reenlist2(This,pXid,dwTimeout,pXactStat)
  426. #endif
  427. #endif
  428. HRESULT WINAPI IResourceManager2_Enlist2_Proxy(IResourceManager2 *This,ITransaction *pTransaction,ITransactionResourceAsync *pResAsync,XACTUOW *pUOW,LONG *pisoLevel,XID *pXid,ITransactionEnlistmentAsync **ppEnlist);
  429. void __RPC_STUB IResourceManager2_Enlist2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  430. HRESULT WINAPI IResourceManager2_Reenlist2_Proxy(IResourceManager2 *This,XID *pXid,DWORD dwTimeout,XACTSTAT *pXactStat);
  431. void __RPC_STUB IResourceManager2_Reenlist2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  432. #endif
  433. #ifndef __IXAConfig_INTERFACE_DEFINED__
  434. #define __IXAConfig_INTERFACE_DEFINED__
  435. EXTERN_C const IID IID_IXAConfig;
  436. #if defined(__cplusplus) && !defined(CINTERFACE)
  437. struct IXAConfig : public IUnknown {
  438. public:
  439. virtual HRESULT WINAPI Initialize(GUID clsidHelperDll) = 0;
  440. virtual HRESULT WINAPI Terminate(void) = 0;
  441. };
  442. #else
  443. typedef struct IXAConfigVtbl {
  444. BEGIN_INTERFACE
  445. HRESULT (WINAPI *QueryInterface)(IXAConfig *This,REFIID riid,void **ppvObject);
  446. ULONG (WINAPI *AddRef)(IXAConfig *This);
  447. ULONG (WINAPI *Release)(IXAConfig *This);
  448. HRESULT (WINAPI *Initialize)(IXAConfig *This,GUID clsidHelperDll);
  449. HRESULT (WINAPI *Terminate)(IXAConfig *This);
  450. END_INTERFACE
  451. } IXAConfigVtbl;
  452. struct IXAConfig {
  453. CONST_VTBL struct IXAConfigVtbl *lpVtbl;
  454. };
  455. #ifdef COBJMACROS
  456. #define IXAConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  457. #define IXAConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
  458. #define IXAConfig_Release(This) (This)->lpVtbl->Release(This)
  459. #define IXAConfig_Initialize(This,clsidHelperDll) (This)->lpVtbl->Initialize(This,clsidHelperDll)
  460. #define IXAConfig_Terminate(This) (This)->lpVtbl->Terminate(This)
  461. #endif
  462. #endif
  463. HRESULT WINAPI IXAConfig_Initialize_Proxy(IXAConfig *This,GUID clsidHelperDll);
  464. void __RPC_STUB IXAConfig_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  465. HRESULT WINAPI IXAConfig_Terminate_Proxy(IXAConfig *This);
  466. void __RPC_STUB IXAConfig_Terminate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  467. #endif
  468. #ifndef __IRMHelper_INTERFACE_DEFINED__
  469. #define __IRMHelper_INTERFACE_DEFINED__
  470. EXTERN_C const IID IID_IRMHelper;
  471. #if defined(__cplusplus) && !defined(CINTERFACE)
  472. struct IRMHelper : public IUnknown {
  473. public:
  474. virtual HRESULT WINAPI RMCount(DWORD dwcTotalNumberOfRMs) = 0;
  475. virtual HRESULT WINAPI RMInfo(xa_switch_t *pXa_Switch,WINBOOL fCDeclCallingConv,char *pszOpenString,char *pszCloseString,GUID guidRMRecovery) = 0;
  476. };
  477. #else
  478. typedef struct IRMHelperVtbl {
  479. BEGIN_INTERFACE
  480. HRESULT (WINAPI *QueryInterface)(IRMHelper *This,REFIID riid,void **ppvObject);
  481. ULONG (WINAPI *AddRef)(IRMHelper *This);
  482. ULONG (WINAPI *Release)(IRMHelper *This);
  483. HRESULT (WINAPI *RMCount)(IRMHelper *This,DWORD dwcTotalNumberOfRMs);
  484. HRESULT (WINAPI *RMInfo)(IRMHelper *This,xa_switch_t *pXa_Switch,WINBOOL fCDeclCallingConv,char *pszOpenString,char *pszCloseString,GUID guidRMRecovery);
  485. END_INTERFACE
  486. } IRMHelperVtbl;
  487. struct IRMHelper {
  488. CONST_VTBL struct IRMHelperVtbl *lpVtbl;
  489. };
  490. #ifdef COBJMACROS
  491. #define IRMHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  492. #define IRMHelper_AddRef(This) (This)->lpVtbl->AddRef(This)
  493. #define IRMHelper_Release(This) (This)->lpVtbl->Release(This)
  494. #define IRMHelper_RMCount(This,dwcTotalNumberOfRMs) (This)->lpVtbl->RMCount(This,dwcTotalNumberOfRMs)
  495. #define IRMHelper_RMInfo(This,pXa_Switch,fCDeclCallingConv,pszOpenString,pszCloseString,guidRMRecovery) (This)->lpVtbl->RMInfo(This,pXa_Switch,fCDeclCallingConv,pszOpenString,pszCloseString,guidRMRecovery)
  496. #endif
  497. #endif
  498. HRESULT WINAPI IRMHelper_RMCount_Proxy(IRMHelper *This,DWORD dwcTotalNumberOfRMs);
  499. void __RPC_STUB IRMHelper_RMCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  500. HRESULT WINAPI IRMHelper_RMInfo_Proxy(IRMHelper *This,xa_switch_t *pXa_Switch,WINBOOL fCDeclCallingConv,char *pszOpenString,char *pszCloseString,GUID guidRMRecovery);
  501. void __RPC_STUB IRMHelper_RMInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  502. #endif
  503. #ifndef __IXAObtainRMInfo_INTERFACE_DEFINED__
  504. #define __IXAObtainRMInfo_INTERFACE_DEFINED__
  505. EXTERN_C const IID IID_IXAObtainRMInfo;
  506. #if defined(__cplusplus) && !defined(CINTERFACE)
  507. struct IXAObtainRMInfo : public IUnknown {
  508. public:
  509. virtual HRESULT WINAPI ObtainRMInfo(IRMHelper *pIRMHelper) = 0;
  510. };
  511. #else
  512. typedef struct IXAObtainRMInfoVtbl {
  513. BEGIN_INTERFACE
  514. HRESULT (WINAPI *QueryInterface)(IXAObtainRMInfo *This,REFIID riid,void **ppvObject);
  515. ULONG (WINAPI *AddRef)(IXAObtainRMInfo *This);
  516. ULONG (WINAPI *Release)(IXAObtainRMInfo *This);
  517. HRESULT (WINAPI *ObtainRMInfo)(IXAObtainRMInfo *This,IRMHelper *pIRMHelper);
  518. END_INTERFACE
  519. } IXAObtainRMInfoVtbl;
  520. struct IXAObtainRMInfo {
  521. CONST_VTBL struct IXAObtainRMInfoVtbl *lpVtbl;
  522. };
  523. #ifdef COBJMACROS
  524. #define IXAObtainRMInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  525. #define IXAObtainRMInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
  526. #define IXAObtainRMInfo_Release(This) (This)->lpVtbl->Release(This)
  527. #define IXAObtainRMInfo_ObtainRMInfo(This,pIRMHelper) (This)->lpVtbl->ObtainRMInfo(This,pIRMHelper)
  528. #endif
  529. #endif
  530. HRESULT WINAPI IXAObtainRMInfo_ObtainRMInfo_Proxy(IXAObtainRMInfo *This,IRMHelper *pIRMHelper);
  531. void __RPC_STUB IXAObtainRMInfo_ObtainRMInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  532. #endif
  533. #ifndef __IResourceManagerFactory_INTERFACE_DEFINED__
  534. #define __IResourceManagerFactory_INTERFACE_DEFINED__
  535. EXTERN_C const IID IID_IResourceManagerFactory;
  536. #if defined(__cplusplus) && !defined(CINTERFACE)
  537. struct IResourceManagerFactory : public IUnknown {
  538. public:
  539. virtual HRESULT WINAPI Create(GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,IResourceManager **ppResMgr) = 0;
  540. };
  541. #else
  542. typedef struct IResourceManagerFactoryVtbl {
  543. BEGIN_INTERFACE
  544. HRESULT (WINAPI *QueryInterface)(IResourceManagerFactory *This,REFIID riid,void **ppvObject);
  545. ULONG (WINAPI *AddRef)(IResourceManagerFactory *This);
  546. ULONG (WINAPI *Release)(IResourceManagerFactory *This);
  547. HRESULT (WINAPI *Create)(IResourceManagerFactory *This,GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,IResourceManager **ppResMgr);
  548. END_INTERFACE
  549. } IResourceManagerFactoryVtbl;
  550. struct IResourceManagerFactory {
  551. CONST_VTBL struct IResourceManagerFactoryVtbl *lpVtbl;
  552. };
  553. #ifdef COBJMACROS
  554. #define IResourceManagerFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  555. #define IResourceManagerFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  556. #define IResourceManagerFactory_Release(This) (This)->lpVtbl->Release(This)
  557. #define IResourceManagerFactory_Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr) (This)->lpVtbl->Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr)
  558. #endif
  559. #endif
  560. HRESULT WINAPI IResourceManagerFactory_Create_Proxy(IResourceManagerFactory *This,GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,IResourceManager **ppResMgr);
  561. void __RPC_STUB IResourceManagerFactory_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  562. #endif
  563. #ifndef __IResourceManagerFactory2_INTERFACE_DEFINED__
  564. #define __IResourceManagerFactory2_INTERFACE_DEFINED__
  565. EXTERN_C const IID IID_IResourceManagerFactory2;
  566. #if defined(__cplusplus) && !defined(CINTERFACE)
  567. struct IResourceManagerFactory2 : public IResourceManagerFactory {
  568. public:
  569. virtual HRESULT WINAPI CreateEx(GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,REFIID riidRequested,void **ppvResMgr) = 0;
  570. };
  571. #else
  572. typedef struct IResourceManagerFactory2Vtbl {
  573. BEGIN_INTERFACE
  574. HRESULT (WINAPI *QueryInterface)(IResourceManagerFactory2 *This,REFIID riid,void **ppvObject);
  575. ULONG (WINAPI *AddRef)(IResourceManagerFactory2 *This);
  576. ULONG (WINAPI *Release)(IResourceManagerFactory2 *This);
  577. HRESULT (WINAPI *Create)(IResourceManagerFactory2 *This,GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,IResourceManager **ppResMgr);
  578. HRESULT (WINAPI *CreateEx)(IResourceManagerFactory2 *This,GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,REFIID riidRequested,void **ppvResMgr);
  579. END_INTERFACE
  580. } IResourceManagerFactory2Vtbl;
  581. struct IResourceManagerFactory2 {
  582. CONST_VTBL struct IResourceManagerFactory2Vtbl *lpVtbl;
  583. };
  584. #ifdef COBJMACROS
  585. #define IResourceManagerFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  586. #define IResourceManagerFactory2_AddRef(This) (This)->lpVtbl->AddRef(This)
  587. #define IResourceManagerFactory2_Release(This) (This)->lpVtbl->Release(This)
  588. #define IResourceManagerFactory2_Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr) (This)->lpVtbl->Create(This,pguidRM,pszRMName,pIResMgrSink,ppResMgr)
  589. #define IResourceManagerFactory2_CreateEx(This,pguidRM,pszRMName,pIResMgrSink,riidRequested,ppvResMgr) (This)->lpVtbl->CreateEx(This,pguidRM,pszRMName,pIResMgrSink,riidRequested,ppvResMgr)
  590. #endif
  591. #endif
  592. HRESULT WINAPI IResourceManagerFactory2_CreateEx_Proxy(IResourceManagerFactory2 *This,GUID *pguidRM,CHAR *pszRMName,IResourceManagerSink *pIResMgrSink,REFIID riidRequested,void **ppvResMgr);
  593. void __RPC_STUB IResourceManagerFactory2_CreateEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  594. #endif
  595. #ifndef __IPrepareInfo_INTERFACE_DEFINED__
  596. #define __IPrepareInfo_INTERFACE_DEFINED__
  597. EXTERN_C const IID IID_IPrepareInfo;
  598. #if defined(__cplusplus) && !defined(CINTERFACE)
  599. struct IPrepareInfo : public IUnknown {
  600. public:
  601. virtual HRESULT WINAPI GetPrepareInfoSize(ULONG *pcbPrepInfo) = 0;
  602. virtual HRESULT WINAPI GetPrepareInfo(byte *pPrepInfo) = 0;
  603. };
  604. #else
  605. typedef struct IPrepareInfoVtbl {
  606. BEGIN_INTERFACE
  607. HRESULT (WINAPI *QueryInterface)(IPrepareInfo *This,REFIID riid,void **ppvObject);
  608. ULONG (WINAPI *AddRef)(IPrepareInfo *This);
  609. ULONG (WINAPI *Release)(IPrepareInfo *This);
  610. HRESULT (WINAPI *GetPrepareInfoSize)(IPrepareInfo *This,ULONG *pcbPrepInfo);
  611. HRESULT (WINAPI *GetPrepareInfo)(IPrepareInfo *This,byte *pPrepInfo);
  612. END_INTERFACE
  613. } IPrepareInfoVtbl;
  614. struct IPrepareInfo {
  615. CONST_VTBL struct IPrepareInfoVtbl *lpVtbl;
  616. };
  617. #ifdef COBJMACROS
  618. #define IPrepareInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  619. #define IPrepareInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
  620. #define IPrepareInfo_Release(This) (This)->lpVtbl->Release(This)
  621. #define IPrepareInfo_GetPrepareInfoSize(This,pcbPrepInfo) (This)->lpVtbl->GetPrepareInfoSize(This,pcbPrepInfo)
  622. #define IPrepareInfo_GetPrepareInfo(This,pPrepInfo) (This)->lpVtbl->GetPrepareInfo(This,pPrepInfo)
  623. #endif
  624. #endif
  625. HRESULT WINAPI IPrepareInfo_GetPrepareInfoSize_Proxy(IPrepareInfo *This,ULONG *pcbPrepInfo);
  626. void __RPC_STUB IPrepareInfo_GetPrepareInfoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  627. HRESULT WINAPI IPrepareInfo_GetPrepareInfo_Proxy(IPrepareInfo *This,byte *pPrepInfo);
  628. void __RPC_STUB IPrepareInfo_GetPrepareInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  629. #endif
  630. #ifndef __IPrepareInfo2_INTERFACE_DEFINED__
  631. #define __IPrepareInfo2_INTERFACE_DEFINED__
  632. EXTERN_C const IID IID_IPrepareInfo2;
  633. #if defined(__cplusplus) && !defined(CINTERFACE)
  634. struct IPrepareInfo2 : public IUnknown {
  635. public:
  636. virtual HRESULT WINAPI GetPrepareInfoSize(ULONG *pcbPrepInfo) = 0;
  637. virtual HRESULT WINAPI GetPrepareInfo(ULONG cbPrepareInfo,byte *pPrepInfo) = 0;
  638. };
  639. #else
  640. typedef struct IPrepareInfo2Vtbl {
  641. BEGIN_INTERFACE
  642. HRESULT (WINAPI *QueryInterface)(IPrepareInfo2 *This,REFIID riid,void **ppvObject);
  643. ULONG (WINAPI *AddRef)(IPrepareInfo2 *This);
  644. ULONG (WINAPI *Release)(IPrepareInfo2 *This);
  645. HRESULT (WINAPI *GetPrepareInfoSize)(IPrepareInfo2 *This,ULONG *pcbPrepInfo);
  646. HRESULT (WINAPI *GetPrepareInfo)(IPrepareInfo2 *This,ULONG cbPrepareInfo,byte *pPrepInfo);
  647. END_INTERFACE
  648. } IPrepareInfo2Vtbl;
  649. struct IPrepareInfo2 {
  650. CONST_VTBL struct IPrepareInfo2Vtbl *lpVtbl;
  651. };
  652. #ifdef COBJMACROS
  653. #define IPrepareInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  654. #define IPrepareInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)
  655. #define IPrepareInfo2_Release(This) (This)->lpVtbl->Release(This)
  656. #define IPrepareInfo2_GetPrepareInfoSize(This,pcbPrepInfo) (This)->lpVtbl->GetPrepareInfoSize(This,pcbPrepInfo)
  657. #define IPrepareInfo2_GetPrepareInfo(This,cbPrepareInfo,pPrepInfo) (This)->lpVtbl->GetPrepareInfo(This,cbPrepareInfo,pPrepInfo)
  658. #endif
  659. #endif
  660. HRESULT WINAPI IPrepareInfo2_GetPrepareInfoSize_Proxy(IPrepareInfo2 *This,ULONG *pcbPrepInfo);
  661. void __RPC_STUB IPrepareInfo2_GetPrepareInfoSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  662. HRESULT WINAPI IPrepareInfo2_GetPrepareInfo_Proxy(IPrepareInfo2 *This,ULONG cbPrepareInfo,byte *pPrepInfo);
  663. void __RPC_STUB IPrepareInfo2_GetPrepareInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  664. #endif
  665. #ifndef __IGetDispenser_INTERFACE_DEFINED__
  666. #define __IGetDispenser_INTERFACE_DEFINED__
  667. EXTERN_C const IID IID_IGetDispenser;
  668. #if defined(__cplusplus) && !defined(CINTERFACE)
  669. struct IGetDispenser : public IUnknown {
  670. public:
  671. virtual HRESULT WINAPI GetDispenser(REFIID iid,void **ppvObject) = 0;
  672. };
  673. #else
  674. typedef struct IGetDispenserVtbl {
  675. BEGIN_INTERFACE
  676. HRESULT (WINAPI *QueryInterface)(IGetDispenser *This,REFIID riid,void **ppvObject);
  677. ULONG (WINAPI *AddRef)(IGetDispenser *This);
  678. ULONG (WINAPI *Release)(IGetDispenser *This);
  679. HRESULT (WINAPI *GetDispenser)(IGetDispenser *This,REFIID iid,void **ppvObject);
  680. END_INTERFACE
  681. } IGetDispenserVtbl;
  682. struct IGetDispenser {
  683. CONST_VTBL struct IGetDispenserVtbl *lpVtbl;
  684. };
  685. #ifdef COBJMACROS
  686. #define IGetDispenser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  687. #define IGetDispenser_AddRef(This) (This)->lpVtbl->AddRef(This)
  688. #define IGetDispenser_Release(This) (This)->lpVtbl->Release(This)
  689. #define IGetDispenser_GetDispenser(This,iid,ppvObject) (This)->lpVtbl->GetDispenser(This,iid,ppvObject)
  690. #endif
  691. #endif
  692. HRESULT WINAPI IGetDispenser_GetDispenser_Proxy(IGetDispenser *This,REFIID iid,void **ppvObject);
  693. void __RPC_STUB IGetDispenser_GetDispenser_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  694. #endif
  695. #ifndef __ITransactionVoterBallotAsync2_INTERFACE_DEFINED__
  696. #define __ITransactionVoterBallotAsync2_INTERFACE_DEFINED__
  697. EXTERN_C const IID IID_ITransactionVoterBallotAsync2;
  698. #if defined(__cplusplus) && !defined(CINTERFACE)
  699. struct ITransactionVoterBallotAsync2 : public IUnknown {
  700. public:
  701. virtual HRESULT WINAPI VoteRequestDone(HRESULT hr,BOID *pboidReason) = 0;
  702. };
  703. #else
  704. typedef struct ITransactionVoterBallotAsync2Vtbl {
  705. BEGIN_INTERFACE
  706. HRESULT (WINAPI *QueryInterface)(ITransactionVoterBallotAsync2 *This,REFIID riid,void **ppvObject);
  707. ULONG (WINAPI *AddRef)(ITransactionVoterBallotAsync2 *This);
  708. ULONG (WINAPI *Release)(ITransactionVoterBallotAsync2 *This);
  709. HRESULT (WINAPI *VoteRequestDone)(ITransactionVoterBallotAsync2 *This,HRESULT hr,BOID *pboidReason);
  710. END_INTERFACE
  711. } ITransactionVoterBallotAsync2Vtbl;
  712. struct ITransactionVoterBallotAsync2 {
  713. CONST_VTBL struct ITransactionVoterBallotAsync2Vtbl *lpVtbl;
  714. };
  715. #ifdef COBJMACROS
  716. #define ITransactionVoterBallotAsync2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  717. #define ITransactionVoterBallotAsync2_AddRef(This) (This)->lpVtbl->AddRef(This)
  718. #define ITransactionVoterBallotAsync2_Release(This) (This)->lpVtbl->Release(This)
  719. #define ITransactionVoterBallotAsync2_VoteRequestDone(This,hr,pboidReason) (This)->lpVtbl->VoteRequestDone(This,hr,pboidReason)
  720. #endif
  721. #endif
  722. HRESULT WINAPI ITransactionVoterBallotAsync2_VoteRequestDone_Proxy(ITransactionVoterBallotAsync2 *This,HRESULT hr,BOID *pboidReason);
  723. void __RPC_STUB ITransactionVoterBallotAsync2_VoteRequestDone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  724. #endif
  725. #ifndef __ITransactionVoterNotifyAsync2_INTERFACE_DEFINED__
  726. #define __ITransactionVoterNotifyAsync2_INTERFACE_DEFINED__
  727. EXTERN_C const IID IID_ITransactionVoterNotifyAsync2;
  728. #if defined(__cplusplus) && !defined(CINTERFACE)
  729. struct ITransactionVoterNotifyAsync2 : public ITransactionOutcomeEvents {
  730. public:
  731. virtual HRESULT WINAPI VoteRequest(void) = 0;
  732. };
  733. #else
  734. typedef struct ITransactionVoterNotifyAsync2Vtbl {
  735. BEGIN_INTERFACE
  736. HRESULT (WINAPI *QueryInterface)(ITransactionVoterNotifyAsync2 *This,REFIID riid,void **ppvObject);
  737. ULONG (WINAPI *AddRef)(ITransactionVoterNotifyAsync2 *This);
  738. ULONG (WINAPI *Release)(ITransactionVoterNotifyAsync2 *This);
  739. HRESULT (WINAPI *Committed)(ITransactionVoterNotifyAsync2 *This,WINBOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr);
  740. HRESULT (WINAPI *Aborted)(ITransactionVoterNotifyAsync2 *This,BOID *pboidReason,WINBOOL fRetaining,XACTUOW *pNewUOW,HRESULT hr);
  741. HRESULT (WINAPI *HeuristicDecision)(ITransactionVoterNotifyAsync2 *This,DWORD dwDecision,BOID *pboidReason,HRESULT hr);
  742. HRESULT (WINAPI *Indoubt)(ITransactionVoterNotifyAsync2 *This);
  743. HRESULT (WINAPI *VoteRequest)(ITransactionVoterNotifyAsync2 *This);
  744. END_INTERFACE
  745. } ITransactionVoterNotifyAsync2Vtbl;
  746. struct ITransactionVoterNotifyAsync2 {
  747. CONST_VTBL struct ITransactionVoterNotifyAsync2Vtbl *lpVtbl;
  748. };
  749. #ifdef COBJMACROS
  750. #define ITransactionVoterNotifyAsync2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  751. #define ITransactionVoterNotifyAsync2_AddRef(This) (This)->lpVtbl->AddRef(This)
  752. #define ITransactionVoterNotifyAsync2_Release(This) (This)->lpVtbl->Release(This)
  753. #define ITransactionVoterNotifyAsync2_Committed(This,fRetaining,pNewUOW,hr) (This)->lpVtbl->Committed(This,fRetaining,pNewUOW,hr)
  754. #define ITransactionVoterNotifyAsync2_Aborted(This,pboidReason,fRetaining,pNewUOW,hr) (This)->lpVtbl->Aborted(This,pboidReason,fRetaining,pNewUOW,hr)
  755. #define ITransactionVoterNotifyAsync2_HeuristicDecision(This,dwDecision,pboidReason,hr) (This)->lpVtbl->HeuristicDecision(This,dwDecision,pboidReason,hr)
  756. #define ITransactionVoterNotifyAsync2_Indoubt(This) (This)->lpVtbl->Indoubt(This)
  757. #define ITransactionVoterNotifyAsync2_VoteRequest(This) (This)->lpVtbl->VoteRequest(This)
  758. #endif
  759. #endif
  760. HRESULT WINAPI ITransactionVoterNotifyAsync2_VoteRequest_Proxy(ITransactionVoterNotifyAsync2 *This);
  761. void __RPC_STUB ITransactionVoterNotifyAsync2_VoteRequest_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  762. #endif
  763. #ifndef __ITransactionVoterFactory2_INTERFACE_DEFINED__
  764. #define __ITransactionVoterFactory2_INTERFACE_DEFINED__
  765. EXTERN_C const IID IID_ITransactionVoterFactory2;
  766. #if defined(__cplusplus) && !defined(CINTERFACE)
  767. struct ITransactionVoterFactory2 : public IUnknown {
  768. public:
  769. virtual HRESULT WINAPI Create(ITransaction *pTransaction,ITransactionVoterNotifyAsync2 *pVoterNotify,ITransactionVoterBallotAsync2 **ppVoterBallot) = 0;
  770. };
  771. #else
  772. typedef struct ITransactionVoterFactory2Vtbl {
  773. BEGIN_INTERFACE
  774. HRESULT (WINAPI *QueryInterface)(ITransactionVoterFactory2 *This,REFIID riid,void **ppvObject);
  775. ULONG (WINAPI *AddRef)(ITransactionVoterFactory2 *This);
  776. ULONG (WINAPI *Release)(ITransactionVoterFactory2 *This);
  777. HRESULT (WINAPI *Create)(ITransactionVoterFactory2 *This,ITransaction *pTransaction,ITransactionVoterNotifyAsync2 *pVoterNotify,ITransactionVoterBallotAsync2 **ppVoterBallot);
  778. END_INTERFACE
  779. } ITransactionVoterFactory2Vtbl;
  780. struct ITransactionVoterFactory2 {
  781. CONST_VTBL struct ITransactionVoterFactory2Vtbl *lpVtbl;
  782. };
  783. #ifdef COBJMACROS
  784. #define ITransactionVoterFactory2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  785. #define ITransactionVoterFactory2_AddRef(This) (This)->lpVtbl->AddRef(This)
  786. #define ITransactionVoterFactory2_Release(This) (This)->lpVtbl->Release(This)
  787. #define ITransactionVoterFactory2_Create(This,pTransaction,pVoterNotify,ppVoterBallot) (This)->lpVtbl->Create(This,pTransaction,pVoterNotify,ppVoterBallot)
  788. #endif
  789. #endif
  790. HRESULT WINAPI ITransactionVoterFactory2_Create_Proxy(ITransactionVoterFactory2 *This,ITransaction *pTransaction,ITransactionVoterNotifyAsync2 *pVoterNotify,ITransactionVoterBallotAsync2 **ppVoterBallot);
  791. void __RPC_STUB ITransactionVoterFactory2_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  792. #endif
  793. #ifndef __ITransactionPhase0EnlistmentAsync_INTERFACE_DEFINED__
  794. #define __ITransactionPhase0EnlistmentAsync_INTERFACE_DEFINED__
  795. EXTERN_C const IID IID_ITransactionPhase0EnlistmentAsync;
  796. #if defined(__cplusplus) && !defined(CINTERFACE)
  797. struct ITransactionPhase0EnlistmentAsync : public IUnknown {
  798. public:
  799. virtual HRESULT WINAPI Enable(void) = 0;
  800. virtual HRESULT WINAPI WaitForEnlistment(void) = 0;
  801. virtual HRESULT WINAPI Phase0Done(void) = 0;
  802. virtual HRESULT WINAPI Unenlist(void) = 0;
  803. virtual HRESULT WINAPI GetTransaction(ITransaction **ppITransaction) = 0;
  804. };
  805. #else
  806. typedef struct ITransactionPhase0EnlistmentAsyncVtbl {
  807. BEGIN_INTERFACE
  808. HRESULT (WINAPI *QueryInterface)(ITransactionPhase0EnlistmentAsync *This,REFIID riid,void **ppvObject);
  809. ULONG (WINAPI *AddRef)(ITransactionPhase0EnlistmentAsync *This);
  810. ULONG (WINAPI *Release)(ITransactionPhase0EnlistmentAsync *This);
  811. HRESULT (WINAPI *Enable)(ITransactionPhase0EnlistmentAsync *This);
  812. HRESULT (WINAPI *WaitForEnlistment)(ITransactionPhase0EnlistmentAsync *This);
  813. HRESULT (WINAPI *Phase0Done)(ITransactionPhase0EnlistmentAsync *This);
  814. HRESULT (WINAPI *Unenlist)(ITransactionPhase0EnlistmentAsync *This);
  815. HRESULT (WINAPI *GetTransaction)(ITransactionPhase0EnlistmentAsync *This,ITransaction **ppITransaction);
  816. END_INTERFACE
  817. } ITransactionPhase0EnlistmentAsyncVtbl;
  818. struct ITransactionPhase0EnlistmentAsync {
  819. CONST_VTBL struct ITransactionPhase0EnlistmentAsyncVtbl *lpVtbl;
  820. };
  821. #ifdef COBJMACROS
  822. #define ITransactionPhase0EnlistmentAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  823. #define ITransactionPhase0EnlistmentAsync_AddRef(This) (This)->lpVtbl->AddRef(This)
  824. #define ITransactionPhase0EnlistmentAsync_Release(This) (This)->lpVtbl->Release(This)
  825. #define ITransactionPhase0EnlistmentAsync_Enable(This) (This)->lpVtbl->Enable(This)
  826. #define ITransactionPhase0EnlistmentAsync_WaitForEnlistment(This) (This)->lpVtbl->WaitForEnlistment(This)
  827. #define ITransactionPhase0EnlistmentAsync_Phase0Done(This) (This)->lpVtbl->Phase0Done(This)
  828. #define ITransactionPhase0EnlistmentAsync_Unenlist(This) (This)->lpVtbl->Unenlist(This)
  829. #define ITransactionPhase0EnlistmentAsync_GetTransaction(This,ppITransaction) (This)->lpVtbl->GetTransaction(This,ppITransaction)
  830. #endif
  831. #endif
  832. HRESULT WINAPI ITransactionPhase0EnlistmentAsync_Enable_Proxy(ITransactionPhase0EnlistmentAsync *This);
  833. void __RPC_STUB ITransactionPhase0EnlistmentAsync_Enable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  834. HRESULT WINAPI ITransactionPhase0EnlistmentAsync_WaitForEnlistment_Proxy(ITransactionPhase0EnlistmentAsync *This);
  835. void __RPC_STUB ITransactionPhase0EnlistmentAsync_WaitForEnlistment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  836. HRESULT WINAPI ITransactionPhase0EnlistmentAsync_Phase0Done_Proxy(ITransactionPhase0EnlistmentAsync *This);
  837. void __RPC_STUB ITransactionPhase0EnlistmentAsync_Phase0Done_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  838. HRESULT WINAPI ITransactionPhase0EnlistmentAsync_Unenlist_Proxy(ITransactionPhase0EnlistmentAsync *This);
  839. void __RPC_STUB ITransactionPhase0EnlistmentAsync_Unenlist_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  840. HRESULT WINAPI ITransactionPhase0EnlistmentAsync_GetTransaction_Proxy(ITransactionPhase0EnlistmentAsync *This,ITransaction **ppITransaction);
  841. void __RPC_STUB ITransactionPhase0EnlistmentAsync_GetTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  842. #endif
  843. #ifndef __ITransactionPhase0NotifyAsync_INTERFACE_DEFINED__
  844. #define __ITransactionPhase0NotifyAsync_INTERFACE_DEFINED__
  845. EXTERN_C const IID IID_ITransactionPhase0NotifyAsync;
  846. #if defined(__cplusplus) && !defined(CINTERFACE)
  847. struct ITransactionPhase0NotifyAsync : public IUnknown {
  848. public:
  849. virtual HRESULT WINAPI Phase0Request(WINBOOL fAbortingHint) = 0;
  850. virtual HRESULT WINAPI EnlistCompleted(HRESULT status) = 0;
  851. };
  852. #else
  853. typedef struct ITransactionPhase0NotifyAsyncVtbl {
  854. BEGIN_INTERFACE
  855. HRESULT (WINAPI *QueryInterface)(ITransactionPhase0NotifyAsync *This,REFIID riid,void **ppvObject);
  856. ULONG (WINAPI *AddRef)(ITransactionPhase0NotifyAsync *This);
  857. ULONG (WINAPI *Release)(ITransactionPhase0NotifyAsync *This);
  858. HRESULT (WINAPI *Phase0Request)(ITransactionPhase0NotifyAsync *This,WINBOOL fAbortingHint);
  859. HRESULT (WINAPI *EnlistCompleted)(ITransactionPhase0NotifyAsync *This,HRESULT status);
  860. END_INTERFACE
  861. } ITransactionPhase0NotifyAsyncVtbl;
  862. struct ITransactionPhase0NotifyAsync {
  863. CONST_VTBL struct ITransactionPhase0NotifyAsyncVtbl *lpVtbl;
  864. };
  865. #ifdef COBJMACROS
  866. #define ITransactionPhase0NotifyAsync_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  867. #define ITransactionPhase0NotifyAsync_AddRef(This) (This)->lpVtbl->AddRef(This)
  868. #define ITransactionPhase0NotifyAsync_Release(This) (This)->lpVtbl->Release(This)
  869. #define ITransactionPhase0NotifyAsync_Phase0Request(This,fAbortingHint) (This)->lpVtbl->Phase0Request(This,fAbortingHint)
  870. #define ITransactionPhase0NotifyAsync_EnlistCompleted(This,status) (This)->lpVtbl->EnlistCompleted(This,status)
  871. #endif
  872. #endif
  873. HRESULT WINAPI ITransactionPhase0NotifyAsync_Phase0Request_Proxy(ITransactionPhase0NotifyAsync *This,WINBOOL fAbortingHint);
  874. void __RPC_STUB ITransactionPhase0NotifyAsync_Phase0Request_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  875. HRESULT WINAPI ITransactionPhase0NotifyAsync_EnlistCompleted_Proxy(ITransactionPhase0NotifyAsync *This,HRESULT status);
  876. void __RPC_STUB ITransactionPhase0NotifyAsync_EnlistCompleted_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  877. #endif
  878. #ifndef __ITransactionPhase0Factory_INTERFACE_DEFINED__
  879. #define __ITransactionPhase0Factory_INTERFACE_DEFINED__
  880. EXTERN_C const IID IID_ITransactionPhase0Factory;
  881. #if defined(__cplusplus) && !defined(CINTERFACE)
  882. struct ITransactionPhase0Factory : public IUnknown {
  883. public:
  884. virtual HRESULT WINAPI Create(ITransactionPhase0NotifyAsync *pPhase0Notify,ITransactionPhase0EnlistmentAsync **ppPhase0Enlistment) = 0;
  885. };
  886. #else
  887. typedef struct ITransactionPhase0FactoryVtbl {
  888. BEGIN_INTERFACE
  889. HRESULT (WINAPI *QueryInterface)(ITransactionPhase0Factory *This,REFIID riid,void **ppvObject);
  890. ULONG (WINAPI *AddRef)(ITransactionPhase0Factory *This);
  891. ULONG (WINAPI *Release)(ITransactionPhase0Factory *This);
  892. HRESULT (WINAPI *Create)(ITransactionPhase0Factory *This,ITransactionPhase0NotifyAsync *pPhase0Notify,ITransactionPhase0EnlistmentAsync **ppPhase0Enlistment);
  893. END_INTERFACE
  894. } ITransactionPhase0FactoryVtbl;
  895. struct ITransactionPhase0Factory {
  896. CONST_VTBL struct ITransactionPhase0FactoryVtbl *lpVtbl;
  897. };
  898. #ifdef COBJMACROS
  899. #define ITransactionPhase0Factory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  900. #define ITransactionPhase0Factory_AddRef(This) (This)->lpVtbl->AddRef(This)
  901. #define ITransactionPhase0Factory_Release(This) (This)->lpVtbl->Release(This)
  902. #define ITransactionPhase0Factory_Create(This,pPhase0Notify,ppPhase0Enlistment) (This)->lpVtbl->Create(This,pPhase0Notify,ppPhase0Enlistment)
  903. #endif
  904. #endif
  905. HRESULT WINAPI ITransactionPhase0Factory_Create_Proxy(ITransactionPhase0Factory *This,ITransactionPhase0NotifyAsync *pPhase0Notify,ITransactionPhase0EnlistmentAsync **ppPhase0Enlistment);
  906. void __RPC_STUB ITransactionPhase0Factory_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  907. #endif
  908. #ifndef __ITransactionTransmitter_INTERFACE_DEFINED__
  909. #define __ITransactionTransmitter_INTERFACE_DEFINED__
  910. EXTERN_C const IID IID_ITransactionTransmitter;
  911. #if defined(__cplusplus) && !defined(CINTERFACE)
  912. struct ITransactionTransmitter : public IUnknown {
  913. public:
  914. virtual HRESULT WINAPI Set(ITransaction *pTransaction) = 0;
  915. virtual HRESULT WINAPI GetPropagationTokenSize(ULONG *pcbToken) = 0;
  916. virtual HRESULT WINAPI MarshalPropagationToken(ULONG cbToken,byte *rgbToken,ULONG *pcbUsed) = 0;
  917. virtual HRESULT WINAPI UnmarshalReturnToken(ULONG cbReturnToken,byte *rgbReturnToken) = 0;
  918. virtual HRESULT WINAPI Reset(void) = 0;
  919. };
  920. #else
  921. typedef struct ITransactionTransmitterVtbl {
  922. BEGIN_INTERFACE
  923. HRESULT (WINAPI *QueryInterface)(ITransactionTransmitter *This,REFIID riid,void **ppvObject);
  924. ULONG (WINAPI *AddRef)(ITransactionTransmitter *This);
  925. ULONG (WINAPI *Release)(ITransactionTransmitter *This);
  926. HRESULT (WINAPI *Set)(ITransactionTransmitter *This,ITransaction *pTransaction);
  927. HRESULT (WINAPI *GetPropagationTokenSize)(ITransactionTransmitter *This,ULONG *pcbToken);
  928. HRESULT (WINAPI *MarshalPropagationToken)(ITransactionTransmitter *This,ULONG cbToken,byte *rgbToken,ULONG *pcbUsed);
  929. HRESULT (WINAPI *UnmarshalReturnToken)(ITransactionTransmitter *This,ULONG cbReturnToken,byte *rgbReturnToken);
  930. HRESULT (WINAPI *Reset)(ITransactionTransmitter *This);
  931. END_INTERFACE
  932. } ITransactionTransmitterVtbl;
  933. struct ITransactionTransmitter {
  934. CONST_VTBL struct ITransactionTransmitterVtbl *lpVtbl;
  935. };
  936. #ifdef COBJMACROS
  937. #define ITransactionTransmitter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  938. #define ITransactionTransmitter_AddRef(This) (This)->lpVtbl->AddRef(This)
  939. #define ITransactionTransmitter_Release(This) (This)->lpVtbl->Release(This)
  940. #define ITransactionTransmitter_Set(This,pTransaction) (This)->lpVtbl->Set(This,pTransaction)
  941. #define ITransactionTransmitter_GetPropagationTokenSize(This,pcbToken) (This)->lpVtbl->GetPropagationTokenSize(This,pcbToken)
  942. #define ITransactionTransmitter_MarshalPropagationToken(This,cbToken,rgbToken,pcbUsed) (This)->lpVtbl->MarshalPropagationToken(This,cbToken,rgbToken,pcbUsed)
  943. #define ITransactionTransmitter_UnmarshalReturnToken(This,cbReturnToken,rgbReturnToken) (This)->lpVtbl->UnmarshalReturnToken(This,cbReturnToken,rgbReturnToken)
  944. #define ITransactionTransmitter_Reset(This) (This)->lpVtbl->Reset(This)
  945. #endif
  946. #endif
  947. HRESULT WINAPI ITransactionTransmitter_Set_Proxy(ITransactionTransmitter *This,ITransaction *pTransaction);
  948. void __RPC_STUB ITransactionTransmitter_Set_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  949. HRESULT WINAPI ITransactionTransmitter_GetPropagationTokenSize_Proxy(ITransactionTransmitter *This,ULONG *pcbToken);
  950. void __RPC_STUB ITransactionTransmitter_GetPropagationTokenSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  951. HRESULT WINAPI ITransactionTransmitter_MarshalPropagationToken_Proxy(ITransactionTransmitter *This,ULONG cbToken,byte *rgbToken,ULONG *pcbUsed);
  952. void __RPC_STUB ITransactionTransmitter_MarshalPropagationToken_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  953. HRESULT WINAPI ITransactionTransmitter_UnmarshalReturnToken_Proxy(ITransactionTransmitter *This,ULONG cbReturnToken,byte *rgbReturnToken);
  954. void __RPC_STUB ITransactionTransmitter_UnmarshalReturnToken_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  955. HRESULT WINAPI ITransactionTransmitter_Reset_Proxy(ITransactionTransmitter *This);
  956. void __RPC_STUB ITransactionTransmitter_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  957. #endif
  958. #ifndef __ITransactionTransmitterFactory_INTERFACE_DEFINED__
  959. #define __ITransactionTransmitterFactory_INTERFACE_DEFINED__
  960. EXTERN_C const IID IID_ITransactionTransmitterFactory;
  961. #if defined(__cplusplus) && !defined(CINTERFACE)
  962. struct ITransactionTransmitterFactory : public IUnknown {
  963. public:
  964. virtual HRESULT WINAPI Create(ITransactionTransmitter **ppTransmitter) = 0;
  965. };
  966. #else
  967. typedef struct ITransactionTransmitterFactoryVtbl {
  968. BEGIN_INTERFACE
  969. HRESULT (WINAPI *QueryInterface)(ITransactionTransmitterFactory *This,REFIID riid,void **ppvObject);
  970. ULONG (WINAPI *AddRef)(ITransactionTransmitterFactory *This);
  971. ULONG (WINAPI *Release)(ITransactionTransmitterFactory *This);
  972. HRESULT (WINAPI *Create)(ITransactionTransmitterFactory *This,ITransactionTransmitter **ppTransmitter);
  973. END_INTERFACE
  974. } ITransactionTransmitterFactoryVtbl;
  975. struct ITransactionTransmitterFactory {
  976. CONST_VTBL struct ITransactionTransmitterFactoryVtbl *lpVtbl;
  977. };
  978. #ifdef COBJMACROS
  979. #define ITransactionTransmitterFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  980. #define ITransactionTransmitterFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  981. #define ITransactionTransmitterFactory_Release(This) (This)->lpVtbl->Release(This)
  982. #define ITransactionTransmitterFactory_Create(This,ppTransmitter) (This)->lpVtbl->Create(This,ppTransmitter)
  983. #endif
  984. #endif
  985. HRESULT WINAPI ITransactionTransmitterFactory_Create_Proxy(ITransactionTransmitterFactory *This,ITransactionTransmitter **ppTransmitter);
  986. void __RPC_STUB ITransactionTransmitterFactory_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  987. #endif
  988. #ifndef __ITransactionReceiver_INTERFACE_DEFINED__
  989. #define __ITransactionReceiver_INTERFACE_DEFINED__
  990. EXTERN_C const IID IID_ITransactionReceiver;
  991. #if defined(__cplusplus) && !defined(CINTERFACE)
  992. struct ITransactionReceiver : public IUnknown {
  993. public:
  994. virtual HRESULT WINAPI UnmarshalPropagationToken(ULONG cbToken,byte *rgbToken,ITransaction **ppTransaction) = 0;
  995. virtual HRESULT WINAPI GetReturnTokenSize(ULONG *pcbReturnToken) = 0;
  996. virtual HRESULT WINAPI MarshalReturnToken(ULONG cbReturnToken,byte *rgbReturnToken,ULONG *pcbUsed) = 0;
  997. virtual HRESULT WINAPI Reset(void) = 0;
  998. };
  999. #else
  1000. typedef struct ITransactionReceiverVtbl {
  1001. BEGIN_INTERFACE
  1002. HRESULT (WINAPI *QueryInterface)(ITransactionReceiver *This,REFIID riid,void **ppvObject);
  1003. ULONG (WINAPI *AddRef)(ITransactionReceiver *This);
  1004. ULONG (WINAPI *Release)(ITransactionReceiver *This);
  1005. HRESULT (WINAPI *UnmarshalPropagationToken)(ITransactionReceiver *This,ULONG cbToken,byte *rgbToken,ITransaction **ppTransaction);
  1006. HRESULT (WINAPI *GetReturnTokenSize)(ITransactionReceiver *This,ULONG *pcbReturnToken);
  1007. HRESULT (WINAPI *MarshalReturnToken)(ITransactionReceiver *This,ULONG cbReturnToken,byte *rgbReturnToken,ULONG *pcbUsed);
  1008. HRESULT (WINAPI *Reset)(ITransactionReceiver *This);
  1009. END_INTERFACE
  1010. } ITransactionReceiverVtbl;
  1011. struct ITransactionReceiver {
  1012. CONST_VTBL struct ITransactionReceiverVtbl *lpVtbl;
  1013. };
  1014. #ifdef COBJMACROS
  1015. #define ITransactionReceiver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1016. #define ITransactionReceiver_AddRef(This) (This)->lpVtbl->AddRef(This)
  1017. #define ITransactionReceiver_Release(This) (This)->lpVtbl->Release(This)
  1018. #define ITransactionReceiver_UnmarshalPropagationToken(This,cbToken,rgbToken,ppTransaction) (This)->lpVtbl->UnmarshalPropagationToken(This,cbToken,rgbToken,ppTransaction)
  1019. #define ITransactionReceiver_GetReturnTokenSize(This,pcbReturnToken) (This)->lpVtbl->GetReturnTokenSize(This,pcbReturnToken)
  1020. #define ITransactionReceiver_MarshalReturnToken(This,cbReturnToken,rgbReturnToken,pcbUsed) (This)->lpVtbl->MarshalReturnToken(This,cbReturnToken,rgbReturnToken,pcbUsed)
  1021. #define ITransactionReceiver_Reset(This) (This)->lpVtbl->Reset(This)
  1022. #endif
  1023. #endif
  1024. HRESULT WINAPI ITransactionReceiver_UnmarshalPropagationToken_Proxy(ITransactionReceiver *This,ULONG cbToken,byte *rgbToken,ITransaction **ppTransaction);
  1025. void __RPC_STUB ITransactionReceiver_UnmarshalPropagationToken_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1026. HRESULT WINAPI ITransactionReceiver_GetReturnTokenSize_Proxy(ITransactionReceiver *This,ULONG *pcbReturnToken);
  1027. void __RPC_STUB ITransactionReceiver_GetReturnTokenSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1028. HRESULT WINAPI ITransactionReceiver_MarshalReturnToken_Proxy(ITransactionReceiver *This,ULONG cbReturnToken,byte *rgbReturnToken,ULONG *pcbUsed);
  1029. void __RPC_STUB ITransactionReceiver_MarshalReturnToken_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1030. HRESULT WINAPI ITransactionReceiver_Reset_Proxy(ITransactionReceiver *This);
  1031. void __RPC_STUB ITransactionReceiver_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1032. #endif
  1033. #ifndef __ITransactionReceiverFactory_INTERFACE_DEFINED__
  1034. #define __ITransactionReceiverFactory_INTERFACE_DEFINED__
  1035. EXTERN_C const IID IID_ITransactionReceiverFactory;
  1036. #if defined(__cplusplus) && !defined(CINTERFACE)
  1037. struct ITransactionReceiverFactory : public IUnknown {
  1038. public:
  1039. virtual HRESULT WINAPI Create(ITransactionReceiver **ppReceiver) = 0;
  1040. };
  1041. #else
  1042. typedef struct ITransactionReceiverFactoryVtbl {
  1043. BEGIN_INTERFACE
  1044. HRESULT (WINAPI *QueryInterface)(ITransactionReceiverFactory *This,REFIID riid,void **ppvObject);
  1045. ULONG (WINAPI *AddRef)(ITransactionReceiverFactory *This);
  1046. ULONG (WINAPI *Release)(ITransactionReceiverFactory *This);
  1047. HRESULT (WINAPI *Create)(ITransactionReceiverFactory *This,ITransactionReceiver **ppReceiver);
  1048. END_INTERFACE
  1049. } ITransactionReceiverFactoryVtbl;
  1050. struct ITransactionReceiverFactory {
  1051. CONST_VTBL struct ITransactionReceiverFactoryVtbl *lpVtbl;
  1052. };
  1053. #ifdef COBJMACROS
  1054. #define ITransactionReceiverFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1055. #define ITransactionReceiverFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  1056. #define ITransactionReceiverFactory_Release(This) (This)->lpVtbl->Release(This)
  1057. #define ITransactionReceiverFactory_Create(This,ppReceiver) (This)->lpVtbl->Create(This,ppReceiver)
  1058. #endif
  1059. #endif
  1060. HRESULT WINAPI ITransactionReceiverFactory_Create_Proxy(ITransactionReceiverFactory *This,ITransactionReceiver **ppReceiver);
  1061. void __RPC_STUB ITransactionReceiverFactory_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1062. #endif
  1063. typedef struct _ProxyConfigParams {
  1064. WORD wcThreadsMax;
  1065. } PROXY_CONFIG_PARAMS;
  1066. extern RPC_IF_HANDLE __MIDL_itf_txdtc_0141_v0_0_c_ifspec;
  1067. extern RPC_IF_HANDLE __MIDL_itf_txdtc_0141_v0_0_s_ifspec;
  1068. #ifndef __IDtcLuConfigure_INTERFACE_DEFINED__
  1069. #define __IDtcLuConfigure_INTERFACE_DEFINED__
  1070. EXTERN_C const IID IID_IDtcLuConfigure;
  1071. #if defined(__cplusplus) && !defined(CINTERFACE)
  1072. struct IDtcLuConfigure : public IUnknown {
  1073. public:
  1074. virtual HRESULT WINAPI Add(byte *pucLuPair,DWORD cbLuPair) = 0;
  1075. virtual HRESULT WINAPI Delete(byte *pucLuPair,DWORD cbLuPair) = 0;
  1076. };
  1077. #else
  1078. typedef struct IDtcLuConfigureVtbl {
  1079. BEGIN_INTERFACE
  1080. HRESULT (WINAPI *QueryInterface)(IDtcLuConfigure *This,REFIID riid,void **ppvObject);
  1081. ULONG (WINAPI *AddRef)(IDtcLuConfigure *This);
  1082. ULONG (WINAPI *Release)(IDtcLuConfigure *This);
  1083. HRESULT (WINAPI *Add)(IDtcLuConfigure *This,byte *pucLuPair,DWORD cbLuPair);
  1084. HRESULT (WINAPI *Delete)(IDtcLuConfigure *This,byte *pucLuPair,DWORD cbLuPair);
  1085. END_INTERFACE
  1086. } IDtcLuConfigureVtbl;
  1087. struct IDtcLuConfigure {
  1088. CONST_VTBL struct IDtcLuConfigureVtbl *lpVtbl;
  1089. };
  1090. #ifdef COBJMACROS
  1091. #define IDtcLuConfigure_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1092. #define IDtcLuConfigure_AddRef(This) (This)->lpVtbl->AddRef(This)
  1093. #define IDtcLuConfigure_Release(This) (This)->lpVtbl->Release(This)
  1094. #define IDtcLuConfigure_Add(This,pucLuPair,cbLuPair) (This)->lpVtbl->Add(This,pucLuPair,cbLuPair)
  1095. #define IDtcLuConfigure_Delete(This,pucLuPair,cbLuPair) (This)->lpVtbl->Delete(This,pucLuPair,cbLuPair)
  1096. #endif
  1097. #endif
  1098. HRESULT WINAPI IDtcLuConfigure_Add_Proxy(IDtcLuConfigure *This,byte *pucLuPair,DWORD cbLuPair);
  1099. void __RPC_STUB IDtcLuConfigure_Add_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1100. HRESULT WINAPI IDtcLuConfigure_Delete_Proxy(IDtcLuConfigure *This,byte *pucLuPair,DWORD cbLuPair);
  1101. void __RPC_STUB IDtcLuConfigure_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1102. #endif
  1103. #ifndef __IDtcLuRecovery_INTERFACE_DEFINED__
  1104. #define __IDtcLuRecovery_INTERFACE_DEFINED__
  1105. EXTERN_C const IID IID_IDtcLuRecovery;
  1106. #if defined(__cplusplus) && !defined(CINTERFACE)
  1107. struct IDtcLuRecovery : public IUnknown {
  1108. };
  1109. #else
  1110. typedef struct IDtcLuRecoveryVtbl {
  1111. BEGIN_INTERFACE
  1112. HRESULT (WINAPI *QueryInterface)(IDtcLuRecovery *This,REFIID riid,void **ppvObject);
  1113. ULONG (WINAPI *AddRef)(IDtcLuRecovery *This);
  1114. ULONG (WINAPI *Release)(IDtcLuRecovery *This);
  1115. END_INTERFACE
  1116. } IDtcLuRecoveryVtbl;
  1117. struct IDtcLuRecovery {
  1118. CONST_VTBL struct IDtcLuRecoveryVtbl *lpVtbl;
  1119. };
  1120. #ifdef COBJMACROS
  1121. #define IDtcLuRecovery_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1122. #define IDtcLuRecovery_AddRef(This) (This)->lpVtbl->AddRef(This)
  1123. #define IDtcLuRecovery_Release(This) (This)->lpVtbl->Release(This)
  1124. #endif
  1125. #endif
  1126. #endif
  1127. #ifndef __IDtcLuRecoveryFactory_INTERFACE_DEFINED__
  1128. #define __IDtcLuRecoveryFactory_INTERFACE_DEFINED__
  1129. EXTERN_C const IID IID_IDtcLuRecoveryFactory;
  1130. #if defined(__cplusplus) && !defined(CINTERFACE)
  1131. struct IDtcLuRecoveryFactory : public IUnknown {
  1132. public:
  1133. virtual HRESULT WINAPI Create(byte *pucLuPair,DWORD cbLuPair,IDtcLuRecovery **ppRecovery) = 0;
  1134. };
  1135. #else
  1136. typedef struct IDtcLuRecoveryFactoryVtbl {
  1137. BEGIN_INTERFACE
  1138. HRESULT (WINAPI *QueryInterface)(IDtcLuRecoveryFactory *This,REFIID riid,void **ppvObject);
  1139. ULONG (WINAPI *AddRef)(IDtcLuRecoveryFactory *This);
  1140. ULONG (WINAPI *Release)(IDtcLuRecoveryFactory *This);
  1141. HRESULT (WINAPI *Create)(IDtcLuRecoveryFactory *This,byte *pucLuPair,DWORD cbLuPair,IDtcLuRecovery **ppRecovery);
  1142. END_INTERFACE
  1143. } IDtcLuRecoveryFactoryVtbl;
  1144. struct IDtcLuRecoveryFactory {
  1145. CONST_VTBL struct IDtcLuRecoveryFactoryVtbl *lpVtbl;
  1146. };
  1147. #ifdef COBJMACROS
  1148. #define IDtcLuRecoveryFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1149. #define IDtcLuRecoveryFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  1150. #define IDtcLuRecoveryFactory_Release(This) (This)->lpVtbl->Release(This)
  1151. #define IDtcLuRecoveryFactory_Create(This,pucLuPair,cbLuPair,ppRecovery) (This)->lpVtbl->Create(This,pucLuPair,cbLuPair,ppRecovery)
  1152. #endif
  1153. #endif
  1154. HRESULT WINAPI IDtcLuRecoveryFactory_Create_Proxy(IDtcLuRecoveryFactory *This,byte *pucLuPair,DWORD cbLuPair,IDtcLuRecovery **ppRecovery);
  1155. void __RPC_STUB IDtcLuRecoveryFactory_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1156. #endif
  1157. typedef enum _DtcLu_LocalRecovery_Work {
  1158. DTCINITIATEDRECOVERYWORK_CHECKLUSTATUS = 1,
  1159. DTCINITIATEDRECOVERYWORK_TRANS,DTCINITIATEDRECOVERYWORK_TMDOWN
  1160. } DTCINITIATEDRECOVERYWORK;
  1161. typedef enum _DtcLu_Xln {
  1162. DTCLUXLN_COLD = 1,DTCLUXLN_WARM
  1163. } DTCLUXLN;
  1164. typedef enum _DtcLu_Xln_Confirmation {
  1165. DTCLUXLNCONFIRMATION_CONFIRM = 1,
  1166. DTCLUXLNCONFIRMATION_LOGNAMEMISMATCH,DTCLUXLNCONFIRMATION_COLDWARMMISMATCH,
  1167. DTCLUXLNCONFIRMATION_OBSOLETE
  1168. } DTCLUXLNCONFIRMATION;
  1169. typedef enum _DtcLu_Xln_Response {
  1170. DTCLUXLNRESPONSE_OK_SENDOURXLNBACK = 1,
  1171. DTCLUXLNRESPONSE_OK_SENDCONFIRMATION,DTCLUXLNRESPONSE_LOGNAMEMISMATCH,
  1172. DTCLUXLNRESPONSE_COLDWARMMISMATCH
  1173. } DTCLUXLNRESPONSE;
  1174. typedef enum _DtcLu_Xln_Error {
  1175. DTCLUXLNERROR_PROTOCOL = 1,
  1176. DTCLUXLNERROR_LOGNAMEMISMATCH,DTCLUXLNERROR_COLDWARMMISMATCH
  1177. } DTCLUXLNERROR;
  1178. typedef enum _DtcLu_CompareState {
  1179. DTCLUCOMPARESTATE_COMMITTED = 1,
  1180. DTCLUCOMPARESTATE_HEURISTICCOMMITTED,DTCLUCOMPARESTATE_HEURISTICMIXED,
  1181. DTCLUCOMPARESTATE_HEURISTICRESET,DTCLUCOMPARESTATE_INDOUBT,DTCLUCOMPARESTATE_RESET
  1182. } DTCLUCOMPARESTATE;
  1183. typedef enum _DtcLu_CompareStates_Confirmation {
  1184. DTCLUCOMPARESTATESCONFIRMATION_CONFIRM = 1,
  1185. DTCLUCOMPARESTATESCONFIRMATION_PROTOCOL
  1186. } DTCLUCOMPARESTATESCONFIRMATION;
  1187. typedef enum _DtcLu_CompareStates_Error {
  1188. DTCLUCOMPARESTATESERROR_PROTOCOL = 1
  1189. } DTCLUCOMPARESTATESERROR;
  1190. typedef enum _DtcLu_CompareStates_Response {
  1191. DTCLUCOMPARESTATESRESPONSE_OK = 1,
  1192. DTCLUCOMPARESTATESRESPONSE_PROTOCOL
  1193. } DTCLUCOMPARESTATESRESPONSE;
  1194. extern RPC_IF_HANDLE __MIDL_itf_txdtc_0144_v0_0_c_ifspec;
  1195. extern RPC_IF_HANDLE __MIDL_itf_txdtc_0144_v0_0_s_ifspec;
  1196. #ifndef __IDtcLuRecoveryInitiatedByDtcTransWork_INTERFACE_DEFINED__
  1197. #define __IDtcLuRecoveryInitiatedByDtcTransWork_INTERFACE_DEFINED__
  1198. EXTERN_C const IID IID_IDtcLuRecoveryInitiatedByDtcTransWork;
  1199. #if defined(__cplusplus) && !defined(CINTERFACE)
  1200. struct IDtcLuRecoveryInitiatedByDtcTransWork : public IUnknown {
  1201. public:
  1202. virtual HRESULT WINAPI GetLogNameSizes(DWORD *pcbOurLogName,DWORD *pcbRemoteLogName) = 0;
  1203. virtual HRESULT WINAPI GetOurXln(DTCLUXLN *pXln,unsigned char *pOurLogName,unsigned char *pRemoteLogName,DWORD *pdwProtocol) = 0;
  1204. virtual HRESULT WINAPI HandleConfirmationFromOurXln(DTCLUXLNCONFIRMATION Confirmation) = 0;
  1205. virtual HRESULT WINAPI HandleTheirXlnResponse(DTCLUXLN Xln,unsigned char *pRemoteLogName,DWORD cbRemoteLogName,DWORD dwProtocol,DTCLUXLNCONFIRMATION *pConfirmation) = 0;
  1206. virtual HRESULT WINAPI HandleErrorFromOurXln(DTCLUXLNERROR Error) = 0;
  1207. virtual HRESULT WINAPI CheckForCompareStates(WINBOOL *fCompareStates) = 0;
  1208. virtual HRESULT WINAPI GetOurTransIdSize(DWORD *pcbOurTransId) = 0;
  1209. virtual HRESULT WINAPI GetOurCompareStates(unsigned char *pOurTransId,DTCLUCOMPARESTATE *pCompareState) = 0;
  1210. virtual HRESULT WINAPI HandleTheirCompareStatesResponse(DTCLUCOMPARESTATE CompareState,DTCLUCOMPARESTATESCONFIRMATION *pConfirmation) = 0;
  1211. virtual HRESULT WINAPI HandleErrorFromOurCompareStates(DTCLUCOMPARESTATESERROR Error) = 0;
  1212. virtual HRESULT WINAPI ConversationLost(void) = 0;
  1213. virtual HRESULT WINAPI GetRecoverySeqNum(LONG *plRecoverySeqNum) = 0;
  1214. virtual HRESULT WINAPI ObsoleteRecoverySeqNum(LONG lNewRecoverySeqNum) = 0;
  1215. };
  1216. #else
  1217. typedef struct IDtcLuRecoveryInitiatedByDtcTransWorkVtbl {
  1218. BEGIN_INTERFACE
  1219. HRESULT (WINAPI *QueryInterface)(IDtcLuRecoveryInitiatedByDtcTransWork *This,REFIID riid,void **ppvObject);
  1220. ULONG (WINAPI *AddRef)(IDtcLuRecoveryInitiatedByDtcTransWork *This);
  1221. ULONG (WINAPI *Release)(IDtcLuRecoveryInitiatedByDtcTransWork *This);
  1222. HRESULT (WINAPI *GetLogNameSizes)(IDtcLuRecoveryInitiatedByDtcTransWork *This,DWORD *pcbOurLogName,DWORD *pcbRemoteLogName);
  1223. HRESULT (WINAPI *GetOurXln)(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUXLN *pXln,unsigned char *pOurLogName,unsigned char *pRemoteLogName,DWORD *pdwProtocol);
  1224. HRESULT (WINAPI *HandleConfirmationFromOurXln)(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUXLNCONFIRMATION Confirmation);
  1225. HRESULT (WINAPI *HandleTheirXlnResponse)(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUXLN Xln,unsigned char *pRemoteLogName,DWORD cbRemoteLogName,DWORD dwProtocol,DTCLUXLNCONFIRMATION *pConfirmation);
  1226. HRESULT (WINAPI *HandleErrorFromOurXln)(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUXLNERROR Error);
  1227. HRESULT (WINAPI *CheckForCompareStates)(IDtcLuRecoveryInitiatedByDtcTransWork *This,WINBOOL *fCompareStates);
  1228. HRESULT (WINAPI *GetOurTransIdSize)(IDtcLuRecoveryInitiatedByDtcTransWork *This,DWORD *pcbOurTransId);
  1229. HRESULT (WINAPI *GetOurCompareStates)(IDtcLuRecoveryInitiatedByDtcTransWork *This,unsigned char *pOurTransId,DTCLUCOMPARESTATE *pCompareState);
  1230. HRESULT (WINAPI *HandleTheirCompareStatesResponse)(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUCOMPARESTATE CompareState,DTCLUCOMPARESTATESCONFIRMATION *pConfirmation);
  1231. HRESULT (WINAPI *HandleErrorFromOurCompareStates)(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUCOMPARESTATESERROR Error);
  1232. HRESULT (WINAPI *ConversationLost)(IDtcLuRecoveryInitiatedByDtcTransWork *This);
  1233. HRESULT (WINAPI *GetRecoverySeqNum)(IDtcLuRecoveryInitiatedByDtcTransWork *This,LONG *plRecoverySeqNum);
  1234. HRESULT (WINAPI *ObsoleteRecoverySeqNum)(IDtcLuRecoveryInitiatedByDtcTransWork *This,LONG lNewRecoverySeqNum);
  1235. END_INTERFACE
  1236. } IDtcLuRecoveryInitiatedByDtcTransWorkVtbl;
  1237. struct IDtcLuRecoveryInitiatedByDtcTransWork {
  1238. CONST_VTBL struct IDtcLuRecoveryInitiatedByDtcTransWorkVtbl *lpVtbl;
  1239. };
  1240. #ifdef COBJMACROS
  1241. #define IDtcLuRecoveryInitiatedByDtcTransWork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1242. #define IDtcLuRecoveryInitiatedByDtcTransWork_AddRef(This) (This)->lpVtbl->AddRef(This)
  1243. #define IDtcLuRecoveryInitiatedByDtcTransWork_Release(This) (This)->lpVtbl->Release(This)
  1244. #define IDtcLuRecoveryInitiatedByDtcTransWork_GetLogNameSizes(This,pcbOurLogName,pcbRemoteLogName) (This)->lpVtbl->GetLogNameSizes(This,pcbOurLogName,pcbRemoteLogName)
  1245. #define IDtcLuRecoveryInitiatedByDtcTransWork_GetOurXln(This,pXln,pOurLogName,pRemoteLogName,pdwProtocol) (This)->lpVtbl->GetOurXln(This,pXln,pOurLogName,pRemoteLogName,pdwProtocol)
  1246. #define IDtcLuRecoveryInitiatedByDtcTransWork_HandleConfirmationFromOurXln(This,Confirmation) (This)->lpVtbl->HandleConfirmationFromOurXln(This,Confirmation)
  1247. #define IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirXlnResponse(This,Xln,pRemoteLogName,cbRemoteLogName,dwProtocol,pConfirmation) (This)->lpVtbl->HandleTheirXlnResponse(This,Xln,pRemoteLogName,cbRemoteLogName,dwProtocol,pConfirmation)
  1248. #define IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurXln(This,Error) (This)->lpVtbl->HandleErrorFromOurXln(This,Error)
  1249. #define IDtcLuRecoveryInitiatedByDtcTransWork_CheckForCompareStates(This,fCompareStates) (This)->lpVtbl->CheckForCompareStates(This,fCompareStates)
  1250. #define IDtcLuRecoveryInitiatedByDtcTransWork_GetOurTransIdSize(This,pcbOurTransId) (This)->lpVtbl->GetOurTransIdSize(This,pcbOurTransId)
  1251. #define IDtcLuRecoveryInitiatedByDtcTransWork_GetOurCompareStates(This,pOurTransId,pCompareState) (This)->lpVtbl->GetOurCompareStates(This,pOurTransId,pCompareState)
  1252. #define IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirCompareStatesResponse(This,CompareState,pConfirmation) (This)->lpVtbl->HandleTheirCompareStatesResponse(This,CompareState,pConfirmation)
  1253. #define IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurCompareStates(This,Error) (This)->lpVtbl->HandleErrorFromOurCompareStates(This,Error)
  1254. #define IDtcLuRecoveryInitiatedByDtcTransWork_ConversationLost(This) (This)->lpVtbl->ConversationLost(This)
  1255. #define IDtcLuRecoveryInitiatedByDtcTransWork_GetRecoverySeqNum(This,plRecoverySeqNum) (This)->lpVtbl->GetRecoverySeqNum(This,plRecoverySeqNum)
  1256. #define IDtcLuRecoveryInitiatedByDtcTransWork_ObsoleteRecoverySeqNum(This,lNewRecoverySeqNum) (This)->lpVtbl->ObsoleteRecoverySeqNum(This,lNewRecoverySeqNum)
  1257. #endif
  1258. #endif
  1259. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_GetLogNameSizes_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,DWORD *pcbOurLogName,DWORD *pcbRemoteLogName);
  1260. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_GetLogNameSizes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1261. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_GetOurXln_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUXLN *pXln,unsigned char *pOurLogName,unsigned char *pRemoteLogName,DWORD *pdwProtocol);
  1262. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_GetOurXln_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1263. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_HandleConfirmationFromOurXln_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUXLNCONFIRMATION Confirmation);
  1264. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_HandleConfirmationFromOurXln_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1265. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirXlnResponse_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUXLN Xln,unsigned char *pRemoteLogName,DWORD cbRemoteLogName,DWORD dwProtocol,DTCLUXLNCONFIRMATION *pConfirmation);
  1266. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirXlnResponse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1267. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurXln_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUXLNERROR Error);
  1268. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurXln_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1269. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_CheckForCompareStates_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,WINBOOL *fCompareStates);
  1270. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_CheckForCompareStates_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1271. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_GetOurTransIdSize_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,DWORD *pcbOurTransId);
  1272. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_GetOurTransIdSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1273. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_GetOurCompareStates_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,unsigned char *pOurTransId,DTCLUCOMPARESTATE *pCompareState);
  1274. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_GetOurCompareStates_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1275. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirCompareStatesResponse_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUCOMPARESTATE CompareState,DTCLUCOMPARESTATESCONFIRMATION *pConfirmation);
  1276. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_HandleTheirCompareStatesResponse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1277. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurCompareStates_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,DTCLUCOMPARESTATESERROR Error);
  1278. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_HandleErrorFromOurCompareStates_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1279. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_ConversationLost_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This);
  1280. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_ConversationLost_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1281. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_GetRecoverySeqNum_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,LONG *plRecoverySeqNum);
  1282. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_GetRecoverySeqNum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1283. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcTransWork_ObsoleteRecoverySeqNum_Proxy(IDtcLuRecoveryInitiatedByDtcTransWork *This,LONG lNewRecoverySeqNum);
  1284. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcTransWork_ObsoleteRecoverySeqNum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1285. #endif
  1286. #ifndef __IDtcLuRecoveryInitiatedByDtcStatusWork_INTERFACE_DEFINED__
  1287. #define __IDtcLuRecoveryInitiatedByDtcStatusWork_INTERFACE_DEFINED__
  1288. EXTERN_C const IID IID_IDtcLuRecoveryInitiatedByDtcStatusWork;
  1289. #if defined(__cplusplus) && !defined(CINTERFACE)
  1290. struct IDtcLuRecoveryInitiatedByDtcStatusWork : public IUnknown {
  1291. public:
  1292. virtual HRESULT WINAPI HandleCheckLuStatus(LONG lRecoverySeqNum) = 0;
  1293. };
  1294. #else
  1295. typedef struct IDtcLuRecoveryInitiatedByDtcStatusWorkVtbl {
  1296. BEGIN_INTERFACE
  1297. HRESULT (WINAPI *QueryInterface)(IDtcLuRecoveryInitiatedByDtcStatusWork *This,REFIID riid,void **ppvObject);
  1298. ULONG (WINAPI *AddRef)(IDtcLuRecoveryInitiatedByDtcStatusWork *This);
  1299. ULONG (WINAPI *Release)(IDtcLuRecoveryInitiatedByDtcStatusWork *This);
  1300. HRESULT (WINAPI *HandleCheckLuStatus)(IDtcLuRecoveryInitiatedByDtcStatusWork *This,LONG lRecoverySeqNum);
  1301. END_INTERFACE
  1302. } IDtcLuRecoveryInitiatedByDtcStatusWorkVtbl;
  1303. struct IDtcLuRecoveryInitiatedByDtcStatusWork {
  1304. CONST_VTBL struct IDtcLuRecoveryInitiatedByDtcStatusWorkVtbl *lpVtbl;
  1305. };
  1306. #ifdef COBJMACROS
  1307. #define IDtcLuRecoveryInitiatedByDtcStatusWork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1308. #define IDtcLuRecoveryInitiatedByDtcStatusWork_AddRef(This) (This)->lpVtbl->AddRef(This)
  1309. #define IDtcLuRecoveryInitiatedByDtcStatusWork_Release(This) (This)->lpVtbl->Release(This)
  1310. #define IDtcLuRecoveryInitiatedByDtcStatusWork_HandleCheckLuStatus(This,lRecoverySeqNum) (This)->lpVtbl->HandleCheckLuStatus(This,lRecoverySeqNum)
  1311. #endif
  1312. #endif
  1313. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtcStatusWork_HandleCheckLuStatus_Proxy(IDtcLuRecoveryInitiatedByDtcStatusWork *This,LONG lRecoverySeqNum);
  1314. void __RPC_STUB IDtcLuRecoveryInitiatedByDtcStatusWork_HandleCheckLuStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1315. #endif
  1316. #ifndef __IDtcLuRecoveryInitiatedByDtc_INTERFACE_DEFINED__
  1317. #define __IDtcLuRecoveryInitiatedByDtc_INTERFACE_DEFINED__
  1318. EXTERN_C const IID IID_IDtcLuRecoveryInitiatedByDtc;
  1319. #if defined(__cplusplus) && !defined(CINTERFACE)
  1320. struct IDtcLuRecoveryInitiatedByDtc : public IUnknown {
  1321. public:
  1322. virtual HRESULT WINAPI GetWork(DTCINITIATEDRECOVERYWORK *pWork,void **ppv) = 0;
  1323. };
  1324. #else
  1325. typedef struct IDtcLuRecoveryInitiatedByDtcVtbl {
  1326. BEGIN_INTERFACE
  1327. HRESULT (WINAPI *QueryInterface)(IDtcLuRecoveryInitiatedByDtc *This,REFIID riid,void **ppvObject);
  1328. ULONG (WINAPI *AddRef)(IDtcLuRecoveryInitiatedByDtc *This);
  1329. ULONG (WINAPI *Release)(IDtcLuRecoveryInitiatedByDtc *This);
  1330. HRESULT (WINAPI *GetWork)(IDtcLuRecoveryInitiatedByDtc *This,DTCINITIATEDRECOVERYWORK *pWork,void **ppv);
  1331. END_INTERFACE
  1332. } IDtcLuRecoveryInitiatedByDtcVtbl;
  1333. struct IDtcLuRecoveryInitiatedByDtc {
  1334. CONST_VTBL struct IDtcLuRecoveryInitiatedByDtcVtbl *lpVtbl;
  1335. };
  1336. #ifdef COBJMACROS
  1337. #define IDtcLuRecoveryInitiatedByDtc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1338. #define IDtcLuRecoveryInitiatedByDtc_AddRef(This) (This)->lpVtbl->AddRef(This)
  1339. #define IDtcLuRecoveryInitiatedByDtc_Release(This) (This)->lpVtbl->Release(This)
  1340. #define IDtcLuRecoveryInitiatedByDtc_GetWork(This,pWork,ppv) (This)->lpVtbl->GetWork(This,pWork,ppv)
  1341. #endif
  1342. #endif
  1343. HRESULT WINAPI IDtcLuRecoveryInitiatedByDtc_GetWork_Proxy(IDtcLuRecoveryInitiatedByDtc *This,DTCINITIATEDRECOVERYWORK *pWork,void **ppv);
  1344. void __RPC_STUB IDtcLuRecoveryInitiatedByDtc_GetWork_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1345. #endif
  1346. #ifndef __IDtcLuRecoveryInitiatedByLuWork_INTERFACE_DEFINED__
  1347. #define __IDtcLuRecoveryInitiatedByLuWork_INTERFACE_DEFINED__
  1348. EXTERN_C const IID IID_IDtcLuRecoveryInitiatedByLuWork;
  1349. #if defined(__cplusplus) && !defined(CINTERFACE)
  1350. struct IDtcLuRecoveryInitiatedByLuWork : public IUnknown {
  1351. public:
  1352. virtual HRESULT WINAPI HandleTheirXln(LONG lRecoverySeqNum,DTCLUXLN Xln,unsigned char *pRemoteLogName,DWORD cbRemoteLogName,unsigned char *pOurLogName,DWORD cbOurLogName,DWORD dwProtocol,DTCLUXLNRESPONSE *pResponse) = 0;
  1353. virtual HRESULT WINAPI GetOurLogNameSize(DWORD *pcbOurLogName) = 0;
  1354. virtual HRESULT WINAPI GetOurXln(DTCLUXLN *pXln,unsigned char *pOurLogName,DWORD *pdwProtocol) = 0;
  1355. virtual HRESULT WINAPI HandleConfirmationOfOurXln(DTCLUXLNCONFIRMATION Confirmation) = 0;
  1356. virtual HRESULT WINAPI HandleTheirCompareStates(unsigned char *pRemoteTransId,DWORD cbRemoteTransId,DTCLUCOMPARESTATE CompareState,DTCLUCOMPARESTATESRESPONSE *pResponse,DTCLUCOMPARESTATE *pCompareState) = 0;
  1357. virtual HRESULT WINAPI HandleConfirmationOfOurCompareStates(DTCLUCOMPARESTATESCONFIRMATION Confirmation) = 0;
  1358. virtual HRESULT WINAPI HandleErrorFromOurCompareStates(DTCLUCOMPARESTATESERROR Error) = 0;
  1359. virtual HRESULT WINAPI ConversationLost(void) = 0;
  1360. };
  1361. #else
  1362. typedef struct IDtcLuRecoveryInitiatedByLuWorkVtbl {
  1363. BEGIN_INTERFACE
  1364. HRESULT (WINAPI *QueryInterface)(IDtcLuRecoveryInitiatedByLuWork *This,REFIID riid,void **ppvObject);
  1365. ULONG (WINAPI *AddRef)(IDtcLuRecoveryInitiatedByLuWork *This);
  1366. ULONG (WINAPI *Release)(IDtcLuRecoveryInitiatedByLuWork *This);
  1367. HRESULT (WINAPI *HandleTheirXln)(IDtcLuRecoveryInitiatedByLuWork *This,LONG lRecoverySeqNum,DTCLUXLN Xln,unsigned char *pRemoteLogName,DWORD cbRemoteLogName,unsigned char *pOurLogName,DWORD cbOurLogName,DWORD dwProtocol,DTCLUXLNRESPONSE *pResponse);
  1368. HRESULT (WINAPI *GetOurLogNameSize)(IDtcLuRecoveryInitiatedByLuWork *This,DWORD *pcbOurLogName);
  1369. HRESULT (WINAPI *GetOurXln)(IDtcLuRecoveryInitiatedByLuWork *This,DTCLUXLN *pXln,unsigned char *pOurLogName,DWORD *pdwProtocol);
  1370. HRESULT (WINAPI *HandleConfirmationOfOurXln)(IDtcLuRecoveryInitiatedByLuWork *This,DTCLUXLNCONFIRMATION Confirmation);
  1371. HRESULT (WINAPI *HandleTheirCompareStates)(IDtcLuRecoveryInitiatedByLuWork *This,unsigned char *pRemoteTransId,DWORD cbRemoteTransId,DTCLUCOMPARESTATE CompareState,DTCLUCOMPARESTATESRESPONSE *pResponse,DTCLUCOMPARESTATE *pCompareState);
  1372. HRESULT (WINAPI *HandleConfirmationOfOurCompareStates)(IDtcLuRecoveryInitiatedByLuWork *This,DTCLUCOMPARESTATESCONFIRMATION Confirmation);
  1373. HRESULT (WINAPI *HandleErrorFromOurCompareStates)(IDtcLuRecoveryInitiatedByLuWork *This,DTCLUCOMPARESTATESERROR Error);
  1374. HRESULT (WINAPI *ConversationLost)(IDtcLuRecoveryInitiatedByLuWork *This);
  1375. END_INTERFACE
  1376. } IDtcLuRecoveryInitiatedByLuWorkVtbl;
  1377. struct IDtcLuRecoveryInitiatedByLuWork {
  1378. CONST_VTBL struct IDtcLuRecoveryInitiatedByLuWorkVtbl *lpVtbl;
  1379. };
  1380. #ifdef COBJMACROS
  1381. #define IDtcLuRecoveryInitiatedByLuWork_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1382. #define IDtcLuRecoveryInitiatedByLuWork_AddRef(This) (This)->lpVtbl->AddRef(This)
  1383. #define IDtcLuRecoveryInitiatedByLuWork_Release(This) (This)->lpVtbl->Release(This)
  1384. #define IDtcLuRecoveryInitiatedByLuWork_HandleTheirXln(This,lRecoverySeqNum,Xln,pRemoteLogName,cbRemoteLogName,pOurLogName,cbOurLogName,dwProtocol,pResponse) (This)->lpVtbl->HandleTheirXln(This,lRecoverySeqNum,Xln,pRemoteLogName,cbRemoteLogName,pOurLogName,cbOurLogName,dwProtocol,pResponse)
  1385. #define IDtcLuRecoveryInitiatedByLuWork_GetOurLogNameSize(This,pcbOurLogName) (This)->lpVtbl->GetOurLogNameSize(This,pcbOurLogName)
  1386. #define IDtcLuRecoveryInitiatedByLuWork_GetOurXln(This,pXln,pOurLogName,pdwProtocol) (This)->lpVtbl->GetOurXln(This,pXln,pOurLogName,pdwProtocol)
  1387. #define IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurXln(This,Confirmation) (This)->lpVtbl->HandleConfirmationOfOurXln(This,Confirmation)
  1388. #define IDtcLuRecoveryInitiatedByLuWork_HandleTheirCompareStates(This,pRemoteTransId,cbRemoteTransId,CompareState,pResponse,pCompareState) (This)->lpVtbl->HandleTheirCompareStates(This,pRemoteTransId,cbRemoteTransId,CompareState,pResponse,pCompareState)
  1389. #define IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurCompareStates(This,Confirmation) (This)->lpVtbl->HandleConfirmationOfOurCompareStates(This,Confirmation)
  1390. #define IDtcLuRecoveryInitiatedByLuWork_HandleErrorFromOurCompareStates(This,Error) (This)->lpVtbl->HandleErrorFromOurCompareStates(This,Error)
  1391. #define IDtcLuRecoveryInitiatedByLuWork_ConversationLost(This) (This)->lpVtbl->ConversationLost(This)
  1392. #endif
  1393. #endif
  1394. HRESULT WINAPI IDtcLuRecoveryInitiatedByLuWork_HandleTheirXln_Proxy(IDtcLuRecoveryInitiatedByLuWork *This,LONG lRecoverySeqNum,DTCLUXLN Xln,unsigned char *pRemoteLogName,DWORD cbRemoteLogName,unsigned char *pOurLogName,DWORD cbOurLogName,DWORD dwProtocol,DTCLUXLNRESPONSE *pResponse);
  1395. void __RPC_STUB IDtcLuRecoveryInitiatedByLuWork_HandleTheirXln_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1396. HRESULT WINAPI IDtcLuRecoveryInitiatedByLuWork_GetOurLogNameSize_Proxy(IDtcLuRecoveryInitiatedByLuWork *This,DWORD *pcbOurLogName);
  1397. void __RPC_STUB IDtcLuRecoveryInitiatedByLuWork_GetOurLogNameSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1398. HRESULT WINAPI IDtcLuRecoveryInitiatedByLuWork_GetOurXln_Proxy(IDtcLuRecoveryInitiatedByLuWork *This,DTCLUXLN *pXln,unsigned char *pOurLogName,DWORD *pdwProtocol);
  1399. void __RPC_STUB IDtcLuRecoveryInitiatedByLuWork_GetOurXln_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1400. HRESULT WINAPI IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurXln_Proxy(IDtcLuRecoveryInitiatedByLuWork *This,DTCLUXLNCONFIRMATION Confirmation);
  1401. void __RPC_STUB IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurXln_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1402. HRESULT WINAPI IDtcLuRecoveryInitiatedByLuWork_HandleTheirCompareStates_Proxy(IDtcLuRecoveryInitiatedByLuWork *This,unsigned char *pRemoteTransId,DWORD cbRemoteTransId,DTCLUCOMPARESTATE CompareState,DTCLUCOMPARESTATESRESPONSE *pResponse,DTCLUCOMPARESTATE *pCompareState);
  1403. void __RPC_STUB IDtcLuRecoveryInitiatedByLuWork_HandleTheirCompareStates_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1404. HRESULT WINAPI IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurCompareStates_Proxy(IDtcLuRecoveryInitiatedByLuWork *This,DTCLUCOMPARESTATESCONFIRMATION Confirmation);
  1405. void __RPC_STUB IDtcLuRecoveryInitiatedByLuWork_HandleConfirmationOfOurCompareStates_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1406. HRESULT WINAPI IDtcLuRecoveryInitiatedByLuWork_HandleErrorFromOurCompareStates_Proxy(IDtcLuRecoveryInitiatedByLuWork *This,DTCLUCOMPARESTATESERROR Error);
  1407. void __RPC_STUB IDtcLuRecoveryInitiatedByLuWork_HandleErrorFromOurCompareStates_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1408. HRESULT WINAPI IDtcLuRecoveryInitiatedByLuWork_ConversationLost_Proxy(IDtcLuRecoveryInitiatedByLuWork *This);
  1409. void __RPC_STUB IDtcLuRecoveryInitiatedByLuWork_ConversationLost_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1410. #endif
  1411. #ifndef __IDtcLuRecoveryInitiatedByLu_INTERFACE_DEFINED__
  1412. #define __IDtcLuRecoveryInitiatedByLu_INTERFACE_DEFINED__
  1413. EXTERN_C const IID IID_IDtcLuRecoveryInitiatedByLu;
  1414. #if defined(__cplusplus) && !defined(CINTERFACE)
  1415. struct IDtcLuRecoveryInitiatedByLu : public IUnknown {
  1416. public:
  1417. virtual HRESULT WINAPI GetObjectToHandleWorkFromLu(IDtcLuRecoveryInitiatedByLuWork **ppWork) = 0;
  1418. };
  1419. #else
  1420. typedef struct IDtcLuRecoveryInitiatedByLuVtbl {
  1421. BEGIN_INTERFACE
  1422. HRESULT (WINAPI *QueryInterface)(IDtcLuRecoveryInitiatedByLu *This,REFIID riid,void **ppvObject);
  1423. ULONG (WINAPI *AddRef)(IDtcLuRecoveryInitiatedByLu *This);
  1424. ULONG (WINAPI *Release)(IDtcLuRecoveryInitiatedByLu *This);
  1425. HRESULT (WINAPI *GetObjectToHandleWorkFromLu)(IDtcLuRecoveryInitiatedByLu *This,IDtcLuRecoveryInitiatedByLuWork **ppWork);
  1426. END_INTERFACE
  1427. } IDtcLuRecoveryInitiatedByLuVtbl;
  1428. struct IDtcLuRecoveryInitiatedByLu {
  1429. CONST_VTBL struct IDtcLuRecoveryInitiatedByLuVtbl *lpVtbl;
  1430. };
  1431. #ifdef COBJMACROS
  1432. #define IDtcLuRecoveryInitiatedByLu_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1433. #define IDtcLuRecoveryInitiatedByLu_AddRef(This) (This)->lpVtbl->AddRef(This)
  1434. #define IDtcLuRecoveryInitiatedByLu_Release(This) (This)->lpVtbl->Release(This)
  1435. #define IDtcLuRecoveryInitiatedByLu_GetObjectToHandleWorkFromLu(This,ppWork) (This)->lpVtbl->GetObjectToHandleWorkFromLu(This,ppWork)
  1436. #endif
  1437. #endif
  1438. HRESULT WINAPI IDtcLuRecoveryInitiatedByLu_GetObjectToHandleWorkFromLu_Proxy(IDtcLuRecoveryInitiatedByLu *This,IDtcLuRecoveryInitiatedByLuWork **ppWork);
  1439. void __RPC_STUB IDtcLuRecoveryInitiatedByLu_GetObjectToHandleWorkFromLu_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1440. #endif
  1441. #ifndef __IDtcLuRmEnlistment_INTERFACE_DEFINED__
  1442. #define __IDtcLuRmEnlistment_INTERFACE_DEFINED__
  1443. EXTERN_C const IID IID_IDtcLuRmEnlistment;
  1444. #if defined(__cplusplus) && !defined(CINTERFACE)
  1445. struct IDtcLuRmEnlistment : public IUnknown {
  1446. public:
  1447. virtual HRESULT WINAPI Unplug(WINBOOL fConversationLost) = 0;
  1448. virtual HRESULT WINAPI BackedOut(void) = 0;
  1449. virtual HRESULT WINAPI BackOut(void) = 0;
  1450. virtual HRESULT WINAPI Committed(void) = 0;
  1451. virtual HRESULT WINAPI Forget(void) = 0;
  1452. virtual HRESULT WINAPI RequestCommit(void) = 0;
  1453. };
  1454. #else
  1455. typedef struct IDtcLuRmEnlistmentVtbl {
  1456. BEGIN_INTERFACE
  1457. HRESULT (WINAPI *QueryInterface)(IDtcLuRmEnlistment *This,REFIID riid,void **ppvObject);
  1458. ULONG (WINAPI *AddRef)(IDtcLuRmEnlistment *This);
  1459. ULONG (WINAPI *Release)(IDtcLuRmEnlistment *This);
  1460. HRESULT (WINAPI *Unplug)(IDtcLuRmEnlistment *This,WINBOOL fConversationLost);
  1461. HRESULT (WINAPI *BackedOut)(IDtcLuRmEnlistment *This);
  1462. HRESULT (WINAPI *BackOut)(IDtcLuRmEnlistment *This);
  1463. HRESULT (WINAPI *Committed)(IDtcLuRmEnlistment *This);
  1464. HRESULT (WINAPI *Forget)(IDtcLuRmEnlistment *This);
  1465. HRESULT (WINAPI *RequestCommit)(IDtcLuRmEnlistment *This);
  1466. END_INTERFACE
  1467. } IDtcLuRmEnlistmentVtbl;
  1468. struct IDtcLuRmEnlistment {
  1469. CONST_VTBL struct IDtcLuRmEnlistmentVtbl *lpVtbl;
  1470. };
  1471. #ifdef COBJMACROS
  1472. #define IDtcLuRmEnlistment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1473. #define IDtcLuRmEnlistment_AddRef(This) (This)->lpVtbl->AddRef(This)
  1474. #define IDtcLuRmEnlistment_Release(This) (This)->lpVtbl->Release(This)
  1475. #define IDtcLuRmEnlistment_Unplug(This,fConversationLost) (This)->lpVtbl->Unplug(This,fConversationLost)
  1476. #define IDtcLuRmEnlistment_BackedOut(This) (This)->lpVtbl->BackedOut(This)
  1477. #define IDtcLuRmEnlistment_BackOut(This) (This)->lpVtbl->BackOut(This)
  1478. #define IDtcLuRmEnlistment_Committed(This) (This)->lpVtbl->Committed(This)
  1479. #define IDtcLuRmEnlistment_Forget(This) (This)->lpVtbl->Forget(This)
  1480. #define IDtcLuRmEnlistment_RequestCommit(This) (This)->lpVtbl->RequestCommit(This)
  1481. #endif
  1482. #endif
  1483. HRESULT WINAPI IDtcLuRmEnlistment_Unplug_Proxy(IDtcLuRmEnlistment *This,WINBOOL fConversationLost);
  1484. void __RPC_STUB IDtcLuRmEnlistment_Unplug_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1485. HRESULT WINAPI IDtcLuRmEnlistment_BackedOut_Proxy(IDtcLuRmEnlistment *This);
  1486. void __RPC_STUB IDtcLuRmEnlistment_BackedOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1487. HRESULT WINAPI IDtcLuRmEnlistment_BackOut_Proxy(IDtcLuRmEnlistment *This);
  1488. void __RPC_STUB IDtcLuRmEnlistment_BackOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1489. HRESULT WINAPI IDtcLuRmEnlistment_Committed_Proxy(IDtcLuRmEnlistment *This);
  1490. void __RPC_STUB IDtcLuRmEnlistment_Committed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1491. HRESULT WINAPI IDtcLuRmEnlistment_Forget_Proxy(IDtcLuRmEnlistment *This);
  1492. void __RPC_STUB IDtcLuRmEnlistment_Forget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1493. HRESULT WINAPI IDtcLuRmEnlistment_RequestCommit_Proxy(IDtcLuRmEnlistment *This);
  1494. void __RPC_STUB IDtcLuRmEnlistment_RequestCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1495. #endif
  1496. #ifndef __IDtcLuRmEnlistmentSink_INTERFACE_DEFINED__
  1497. #define __IDtcLuRmEnlistmentSink_INTERFACE_DEFINED__
  1498. EXTERN_C const IID IID_IDtcLuRmEnlistmentSink;
  1499. #if defined(__cplusplus) && !defined(CINTERFACE)
  1500. struct IDtcLuRmEnlistmentSink : public IUnknown {
  1501. public:
  1502. virtual HRESULT WINAPI AckUnplug(void) = 0;
  1503. virtual HRESULT WINAPI TmDown(void) = 0;
  1504. virtual HRESULT WINAPI SessionLost(void) = 0;
  1505. virtual HRESULT WINAPI BackedOut(void) = 0;
  1506. virtual HRESULT WINAPI BackOut(void) = 0;
  1507. virtual HRESULT WINAPI Committed(void) = 0;
  1508. virtual HRESULT WINAPI Forget(void) = 0;
  1509. virtual HRESULT WINAPI Prepare(void) = 0;
  1510. virtual HRESULT WINAPI RequestCommit(void) = 0;
  1511. };
  1512. #else
  1513. typedef struct IDtcLuRmEnlistmentSinkVtbl {
  1514. BEGIN_INTERFACE
  1515. HRESULT (WINAPI *QueryInterface)(IDtcLuRmEnlistmentSink *This,REFIID riid,void **ppvObject);
  1516. ULONG (WINAPI *AddRef)(IDtcLuRmEnlistmentSink *This);
  1517. ULONG (WINAPI *Release)(IDtcLuRmEnlistmentSink *This);
  1518. HRESULT (WINAPI *AckUnplug)(IDtcLuRmEnlistmentSink *This);
  1519. HRESULT (WINAPI *TmDown)(IDtcLuRmEnlistmentSink *This);
  1520. HRESULT (WINAPI *SessionLost)(IDtcLuRmEnlistmentSink *This);
  1521. HRESULT (WINAPI *BackedOut)(IDtcLuRmEnlistmentSink *This);
  1522. HRESULT (WINAPI *BackOut)(IDtcLuRmEnlistmentSink *This);
  1523. HRESULT (WINAPI *Committed)(IDtcLuRmEnlistmentSink *This);
  1524. HRESULT (WINAPI *Forget)(IDtcLuRmEnlistmentSink *This);
  1525. HRESULT (WINAPI *Prepare)(IDtcLuRmEnlistmentSink *This);
  1526. HRESULT (WINAPI *RequestCommit)(IDtcLuRmEnlistmentSink *This);
  1527. END_INTERFACE
  1528. } IDtcLuRmEnlistmentSinkVtbl;
  1529. struct IDtcLuRmEnlistmentSink {
  1530. CONST_VTBL struct IDtcLuRmEnlistmentSinkVtbl *lpVtbl;
  1531. };
  1532. #ifdef COBJMACROS
  1533. #define IDtcLuRmEnlistmentSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1534. #define IDtcLuRmEnlistmentSink_AddRef(This) (This)->lpVtbl->AddRef(This)
  1535. #define IDtcLuRmEnlistmentSink_Release(This) (This)->lpVtbl->Release(This)
  1536. #define IDtcLuRmEnlistmentSink_AckUnplug(This) (This)->lpVtbl->AckUnplug(This)
  1537. #define IDtcLuRmEnlistmentSink_TmDown(This) (This)->lpVtbl->TmDown(This)
  1538. #define IDtcLuRmEnlistmentSink_SessionLost(This) (This)->lpVtbl->SessionLost(This)
  1539. #define IDtcLuRmEnlistmentSink_BackedOut(This) (This)->lpVtbl->BackedOut(This)
  1540. #define IDtcLuRmEnlistmentSink_BackOut(This) (This)->lpVtbl->BackOut(This)
  1541. #define IDtcLuRmEnlistmentSink_Committed(This) (This)->lpVtbl->Committed(This)
  1542. #define IDtcLuRmEnlistmentSink_Forget(This) (This)->lpVtbl->Forget(This)
  1543. #define IDtcLuRmEnlistmentSink_Prepare(This) (This)->lpVtbl->Prepare(This)
  1544. #define IDtcLuRmEnlistmentSink_RequestCommit(This) (This)->lpVtbl->RequestCommit(This)
  1545. #endif
  1546. #endif
  1547. HRESULT WINAPI IDtcLuRmEnlistmentSink_AckUnplug_Proxy(IDtcLuRmEnlistmentSink *This);
  1548. void __RPC_STUB IDtcLuRmEnlistmentSink_AckUnplug_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1549. HRESULT WINAPI IDtcLuRmEnlistmentSink_TmDown_Proxy(IDtcLuRmEnlistmentSink *This);
  1550. void __RPC_STUB IDtcLuRmEnlistmentSink_TmDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1551. HRESULT WINAPI IDtcLuRmEnlistmentSink_SessionLost_Proxy(IDtcLuRmEnlistmentSink *This);
  1552. void __RPC_STUB IDtcLuRmEnlistmentSink_SessionLost_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1553. HRESULT WINAPI IDtcLuRmEnlistmentSink_BackedOut_Proxy(IDtcLuRmEnlistmentSink *This);
  1554. void __RPC_STUB IDtcLuRmEnlistmentSink_BackedOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1555. HRESULT WINAPI IDtcLuRmEnlistmentSink_BackOut_Proxy(IDtcLuRmEnlistmentSink *This);
  1556. void __RPC_STUB IDtcLuRmEnlistmentSink_BackOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1557. HRESULT WINAPI IDtcLuRmEnlistmentSink_Committed_Proxy(IDtcLuRmEnlistmentSink *This);
  1558. void __RPC_STUB IDtcLuRmEnlistmentSink_Committed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1559. HRESULT WINAPI IDtcLuRmEnlistmentSink_Forget_Proxy(IDtcLuRmEnlistmentSink *This);
  1560. void __RPC_STUB IDtcLuRmEnlistmentSink_Forget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1561. HRESULT WINAPI IDtcLuRmEnlistmentSink_Prepare_Proxy(IDtcLuRmEnlistmentSink *This);
  1562. void __RPC_STUB IDtcLuRmEnlistmentSink_Prepare_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1563. HRESULT WINAPI IDtcLuRmEnlistmentSink_RequestCommit_Proxy(IDtcLuRmEnlistmentSink *This);
  1564. void __RPC_STUB IDtcLuRmEnlistmentSink_RequestCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1565. #endif
  1566. #ifndef __IDtcLuRmEnlistmentFactory_INTERFACE_DEFINED__
  1567. #define __IDtcLuRmEnlistmentFactory_INTERFACE_DEFINED__
  1568. EXTERN_C const IID IID_IDtcLuRmEnlistmentFactory;
  1569. #if defined(__cplusplus) && !defined(CINTERFACE)
  1570. struct IDtcLuRmEnlistmentFactory : public IUnknown {
  1571. public:
  1572. virtual HRESULT WINAPI Create(unsigned char *pucLuPair,DWORD cbLuPair,ITransaction *pITransaction,unsigned char *pTransId,DWORD cbTransId,IDtcLuRmEnlistmentSink *pRmEnlistmentSink,IDtcLuRmEnlistment **ppRmEnlistment) = 0;
  1573. };
  1574. #else
  1575. typedef struct IDtcLuRmEnlistmentFactoryVtbl {
  1576. BEGIN_INTERFACE
  1577. HRESULT (WINAPI *QueryInterface)(IDtcLuRmEnlistmentFactory *This,REFIID riid,void **ppvObject);
  1578. ULONG (WINAPI *AddRef)(IDtcLuRmEnlistmentFactory *This);
  1579. ULONG (WINAPI *Release)(IDtcLuRmEnlistmentFactory *This);
  1580. HRESULT (WINAPI *Create)(IDtcLuRmEnlistmentFactory *This,unsigned char *pucLuPair,DWORD cbLuPair,ITransaction *pITransaction,unsigned char *pTransId,DWORD cbTransId,IDtcLuRmEnlistmentSink *pRmEnlistmentSink,IDtcLuRmEnlistment **ppRmEnlistment);
  1581. END_INTERFACE
  1582. } IDtcLuRmEnlistmentFactoryVtbl;
  1583. struct IDtcLuRmEnlistmentFactory {
  1584. CONST_VTBL struct IDtcLuRmEnlistmentFactoryVtbl *lpVtbl;
  1585. };
  1586. #ifdef COBJMACROS
  1587. #define IDtcLuRmEnlistmentFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1588. #define IDtcLuRmEnlistmentFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  1589. #define IDtcLuRmEnlistmentFactory_Release(This) (This)->lpVtbl->Release(This)
  1590. #define IDtcLuRmEnlistmentFactory_Create(This,pucLuPair,cbLuPair,pITransaction,pTransId,cbTransId,pRmEnlistmentSink,ppRmEnlistment) (This)->lpVtbl->Create(This,pucLuPair,cbLuPair,pITransaction,pTransId,cbTransId,pRmEnlistmentSink,ppRmEnlistment)
  1591. #endif
  1592. #endif
  1593. HRESULT WINAPI IDtcLuRmEnlistmentFactory_Create_Proxy(IDtcLuRmEnlistmentFactory *This,unsigned char *pucLuPair,DWORD cbLuPair,ITransaction *pITransaction,unsigned char *pTransId,DWORD cbTransId,IDtcLuRmEnlistmentSink *pRmEnlistmentSink,IDtcLuRmEnlistment **ppRmEnlistment);
  1594. void __RPC_STUB IDtcLuRmEnlistmentFactory_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1595. #endif
  1596. #ifndef __IDtcLuSubordinateDtc_INTERFACE_DEFINED__
  1597. #define __IDtcLuSubordinateDtc_INTERFACE_DEFINED__
  1598. EXTERN_C const IID IID_IDtcLuSubordinateDtc;
  1599. #if defined(__cplusplus) && !defined(CINTERFACE)
  1600. struct IDtcLuSubordinateDtc : public IUnknown {
  1601. public:
  1602. virtual HRESULT WINAPI Unplug(WINBOOL fConversationLost) = 0;
  1603. virtual HRESULT WINAPI BackedOut(void) = 0;
  1604. virtual HRESULT WINAPI BackOut(void) = 0;
  1605. virtual HRESULT WINAPI Committed(void) = 0;
  1606. virtual HRESULT WINAPI Forget(void) = 0;
  1607. virtual HRESULT WINAPI Prepare(void) = 0;
  1608. virtual HRESULT WINAPI RequestCommit(void) = 0;
  1609. };
  1610. #else
  1611. typedef struct IDtcLuSubordinateDtcVtbl {
  1612. BEGIN_INTERFACE
  1613. HRESULT (WINAPI *QueryInterface)(IDtcLuSubordinateDtc *This,REFIID riid,void **ppvObject);
  1614. ULONG (WINAPI *AddRef)(IDtcLuSubordinateDtc *This);
  1615. ULONG (WINAPI *Release)(IDtcLuSubordinateDtc *This);
  1616. HRESULT (WINAPI *Unplug)(IDtcLuSubordinateDtc *This,WINBOOL fConversationLost);
  1617. HRESULT (WINAPI *BackedOut)(IDtcLuSubordinateDtc *This);
  1618. HRESULT (WINAPI *BackOut)(IDtcLuSubordinateDtc *This);
  1619. HRESULT (WINAPI *Committed)(IDtcLuSubordinateDtc *This);
  1620. HRESULT (WINAPI *Forget)(IDtcLuSubordinateDtc *This);
  1621. HRESULT (WINAPI *Prepare)(IDtcLuSubordinateDtc *This);
  1622. HRESULT (WINAPI *RequestCommit)(IDtcLuSubordinateDtc *This);
  1623. END_INTERFACE
  1624. } IDtcLuSubordinateDtcVtbl;
  1625. struct IDtcLuSubordinateDtc {
  1626. CONST_VTBL struct IDtcLuSubordinateDtcVtbl *lpVtbl;
  1627. };
  1628. #ifdef COBJMACROS
  1629. #define IDtcLuSubordinateDtc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1630. #define IDtcLuSubordinateDtc_AddRef(This) (This)->lpVtbl->AddRef(This)
  1631. #define IDtcLuSubordinateDtc_Release(This) (This)->lpVtbl->Release(This)
  1632. #define IDtcLuSubordinateDtc_Unplug(This,fConversationLost) (This)->lpVtbl->Unplug(This,fConversationLost)
  1633. #define IDtcLuSubordinateDtc_BackedOut(This) (This)->lpVtbl->BackedOut(This)
  1634. #define IDtcLuSubordinateDtc_BackOut(This) (This)->lpVtbl->BackOut(This)
  1635. #define IDtcLuSubordinateDtc_Committed(This) (This)->lpVtbl->Committed(This)
  1636. #define IDtcLuSubordinateDtc_Forget(This) (This)->lpVtbl->Forget(This)
  1637. #define IDtcLuSubordinateDtc_Prepare(This) (This)->lpVtbl->Prepare(This)
  1638. #define IDtcLuSubordinateDtc_RequestCommit(This) (This)->lpVtbl->RequestCommit(This)
  1639. #endif
  1640. #endif
  1641. HRESULT WINAPI IDtcLuSubordinateDtc_Unplug_Proxy(IDtcLuSubordinateDtc *This,WINBOOL fConversationLost);
  1642. void __RPC_STUB IDtcLuSubordinateDtc_Unplug_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1643. HRESULT WINAPI IDtcLuSubordinateDtc_BackedOut_Proxy(IDtcLuSubordinateDtc *This);
  1644. void __RPC_STUB IDtcLuSubordinateDtc_BackedOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1645. HRESULT WINAPI IDtcLuSubordinateDtc_BackOut_Proxy(IDtcLuSubordinateDtc *This);
  1646. void __RPC_STUB IDtcLuSubordinateDtc_BackOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1647. HRESULT WINAPI IDtcLuSubordinateDtc_Committed_Proxy(IDtcLuSubordinateDtc *This);
  1648. void __RPC_STUB IDtcLuSubordinateDtc_Committed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1649. HRESULT WINAPI IDtcLuSubordinateDtc_Forget_Proxy(IDtcLuSubordinateDtc *This);
  1650. void __RPC_STUB IDtcLuSubordinateDtc_Forget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1651. HRESULT WINAPI IDtcLuSubordinateDtc_Prepare_Proxy(IDtcLuSubordinateDtc *This);
  1652. void __RPC_STUB IDtcLuSubordinateDtc_Prepare_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1653. HRESULT WINAPI IDtcLuSubordinateDtc_RequestCommit_Proxy(IDtcLuSubordinateDtc *This);
  1654. void __RPC_STUB IDtcLuSubordinateDtc_RequestCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1655. #endif
  1656. #ifndef __IDtcLuSubordinateDtcSink_INTERFACE_DEFINED__
  1657. #define __IDtcLuSubordinateDtcSink_INTERFACE_DEFINED__
  1658. EXTERN_C const IID IID_IDtcLuSubordinateDtcSink;
  1659. #if defined(__cplusplus) && !defined(CINTERFACE)
  1660. struct IDtcLuSubordinateDtcSink : public IUnknown {
  1661. public:
  1662. virtual HRESULT WINAPI AckUnplug(void) = 0;
  1663. virtual HRESULT WINAPI TmDown(void) = 0;
  1664. virtual HRESULT WINAPI SessionLost(void) = 0;
  1665. virtual HRESULT WINAPI BackedOut(void) = 0;
  1666. virtual HRESULT WINAPI BackOut(void) = 0;
  1667. virtual HRESULT WINAPI Committed(void) = 0;
  1668. virtual HRESULT WINAPI Forget(void) = 0;
  1669. virtual HRESULT WINAPI RequestCommit(void) = 0;
  1670. };
  1671. #else
  1672. typedef struct IDtcLuSubordinateDtcSinkVtbl {
  1673. BEGIN_INTERFACE
  1674. HRESULT (WINAPI *QueryInterface)(IDtcLuSubordinateDtcSink *This,REFIID riid,void **ppvObject);
  1675. ULONG (WINAPI *AddRef)(IDtcLuSubordinateDtcSink *This);
  1676. ULONG (WINAPI *Release)(IDtcLuSubordinateDtcSink *This);
  1677. HRESULT (WINAPI *AckUnplug)(IDtcLuSubordinateDtcSink *This);
  1678. HRESULT (WINAPI *TmDown)(IDtcLuSubordinateDtcSink *This);
  1679. HRESULT (WINAPI *SessionLost)(IDtcLuSubordinateDtcSink *This);
  1680. HRESULT (WINAPI *BackedOut)(IDtcLuSubordinateDtcSink *This);
  1681. HRESULT (WINAPI *BackOut)(IDtcLuSubordinateDtcSink *This);
  1682. HRESULT (WINAPI *Committed)(IDtcLuSubordinateDtcSink *This);
  1683. HRESULT (WINAPI *Forget)(IDtcLuSubordinateDtcSink *This);
  1684. HRESULT (WINAPI *RequestCommit)(IDtcLuSubordinateDtcSink *This);
  1685. END_INTERFACE
  1686. } IDtcLuSubordinateDtcSinkVtbl;
  1687. struct IDtcLuSubordinateDtcSink {
  1688. CONST_VTBL struct IDtcLuSubordinateDtcSinkVtbl *lpVtbl;
  1689. };
  1690. #ifdef COBJMACROS
  1691. #define IDtcLuSubordinateDtcSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1692. #define IDtcLuSubordinateDtcSink_AddRef(This) (This)->lpVtbl->AddRef(This)
  1693. #define IDtcLuSubordinateDtcSink_Release(This) (This)->lpVtbl->Release(This)
  1694. #define IDtcLuSubordinateDtcSink_AckUnplug(This) (This)->lpVtbl->AckUnplug(This)
  1695. #define IDtcLuSubordinateDtcSink_TmDown(This) (This)->lpVtbl->TmDown(This)
  1696. #define IDtcLuSubordinateDtcSink_SessionLost(This) (This)->lpVtbl->SessionLost(This)
  1697. #define IDtcLuSubordinateDtcSink_BackedOut(This) (This)->lpVtbl->BackedOut(This)
  1698. #define IDtcLuSubordinateDtcSink_BackOut(This) (This)->lpVtbl->BackOut(This)
  1699. #define IDtcLuSubordinateDtcSink_Committed(This) (This)->lpVtbl->Committed(This)
  1700. #define IDtcLuSubordinateDtcSink_Forget(This) (This)->lpVtbl->Forget(This)
  1701. #define IDtcLuSubordinateDtcSink_RequestCommit(This) (This)->lpVtbl->RequestCommit(This)
  1702. #endif
  1703. #endif
  1704. HRESULT WINAPI IDtcLuSubordinateDtcSink_AckUnplug_Proxy(IDtcLuSubordinateDtcSink *This);
  1705. void __RPC_STUB IDtcLuSubordinateDtcSink_AckUnplug_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1706. HRESULT WINAPI IDtcLuSubordinateDtcSink_TmDown_Proxy(IDtcLuSubordinateDtcSink *This);
  1707. void __RPC_STUB IDtcLuSubordinateDtcSink_TmDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1708. HRESULT WINAPI IDtcLuSubordinateDtcSink_SessionLost_Proxy(IDtcLuSubordinateDtcSink *This);
  1709. void __RPC_STUB IDtcLuSubordinateDtcSink_SessionLost_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1710. HRESULT WINAPI IDtcLuSubordinateDtcSink_BackedOut_Proxy(IDtcLuSubordinateDtcSink *This);
  1711. void __RPC_STUB IDtcLuSubordinateDtcSink_BackedOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1712. HRESULT WINAPI IDtcLuSubordinateDtcSink_BackOut_Proxy(IDtcLuSubordinateDtcSink *This);
  1713. void __RPC_STUB IDtcLuSubordinateDtcSink_BackOut_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1714. HRESULT WINAPI IDtcLuSubordinateDtcSink_Committed_Proxy(IDtcLuSubordinateDtcSink *This);
  1715. void __RPC_STUB IDtcLuSubordinateDtcSink_Committed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1716. HRESULT WINAPI IDtcLuSubordinateDtcSink_Forget_Proxy(IDtcLuSubordinateDtcSink *This);
  1717. void __RPC_STUB IDtcLuSubordinateDtcSink_Forget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1718. HRESULT WINAPI IDtcLuSubordinateDtcSink_RequestCommit_Proxy(IDtcLuSubordinateDtcSink *This);
  1719. void __RPC_STUB IDtcLuSubordinateDtcSink_RequestCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1720. #endif
  1721. #ifndef __IDtcLuSubordinateDtcFactory_INTERFACE_DEFINED__
  1722. #define __IDtcLuSubordinateDtcFactory_INTERFACE_DEFINED__
  1723. EXTERN_C const IID IID_IDtcLuSubordinateDtcFactory;
  1724. #if defined(__cplusplus) && !defined(CINTERFACE)
  1725. struct IDtcLuSubordinateDtcFactory : public IUnknown {
  1726. public:
  1727. virtual HRESULT WINAPI Create(unsigned char *pucLuPair,DWORD cbLuPair,IUnknown *punkTransactionOuter,ISOLEVEL isoLevel,ULONG isoFlags,ITransactionOptions *pOptions,ITransaction **ppTransaction,unsigned char *pTransId,DWORD cbTransId,IDtcLuSubordinateDtcSink *pSubordinateDtcSink,IDtcLuSubordinateDtc **ppSubordinateDtc) = 0;
  1728. };
  1729. #else
  1730. typedef struct IDtcLuSubordinateDtcFactoryVtbl {
  1731. BEGIN_INTERFACE
  1732. HRESULT (WINAPI *QueryInterface)(IDtcLuSubordinateDtcFactory *This,REFIID riid,void **ppvObject);
  1733. ULONG (WINAPI *AddRef)(IDtcLuSubordinateDtcFactory *This);
  1734. ULONG (WINAPI *Release)(IDtcLuSubordinateDtcFactory *This);
  1735. HRESULT (WINAPI *Create)(IDtcLuSubordinateDtcFactory *This,unsigned char *pucLuPair,DWORD cbLuPair,IUnknown *punkTransactionOuter,ISOLEVEL isoLevel,ULONG isoFlags,ITransactionOptions *pOptions,ITransaction **ppTransaction,unsigned char *pTransId,DWORD cbTransId,IDtcLuSubordinateDtcSink *pSubordinateDtcSink,IDtcLuSubordinateDtc **ppSubordinateDtc);
  1736. END_INTERFACE
  1737. } IDtcLuSubordinateDtcFactoryVtbl;
  1738. struct IDtcLuSubordinateDtcFactory {
  1739. CONST_VTBL struct IDtcLuSubordinateDtcFactoryVtbl *lpVtbl;
  1740. };
  1741. #ifdef COBJMACROS
  1742. #define IDtcLuSubordinateDtcFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1743. #define IDtcLuSubordinateDtcFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  1744. #define IDtcLuSubordinateDtcFactory_Release(This) (This)->lpVtbl->Release(This)
  1745. #define IDtcLuSubordinateDtcFactory_Create(This,pucLuPair,cbLuPair,punkTransactionOuter,isoLevel,isoFlags,pOptions,ppTransaction,pTransId,cbTransId,pSubordinateDtcSink,ppSubordinateDtc) (This)->lpVtbl->Create(This,pucLuPair,cbLuPair,punkTransactionOuter,isoLevel,isoFlags,pOptions,ppTransaction,pTransId,cbTransId,pSubordinateDtcSink,ppSubordinateDtc)
  1746. #endif
  1747. #endif
  1748. HRESULT WINAPI IDtcLuSubordinateDtcFactory_Create_Proxy(IDtcLuSubordinateDtcFactory *This,unsigned char *pucLuPair,DWORD cbLuPair,IUnknown *punkTransactionOuter,ISOLEVEL isoLevel,ULONG isoFlags,ITransactionOptions *pOptions,ITransaction **ppTransaction,unsigned char *pTransId,DWORD cbTransId,IDtcLuSubordinateDtcSink *pSubordinateDtcSink,IDtcLuSubordinateDtc **ppSubordinateDtc);
  1749. void __RPC_STUB IDtcLuSubordinateDtcFactory_Create_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  1750. #endif
  1751. DEFINE_GUID(IID_IXATransLookup,0xF3B1F131,0xEEDA,0x11ce,0xAE,0xD4,0x00,0xAA,0x00,0x51,0xE2,0xC4);
  1752. DEFINE_GUID(IID_IXATransLookup2,0xbf193c85,0xd1a,0x4290,0xb8,0x8f,0xd2,0xcb,0x88,0x73,0xd1,0xe7);
  1753. DEFINE_GUID(IID_IResourceManagerSink,0x0D563181,0xDEFB,0x11ce,0xAE,0xD1,0x00,0xAA,0x00,0x51,0xE2,0xC4);
  1754. DEFINE_GUID(IID_IResourceManager,0x3741d21,0x87eb,0x11ce,0x80,0x81,0x00,0x80,0xc7,0x58,0x52,0x7e);
  1755. DEFINE_GUID(IID_IResourceManager2,0xd136c69a,0xf749,0x11d1,0x8f,0x47,0x0,0xc0,0x4f,0x8e,0xe5,0x7d);
  1756. DEFINE_GUID(IID_ILastResourceManager,0x4d964ad4,0x5b33,0x11d3,0x8a,0x91,0x00,0xc0,0x4f,0x79,0xeb,0x6d);
  1757. DEFINE_GUID(IID_IXAConfig,0xC8A6E3A1,0x9A8C,0x11cf,0xA3,0x08,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1758. DEFINE_GUID(IID_IRMHelper,0xE793F6D1,0xF53D,0x11cf,0xA6,0x0D,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1759. DEFINE_GUID(IID_IXAObtainRMInfo,0xE793F6D2,0xF53D,0x11cf,0xA6,0x0D,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1760. DEFINE_GUID(IID_IXAResourceManager,0x4131E751,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1761. DEFINE_GUID(IID_IXAResourceManagerFactory,0x4131E750,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1762. DEFINE_GUID(IID_IXATransaction,0x4131E752,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1763. DEFINE_GUID(IID_IResourceManagerFactory,0x13741d20,0x87eb,0x11ce,0x80,0x81,0x00,0x80,0xc7,0x58,0x52,0x7e);
  1764. DEFINE_GUID(IID_IResourceManagerFactory2,0x6b369c21,0xfbd2,0x11d1,0x8f,0x47,0x0,0xc0,0x4f,0x8e,0xe5,0x7d);
  1765. DEFINE_GUID(IID_IPrepareInfo,0x80c7bfd0,0x87ee,0x11ce,0x80,0x81,0x00,0x80,0xc7,0x58,0x52,0x7e);
  1766. DEFINE_GUID(IID_IPrepareInfo2,0x5FAB2547,0x9779,0x11d1,0xB8,0x86,0x00,0xC0,0x4F,0xB9,0x61,0x8A);
  1767. DEFINE_GUID(IID_IGetDispenser,0xc23cc370,0x87ef,0x11ce,0x80,0x81,0x00,0x80,0xc7,0x58,0x52,0x7e);
  1768. DEFINE_GUID(IID_ITransactionVoterNotifyAsync2,0x5433376b,0x414d,0x11d3,0xb2,0x6,0x0,0xc0,0x4f,0xc2,0xf3,0xef);
  1769. DEFINE_GUID(IID_ITransactionVoterBallotAsync2,0x5433376c,0x414d,0x11d3,0xb2,0x6,0x0,0xc0,0x4f,0xc2,0xf3,0xef);
  1770. DEFINE_GUID(IID_ITransactionVoterFactory2,0x5433376a,0x414d,0x11d3,0xb2,0x6,0x0,0xc0,0x4f,0xc2,0xf3,0xef);
  1771. DEFINE_GUID(IID_ITransactionPhase0EnlistmentAsync,0x82DC88E1,0xA954,0x11d1,0x8F,0x88,0x00,0x60,0x08,0x95,0xE7,0xD5);
  1772. DEFINE_GUID(IID_ITransactionPhase0NotifyAsync,0xEF081809,0x0C76,0x11d2,0x87,0xA6,0x00,0xC0,0x4F,0x99,0x0F,0x34);
  1773. DEFINE_GUID(IID_ITransactionPhase0Factory,0x82DC88E0,0xA954,0x11d1,0x8F,0x88,0x00,0x60,0x08,0x95,0xE7,0xD5);
  1774. DEFINE_GUID(IID_ITransactionTransmitter,0x59313E01,0xB36C,0x11cf,0xA5,0x39,0x00,0xAA,0x00,0x68,0x87,0xC3);
  1775. DEFINE_GUID(IID_ITransactionTransmitterFactory,0x59313E00,0xB36C,0x11cf,0xA5,0x39,0x00,0xAA,0x00,0x68,0x87,0xC3);
  1776. DEFINE_GUID(IID_ITransactionReceiver,0x59313E03,0xB36C,0x11cf,0xA5,0x39,0x00,0xAA,0x00,0x68,0x87,0xC3);
  1777. DEFINE_GUID(IID_ITransactionReceiverFactory,0x59313E02,0xB36C,0x11cf,0xA5,0x39,0x00,0xAA,0x00,0x68,0x87,0xC3);
  1778. DEFINE_GUID(IID_IDtcLuConfigure,0x4131E760,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1779. DEFINE_GUID(IID_IDtcLuRecovery,0xac2b8ad2,0xd6f0,0x11d0,0xb3,0x86,0x0,0xa0,0xc9,0x8,0x33,0x65);
  1780. DEFINE_GUID(IID_IDtcLuRecoveryFactory,0x4131E762,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1781. DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByDtcTransWork,0x4131E765,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1782. DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByDtcStatusWork,0x4131E766,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1783. DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByDtc,0x4131E764,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1784. DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByLuWork,0xac2b8ad1,0xd6f0,0x11d0,0xb3,0x86,0x0,0xa0,0xc9,0x8,0x33,0x65);
  1785. DEFINE_GUID(IID_IDtcLuRecoveryInitiatedByLu,0x4131E768,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1786. DEFINE_GUID(IID_IDtcLuRmEnlistment,0x4131E769,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1787. DEFINE_GUID(IID_IDtcLuRmEnlistmentSink,0x4131E770,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1788. DEFINE_GUID(IID_IDtcLuRmEnlistmentFactory,0x4131E771,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1789. DEFINE_GUID(IID_IDtcLuSubordinateDtc,0x4131E773,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1790. DEFINE_GUID(IID_IDtcLuSubordinateDtcSink,0x4131E774,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1791. DEFINE_GUID(IID_IDtcLuSubordinateDtcFactory,0x4131E775,0x1AEA,0x11d0,0x94,0x4B,0x00,0xA0,0xC9,0x05,0x41,0x6E);
  1792. extern RPC_IF_HANDLE __MIDL_itf_txdtc_0155_v0_0_c_ifspec;
  1793. extern RPC_IF_HANDLE __MIDL_itf_txdtc_0155_v0_0_s_ifspec;
  1794. #ifdef __cplusplus
  1795. }
  1796. #endif
  1797. #endif