/*
* Copyright (C) 2013 Daniel JeliĆski
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
import "transact.idl";
import "objidl.idl";
interface ITransactionResourceAsync;
interface ITransactionLastResourceAsync;
interface ITransactionResource;
interface ITransactionEnlistmentAsync;
interface ITransactionLastEnlistmentAsync;
interface ITransactionExportFactory;
interface ITransactionImportWhereabouts;
interface ITransactionExport;
interface ITransactionImport;
interface ITipTransaction;
interface ITipHelper;
interface ITipPullSink;
interface IDtcNetworkAccessConfig;
interface IDtcNetworkAccessConfig2;
[
]
interface ITransactionResourceAsync : IUnknown {
HRESULT PrepareRequest([in]BOOL fRetaining,[in]DWORD grfRM,[in]BOOL fWantMoniker,[in]BOOL fSinglePhase);
};
[
]
interface ITransactionLastResourceAsync : IUnknown {
};
[
]
interface ITransactionResource : IUnknown {
HRESULT PrepareRequest([in]BOOL fRetaining,[in]DWORD grfRM,[in]BOOL fWantMoniker,[in]BOOL fSinglePhase);
};
[
]
interface ITransactionEnlistmentAsync : IUnknown {
};
[
]
interface ITransactionLastEnlistmentAsync : IUnknown {
};
[
]
interface ITransactionExportFactory : IUnknown {
HRESULT Create([in]ULONG cbWhereabouts,[in]byte *rgbWhereabouts,[out]ITransactionExport **ppExport);
};
[
]
interface ITransactionImportWhereabouts : IUnknown {
};
[
]
interface ITransactionExport : IUnknown {
HRESULT GetTransactionCookie([in]IUnknown *punkTransaction,[in]ULONG cbTransactionCookie,[out]byte *rgbTransactionCookie,[out]ULONG *pcbUsed);
};
[
]
interface ITransactionImport : IUnknown {
HRESULT Import([in]ULONG cbTransactionCookie,[in]byte *rgbTransactionCookie,[in]IID *piid,[out,iid_is(piid)]void **ppvTransaction);
};
[
]
interface ITipTransaction : IUnknown {
};
[
]
interface ITipHelper : IUnknown {
HRESULT PullAsync([in]char *i_pszTxUrl,[in]ITipPullSink *i_pTipPullSink,[out]ITransaction **o_ppITransaction);
};
[
]
interface ITipPullSink : IUnknown {
};
[
]
interface IDtcNetworkAccessConfig : IUnknown {
HRESULT RestartDtcService(void);
};
typedef enum AUTHENTICATION_LEVEL {
[
]
interface IDtcNetworkAccessConfig2 : IDtcNetworkAccessConfig {
};