Headers diff for xolehlp.dll between 2001.12.4720.3959-Windows 5.0 and 2001.12.6931.18000-Windows 6.0 versions



 dtchelp.h (2001.12.4720.3959-Windows 5.0)   dtchelp.h (2001.12.6931.18000-Windows 6.0) 
skipping to change at line 139 skipping to change at line 139
// Returns - S_OK if all is fine, E_FAIL other wise. // Returns - S_OK if all is fine, E_FAIL other wise.
// Note: this function is not thread safe // Note: this function is not thread safe
HRESULT __cdecl Uninitialize (void); HRESULT __cdecl Uninitialize (void);
// Function: GetDTCStatusW // Function: GetDTCStatusW
// Unicode version of GetDTCStatus - used to get the status of the DTC se rvice. // Unicode version of GetDTCStatus - used to get the status of the DTC se rvice.
// The wszHostName parameter specifies the node on which to perform the // The wszHostName parameter specifies the node on which to perform the
// operation. On Windows 9x this parameter must be either NULL or the lo cal // operation. On Windows 9x this parameter must be either NULL or the lo cal
// machine name. // machine name.
// Returns - the appropriate status from the enum DTC_STATUS // Returns - the appropriate status from the enum DTC_STATUS
DTC_STATUS __cdecl GetDTCStatusW (WCHAR * wszHostName); DTC_STATUS __cdecl GetDTCStatusW (__in LPWSTR wszHostName);
// Function: GetDTCStatusA // Function: GetDTCStatusA
// Ansi version of GetDTCStatus - used to get the status of the DTC servi ce // Ansi version of GetDTCStatus - used to get the status of the DTC servi ce
// The szHostName parameter specifies the node on which to perform the // The szHostName parameter specifies the node on which to perform the
// operation. On Windows 9x this parameter must be either NULL or the lo cal // operation. On Windows 9x this parameter must be either NULL or the lo cal
// machine name. // machine name.
// Returns - the appropriate status from the enum DTC_STATUS // Returns - the appropriate status from the enum DTC_STATUS
DTC_STATUS __cdecl GetDTCStatusA (LPSTR szHostName); DTC_STATUS __cdecl GetDTCStatusA (__in LPSTR szHostName);
// Function: StartDTCW // Function: StartDTCW
// Unicode version of StartDTC - used to start the DTC service. // Unicode version of StartDTC - used to start the DTC service.
// If the service is already started then the following is a no-op // If the service is already started then the following is a no-op
// The wszHostName parameter specifies the node on which to perform the // The wszHostName parameter specifies the node on which to perform the
// operation. On Windows 9x this parameter must be either NULL or the lo cal // operation. On Windows 9x this parameter must be either NULL or the lo cal
// machine name. // machine name.
// Returns - S_OK if all is ok // Returns - S_OK if all is ok
// E_FAIL if the operation failed for some reason. // E_FAIL if the operation failed for some reason.
// E_UNEXPECTED if an unexpected error occured. // E_UNEXPECTED if an unexpected error occured.
HRESULT __cdecl StartDTCW (WCHAR * wszHostName); HRESULT __cdecl StartDTCW (__in LPWSTR wszHostName);
// Function: StartDTCA // Function: StartDTCA
// Ansi version of StartDTC - used to start the DTC service. // Ansi version of StartDTC - used to start the DTC service.
// If the service is already started then the following is a no-op // If the service is already started then the following is a no-op
// The szHostName parameter specifies the node on which to perform the // The szHostName parameter specifies the node on which to perform the
// operation. On Windows 9x this parameter must be either NULL or the lo cal // operation. On Windows 9x this parameter must be either NULL or the lo cal
// machine name. // machine name.
// Returns - S_OK if all is ok // Returns - S_OK if all is ok
// E_FAIL if the operation failed for some reason. // E_FAIL if the operation failed for some reason.
// E_UNEXPECTED if an unexpected error occured. // E_UNEXPECTED if an unexpected error occured.
HRESULT __cdecl StartDTCA (LPSTR szHostName); HRESULT __cdecl StartDTCA (__in LPSTR szHostName);
// Function: StopDTCW // Function: StopDTCW
// Unicode version of StopDTC - used to stop the DTC service. // Unicode version of StopDTC - used to stop the DTC service.
// If the service is already stopped then the following is a no-op // If the service is already stopped then the following is a no-op
// The wszHostName parameter specifies the node on which to perform the // The wszHostName parameter specifies the node on which to perform the
// operation. On Windows 9x this parameter must be either NULL or the lo cal // operation. On Windows 9x this parameter must be either NULL or the lo cal
// machine name. // machine name.
// Returns - S_OK if all is ok // Returns - S_OK if all is ok
// E_FAIL if the operation failed for some reason. // E_FAIL if the operation failed for some reason.
// E_UNEXPECTED if an unexpected error occured. // E_UNEXPECTED if an unexpected error occured.
HRESULT __cdecl StopDTCW (WCHAR * wszHostName); HRESULT __cdecl StopDTCW (__in LPWSTR wszHostName);
// Function: StopDTCA // Function: StopDTCA
// Ansi version of StopDTC - used to stop the DTC service. // Ansi version of StopDTC - used to stop the DTC service.
// If the service is already stopped then the following is a no-op // If the service is already stopped then the following is a no-op
// The szHostName parameter specifies the node on which to perform the // The szHostName parameter specifies the node on which to perform the
// operation. On Windows 9x this parameter must be either NULL or the lo cal // operation. On Windows 9x this parameter must be either NULL or the lo cal
// machine name. // machine name.
// Returns - S_OK if all is ok // Returns - S_OK if all is ok
// E_FAIL if the operation failed for some reason. // E_FAIL if the operation failed for some reason.
// E_UNEXPECTED if an unexpected error occured. // E_UNEXPECTED if an unexpected error occured.
HRESULT __cdecl StopDTCA (LPSTR szHostName); HRESULT __cdecl StopDTCA (__in LPSTR szHostName);
// Function: DtcInstallClient // Function: DtcInstallClient
// Installs the client version of DTC. // Installs the client version of DTC.
// Parameters: i_pszRemoteTmHostName - the name of the host tm, // Parameters: i_pszRemoteTmHostName - the name of the host tm,
// i_szProt - the pro tocol to use in string format // i_szProt - the pro tocol to use in string format
// 0 x00000001 TCP/IP (1) // 0 x00000001 TCP/IP (1)
// 0 x00000002 SPX (2)
// 0 x00000004 NetBEUI (4) // 0 x00000004 NetBEUI (4)
// //
// i_dwOverwrite - overwrite previ ous install or not? // i_dwOverwrite - overwrite previ ous install or not?
// DTC_INSTALL_OVERWRITE_CLIENT = 0x0000000 1; // DTC_INSTALL_OVERWRITE_CLIENT = 0x0000000 1;
// 0=Overwrite existing client install // 0=Overwrite existing client install
// 1=dont overwrite existing client install // 1=dont overwrite existing client install
// DTC_INSTALL_OVERWRITE_SERVER = 0x0000000 2; // DTC_INSTALL_OVERWRITE_SERVER = 0x0000000 2;
// 0=Overwrite existing server install // 0=Overwrite existing server install
// 1=dont overwrite existing server install // 1=dont overwrite existing server install
// Returns - S_OK if all is ok // Returns - S_OK if all is ok
// E_FAIL if the operation failed for some reason // E_FAIL if the operation failed for some reason
// E_UNEXPECTED if an unexpected error occured // E_UNEXPECTED if an unexpected error occured
HRESULT __cdecl DtcInstallClient(LPTSTR i_pszRemoteTmHostName, DWORD i_dw Protocol, DWORD i_dwOverwrite); HRESULT __cdecl DtcInstallClient(__in LPTSTR i_pszRemoteTmHostName, DWORD i_dwProtocol, DWORD i_dwOverwrite);
} }
//--------------------------------------------------------- //---------------------------------------------------------
// ALL ERRORS GO HERE // ALL ERRORS GO HERE
//--------------------------------------------------------- //---------------------------------------------------------
#endif __DTCHELP_H__ #endif __DTCHELP_H__
 End of changes. 8 change blocks. 
