ReactOS  0.4.14-dev-376-gaedba84
txcoord.idl
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Daniel Jeliński
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 import "transact.idl";
20 import "objidl.idl";
21 
24 interface ITransactionResource;
29 interface ITransactionExport;
30 interface ITransactionImport;
31 interface ITipTransaction;
32 interface ITipHelper;
33 interface ITipPullSink;
34 interface IDtcNetworkAccessConfig;
35 interface IDtcNetworkAccessConfig2;
36 
37 [
38  object,
39  uuid(69e971f0-23ce-11cf-ad60-00aa00a74ccd)
40 ]
42  HRESULT PrepareRequest([in]BOOL fRetaining,[in]DWORD grfRM,[in]BOOL fWantMoniker,[in]BOOL fSinglePhase);
43  HRESULT CommitRequest([in]DWORD grfRM,[in]XACTUOW *pNewUOW);
44  HRESULT AbortRequest([in]BOID *pboidReason,[in]BOOL fRetaining,[in]XACTUOW *pNewUOW);
45  HRESULT TMDown(void);
46 }
47 
48 [
49  object,
50  uuid(c82bd532-5b30-11d3-8a91-00c04f79eb6d)
51 ]
54  HRESULT ForgetRequest([in]XACTUOW *pNewUOW);
55 }
56 
57 [
58  object,
59  uuid(ee5ff7b3-4572-11d0-9452-00a0c905416e)
60 ]
62  HRESULT PrepareRequest([in]BOOL fRetaining,[in]DWORD grfRM,[in]BOOL fWantMoniker,[in]BOOL fSinglePhase);
63  HRESULT CommitRequest([in]DWORD grfRM,[in]XACTUOW *pNewUOW);
64  HRESULT AbortRequest([in]BOID *pboidReason,[in]BOOL fRetaining,[in]XACTUOW *pNewUOW);
65  HRESULT TMDown(void);
66 }
67 
68 [
69  object,
70  uuid(0fb15081-af41-11ce-bd2b-204c4f4f5020)
71 ]
73  HRESULT PrepareRequestDone([in]HRESULT hr,[in]IMoniker *pmk,[in]BOID *pboidReason);
76 }
77 
78 [
79  object,
80  uuid(c82bd533-5b30-11d3-8a91-00c04f79eb6d)
81 ]
83  HRESULT TransactionOutcome([in]XACTSTAT XactStat,[in]BOID *pboidReason);
84 }
85 
86 [
87  object,
88  uuid(e1cf9b53-8745-11ce-a9ba-00aa006c3706)
89 ]
91  HRESULT GetRemoteClassId([in]CLSID *pclsid);
92  HRESULT Create([in]ULONG cbWhereabouts,[in]byte *rgbWhereabouts,[out]ITransactionExport **ppExport);
93 }
94 
95 [
96  object,
97  uuid(0141fda4-8fc0-11ce-bd18-204c4f4f5020)
98 ]
100  HRESULT GetWhereaboutsSize([out]ULONG *pcbWhereabouts);
101  HRESULT GetWhereabouts([in]ULONG cbWhereabouts,[out]byte *rgbWhereabouts,[out]ULONG *pcbUsed);
102 }
103 
104 [
105  object,
106  uuid(0141fda5-8fc0-11ce-bd18-204c4f4f5020)
107 ]
109  HRESULT Export([in]IUnknown *punkTransaction,[out]ULONG *pcbTransactionCookie);
110  HRESULT GetTransactionCookie([in]IUnknown *punkTransaction,[in]ULONG cbTransactionCookie,[out]byte *rgbTransactionCookie,[out]ULONG *pcbUsed);
111 }
112 
113 [
114  object,
115  uuid(e1cf9b5a-8745-11ce-a9ba-00aa006c3706)
116 ]
118  HRESULT Import([in]ULONG cbTransactionCookie,[in]byte *rgbTransactionCookie,[in]IID *piid,[out,iid_is(piid)]void **ppvTransaction);
119 }
120 [
121  object,
122  uuid(17cf72d0-bac5-11d1-b1bf-00c04fc2f3ef)
123 ]
125  HRESULT Push([in]char *i_pszRemoteTmUrl,[out]char **o_ppszRemoteTxUrl);
126  HRESULT GetTransactionUrl([out]char **o_ppszLocalTxUrl);
127 }
128 [
129  object,
130  uuid(17cf72d1-bac5-11d1-b1bf-00c04fc2f3ef)
131 ]
132 interface ITipHelper : IUnknown {
133  HRESULT Pull([in]char *i_pszTxUrl,[out]ITransaction **o_ppITransaction);
134  HRESULT PullAsync([in]char *i_pszTxUrl,[in]ITipPullSink *i_pTipPullSink,[out]ITransaction **o_ppITransaction);
135  HRESULT GetLocalTmUrl([out]char **o_ppszLocalTmUrl);
136 }
137 [
138  object,
139  uuid(17cf72d2-bac5-11d1-b1bf-00c04fc2f3ef)
140 ]
141 interface ITipPullSink : IUnknown {
142  HRESULT PullComplete([in]HRESULT i_hrPull);
143 }
144 [
145  object,
146  uuid(9797c15d-a428-4291-87b6-0995031a678d)
147 ]
148 interface IDtcNetworkAccessConfig : IUnknown {
149  HRESULT GetAnyNetworkAccess([out]BOOL *pbAnyNetworkAccess);
150  HRESULT SetAnyNetworkAccess([in]BOOL bAnyNetworkAccess);
151  HRESULT GetNetworkAdministrationAccess([out]BOOL *pbNetworkAdministrationAccess);
152  HRESULT SetNetworkAdministrationAccess([in]BOOL bNetworkAdministrationAccess);
153  HRESULT GetNetworkTransactionAccess([out]BOOL *pbNetworkTransactionAccess);
154  HRESULT SetNetworkTransactionAccess([in]BOOL bNetworkTransactionAccess);
155  HRESULT GetNetworkClientAccess([out]BOOL *pbNetworkClientAccess);
156  HRESULT SetNetworkClientAccess([in]BOOL bNetworkClientAccess);
157  HRESULT GetNetworkTIPAccess([out]BOOL *pbNetworkTIPAccess);
158  HRESULT SetNetworkTIPAccess([in]BOOL bNetworkTIPAccess);
159  HRESULT GetXAAccess([out]BOOL *pbXAAccess);
160  HRESULT SetXAAccess([in]BOOL bXAAccess);
161  HRESULT RestartDtcService(void);
162 }
163 
164 typedef enum AUTHENTICATION_LEVEL {
165  NO_AUTHENTICATION_REQUIRED,
167  MUTUAL_AUTHENTICATION_REQUIRED
169 
170 [
171  object,
172  uuid(a7aa013b-eb7d-4f42-b41c-b2dec09ae034)
173 ]
174 interface IDtcNetworkAccessConfig2 : IDtcNetworkAccessConfig {
181 }
HRESULT GetAuthenticationLevel([out]AUTHENTICATION_LEVEL *pAuthLevel)
HRESULT AbortRequest([in]BOID *pboidReason, [in]BOOL fRetaining, [in]XACTUOW *pNewUOW)
HRESULT hr
Definition: shlfolder.c:183
HRESULT PrepareRequestDone([in]HRESULT hr, [in]IMoniker *pmk, [in]BOID *pboidReason)
HRESULT TransactionOutcome([in]XACTSTAT XactStat, [in]BOID *pboidReason)
HRESULT GetTransactionUrl([out]char **o_ppszLocalTxUrl)
HRESULT PrepareRequest([in]BOOL fRetaining, [in]DWORD grfRM, [in]BOOL fWantMoniker, [in]BOOL fSinglePhase)
HRESULT TMDown(void)
HRESULT Push([in]char *i_pszRemoteTmUrl, [out]char **o_ppszRemoteTxUrl)
HRESULT GetRemoteClassId([in]CLSID *pclsid)
HRESULT PullComplete([in]HRESULT i_hrPull)
HRESULT GetTransactionCookie([in]IUnknown *punkTransaction, [in]ULONG cbTransactionCookie, [out]byte *rgbTransactionCookie, [out]ULONG *pcbUsed)
XACTSTAT
Definition: transact.idl:117
unsigned int BOOL
Definition: ntddk_ex.h:94
HRESULT ForgetRequest([in]XACTUOW *pNewUOW)
HRESULT Export([in]IUnknown *punkTransaction, [out]ULONG *pcbTransactionCookie)
HRESULT CommitRequest([in]DWORD grfRM, [in]XACTUOW *pNewUOW)
LONG HRESULT
Definition: typedefs.h:77
HRESULT CommitRequestDone([in]HRESULT hr)
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
enum INCOMING_AUTHENTICATION_REQUIRED
HRESULT GetNetworkInboundAccess([out]BOOL *pbInbound)
HRESULT DelegateCommit([in]DWORD grfRM)
HRESULT Import([in]ULONG cbTransactionCookie, [in]byte *rgbTransactionCookie, [in]IID *piid, [out, iid_is(piid)]void **ppvTransaction)
HRESULT PrepareRequest([in]BOOL fRetaining, [in]DWORD grfRM, [in]BOOL fWantMoniker, [in]BOOL fSinglePhase)
HRESULT AbortRequestDone([in]HRESULT hr)
HRESULT Create([in]ULONG cbWhereabouts, [in]byte *rgbWhereabouts, [out]ITransactionExport **ppExport)
HRESULT CommitRequest([in]DWORD grfRM, [in]XACTUOW *pNewUOW)
enum AUTHENTICATION_LEVEL
GLuint in
Definition: glext.h:9616
HRESULT SetNetworkOutboundAccess([in]BOOL bOutbound)
HRESULT SetNetworkInboundAccess([in]BOOL bInbound)
HRESULT GetWhereaboutsSize([out]ULONG *pcbWhereabouts)
HRESULT PullAsync([in]char *i_pszTxUrl, [in]ITipPullSink *i_pTipPullSink, [out]ITransaction **o_ppITransaction)
HRESULT GetLocalTmUrl([out]char **o_ppszLocalTmUrl)
HRESULT AbortRequest([in]BOID *pboidReason, [in]BOOL fRetaining, [in]XACTUOW *pNewUOW)
unsigned int ULONG
Definition: retypes.h:1
HRESULT Pull([in]char *i_pszTxUrl, [out]ITransaction **o_ppITransaction)
HRESULT GetNetworkOutboundAccess([out]BOOL *pbOutbound)
HRESULT GetWhereabouts([in]ULONG cbWhereabouts, [out]byte *rgbWhereabouts, [out]ULONG *pcbUsed)
void * object
Definition: jmemsys.h:48
HRESULT SetAuthenticationLevel([in]AUTHENTICATION_LEVEL AuthLevel)