| xolehlp.h (2001.12.6931.18000-Windows 6.0) | | xolehlp.h (2001.12.8530.16385-Windows 7.0) |
| | |
| skipping to change at line 30 | | skipping to change at line 30 |
| #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_CONFIG_VERSION_2 = 2; |
| | |
|
| | typedef enum _APPLICATIONTYPE |
| | { |
| | LOCAL_APPLICATIONTYPE, |
| | CLUSTERRESOURCE_APPLICATIONTYPE |
| | } APPLICATIONTYPE; |
| | |
| 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; |
| | |
|
| | // If this flag is set, the application specifies that it does not wish |
| | // to take advantage of any features that need agile recovery |
| | // support. |
| | // As a consequence, the application will be restricted to |
| | // using the default transaction manager on a cluster. |
| | const DWORD OLE_TM_FLAG_NOAGILERECOVERY = 0x00000002; |
| | |
| // 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 = 0x40000000; | | const DWORD OLE_TM_FLAG_INTERNAL_TO_TM = 0x40000000; |
| | |
| /*---------------------------------------- | | /*---------------------------------------- |
| // 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 | | typedef struct _OLE_TM_CONFIG_PARAMS_V2 |
| { | | { |
|
| DWORD dwVersion; | | DWORD dwVersion; |
| DWORD dwcConcurrencyHint; | | DWORD dwcConcurrencyHint; |
| LPCWSTR pwszClusterResourceName; | | APPLICATIONTYPE applicationType; |
| | GUID clusterResourceId; |
| } OLE_TM_CONFIG_PARAMS_V2; | | } 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 |
| | |
| End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 17 lines changed or added |
|