8 lines changed or deleted 7 lines changed or added


 xolehlp.h (2001.12.4720.3959-Windows 5.0)   xolehlp.h (2001.12.6931.18000-Windows 6.0) 
// Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved. // Copyright (C) 1995-1999 Microsoft Corporation. All rights reserved.
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
Microsoft D.T.C (Distributed Transaction Coordinator) Microsoft D.T.C (Distributed Transaction Coordinator)
(c) 1995 Microsoft Corporation. All Rights Reserved (c) 1995 Microsoft Corporation. All Rights Reserved
Filename : xolehlp.h Filename : xolehlp.h
contains DTC helper APIs used by RM's and application cli contains DTC helper APIs used by RM's and application clients
ents to obtain the transaction manager
to obtain the transaction manager
----------------------------------------------------------------------------- */ ----------------------------------------------------------------------------- */
#ifndef __XOLEHLP__H__ #ifndef __XOLEHLP__H__
#define __XOLEHLP__H__ #define __XOLEHLP__H__
/*---------------------------------------- /*----------------------------------------
// Defines // Defines
//--------------------------------------*/ //--------------------------------------*/
#ifdef _M_CEE_PURE #ifdef _M_CEE_PURE
#define EXPORTAPI HRESULT #define EXPORTAPI HRESULT
#else #else
#define EXPORTAPI __declspec( dllexport )HRESULT #define EXPORTAPI __declspec( dllexport )HRESULT
#endif #endif
/*---------------------------------------- /*----------------------------------------
// Constants // Constants
//--------------------------------------*/ //--------------------------------------*/
const DWORD OLE_TM_CONFIG_VERSION_1 = 1; const DWORD OLE_TM_CONFIG_VERSION_1 = 1;
const DWORD OLE_TM_CONFIG_VERSION_2 = 2;
const DWORD OLE_TM_FLAG_NONE = 0x00000000; const DWORD OLE_TM_FLAG_NONE = 0x00000000;
const DWORD OLE_TM_FLAG_NODEMANDSTART = 0x00000001; const DWORD OLE_TM_FLAG_NODEMANDSTART = 0x00000001;
// The following are flags used specifically for MSDTC. // The following are flags used specifically for MSDTC.
const DWORD OLE_TM_FLAG_QUERY_SERVICE_LOCKSTATUS = 0x80000000; const DWORD OLE_TM_FLAG_QUERY_SERVICE_LOCKSTATUS = 0x80000000;
const DWORD OLE_TM_FLAG_INTERNAL_TO_TM = 0x4000 const DWORD OLE_TM_FLAG_INTERNAL_TO_TM = 0x40000000;
0000;
/*---------------------------------------- /*----------------------------------------
// Structure definitions // Structure definitions
//--------------------------------------*/ //--------------------------------------*/
typedef struct _OLE_TM_CONFIG_PARAMS_V1 typedef struct _OLE_TM_CONFIG_PARAMS_V1
{ {
DWORD dwVersion; DWORD dwVersion;
DWORD dwcConcurrencyHint; DWORD dwcConcurrencyHint;
} OLE_TM_CONFIG_PARAMS_V1; } OLE_TM_CONFIG_PARAMS_V1;
typedef struct _OLE_TM_CONFIG_PARAMS_V2
{
DWORD dwVersion;
DWORD dwcConcurrencyHint;
LPCWSTR pwszClusterResourceName;
} OLE_TM_CONFIG_PARAMS_V2;
/*---------------------------------------- /*----------------------------------------
// Function Prototypes // Function Prototypes
//--------------------------------------*/ //--------------------------------------*/
/*---------------------------------------- /*----------------------------------------
//This API should be used to obtain an IUnknown or a ITransactionDispenser //This API should be used to obtain an IUnknown or a ITransactionDispenser
//interface from the Microsoft Distributed Transaction Coordinator's proxy. //interface from the Microsoft Distributed Transaction Coordinator's proxy.
//Typically, a NULL is passed for the host name and the TM Name. In which //Typically, a NULL is passed for the host name and the TM Name. In which
//case the MS DTC on the same host is contacted and the interface provided //case the MS DTC on the same host is contacted and the interface provided
//for it. //for it.
//--------------------------------------*/ //--------------------------------------*/
EXPORTAPI __cdecl DtcGetTransactionManager( EXPORTAPI __cdecl DtcGetTransactionManager(
/* in */ /* in */ __in LPSTR i_pszHost,
char * i_pszHost, /* in */ __in LPSTR i_pszTmName,
/* in */ /* in */ REFIID i_riid,
char * i_pszTmName, /* in */ DWORD i_dwReserved1,
/* in */ /* in */ WORD i_wcbReserved2,
REFIID i_riid, /* in */ __in_bcount(i_wcbReserved2) void *
/* in */ DWOR i_pvReserved2,
D i_dwReserved1, /* out */ void** o_ppvObject
/* in */ WORD );
i_wcbReserved2,
/* in */ void
* i_pvReserved2,
/* out */
void** o_ppvObject
) ;
EXTERN_C HRESULT __cdecl DtcGetTransactionManagerC( EXTERN_C HRESULT __cdecl DtcGetTransactionManagerC(
/* in */ /* in */ __in LPSTR i_pszHost,
char * i_pszHost, /* in */ __in LPSTR i_pszTmName,
/* in */ /* in */ REFIID i_riid,
char * i_pszTmName, /* in */ DWORD i_dwReserved1,
/* in */ /* in */ WORD i_wcbReserved2,
REFIID i_riid, /* in */ __in_bcount(i_wcbReserved2) void *
/* in */ i_pvReserved2,
DWORD i_dwReserved1, /* out */ void ** o_ppvObject
/* in */ );
WORD i_wcbReserved2,
/* in */
void * i_pvReserved2,
/* out */
void ** o_ppvObject
);
EXTERN_C EXPORTAPI __cdecl DtcGetTransactionManagerExA( EXTERN_C EXPORTAPI __cdecl DtcGetTransactionManagerExA(
/* in */ /* in */ __in_opt LPSTR i_pszHost,
char * i_pszHost, /* in */ __in_opt LPSTR i_pszTmName,
/* in */ /* in */ REFIID i_riid,
char * i_pszTmName, /* in */ DWORD i_grfOptions,
/* in */ /* in */ void * i_pvConfigParams,
REFIID i_riid, /* out */ void ** o_ppvObject
/* in */ );
DWORD i_grfOptions,
/* in */
void * i_pvConfigParams,
/* out */
void ** o_ppvObject
);
EXTERN_C EXPORTAPI __cdecl DtcGetTransactionManagerExW( EXTERN_C EXPORTAPI __cdecl DtcGetTransactionManagerExW(
/* in */ /* in */ __in_opt LPWSTR i_pwszHost,
WCHAR * i_pwszHost, /* in */ __in_opt LPWSTR i_pwszTmName,
/* in */ /* in */ REFIID i_riid,
WCHAR * i_pwszTmName, /* in */ DWORD i_grfOptions,
/* in */ /* in */ void * i_pvConfigParams,
REFIID i_riid, /* out */ void ** o_ppvObject
/* in */ );
DWORD i_grfOptions,
/* in */
void * i_pvConfigParams,
/* out */
void ** o_ppvObject
);
#ifdef UNICODE #ifdef UNICODE
#define DtcGetTransactionManagerEx DtcGetTransactionManagerExW #define DtcGetTransactionManagerEx DtcGetTransactionManagerExW
#else #else
#define DtcGetTransactionManagerEx DtcGetTransactionManagerExA #define DtcGetTransactionManagerEx DtcGetTransactionManagerExA
#endif #endif
#ifndef EXTERN_GUID #ifndef EXTERN_GUID
#define EXTERN_GUID(g,l1,s1,s2,c1,c2,c3,c4,c5,c6,c7,c8) DEFINE_GUID(g,l1,s1,s2,c 1,c2,c3,c4,c5,c6,c7,c8) #define EXTERN_GUID(g,l1,s1,s2,c1,c2,c3,c4,c5,c6,c7,c8) DEFINE_GUID(g,l1,s1,s2,c 1,c2,c3,c4,c5,c6,c7,c8)
#endif #endif
/*---------------------------------------- /*----------------------------------------
// Define a CLSID that can be used to obtain a transaction manager instance via CoCreateInstance; // Define a CLSID that can be used to obtain a transaction manager instance via CoCreateInstance;
// this is an alternate to using DtcGetTransactionManager. // this is an alternate to using DtcGetTransactionManager.
// //
 End of changes. 17 change blocks. 
75 lines changed or deleted 57 lines changed or added

This html diff was produced by rfcdiff 1.41.