Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1156 lines
42 KiB

  1. //--------------------------------------------------------------------
  2. //
  3. // Microsoft In-Memory Database
  4. // (C) Copyright 1998 By Microsoft Corporation.
  5. //
  6. //
  7. //--------------------------------------------------------------------
  8. #ifndef _MSIMDB_H_
  9. #define _MSIMDB_H_
  10. //
  11. // MSIMDB property specific definitions
  12. //
  13. // The GUID for the MSIMDB specific property set on the session
  14. //
  15. // {AFE68CE9-C367-11d1-AC4F-0000F8758E41}
  16. _declspec(selectany) extern const GUID DBPROPSET_IMDBSESSION =
  17. { 0xafe68ce9, 0xc367, 0x11d1, { 0xac, 0x4f, 0x0, 0x0, 0xf8, 0x75, 0x8e, 0x41 } };
  18. //----------------------------------------------------------------------------
  19. // Props for DBPROPSET_IMDBSESSION
  20. //
  21. #define IMDBPROP_SESS_ISOLEVEL 0x01 // I4
  22. // DBPROPVAL_TI_READCOMMITTED (Default),
  23. // DBPROPVAL_TI_REPEATABLEREAD,
  24. // DBPROPVAL_TI_SERIALIZABLE
  25. #define IMDBPROP_SESS_OPENROWSET_TIMEOUT 0x02 // I2 0 (30s wait, Default)
  26. #define IMDBPROP_SESS_SMALL_TABLES 0x03 // BOOL VARIANT_FALSE (Default)
  27. #define IMDBPROP_SESS_PESSIMISTIC_LOCKING 0x04 // BOOL VARIANT_FALSE (Default)
  28. #define IMDBPROP_SESS_WRITE_THROUGH 0x05 // BOOL VARIANT_FALSE (Default)
  29. #define IMDBPROP_SESS_CREATE_COHERENT 0x06 // BOOL VARIANT_TRUE (Default)
  30. #define IMDBPROP_SESS_DROP_COHERENT 0x07 // BOOL VARIANT_TRUE (Default)
  31. #define IMDBPROP_SESS_ROWSET_LIFETIME 0x08 // I4 300 (300s wait, Default)
  32. #define IMDBPROP_SESS_OPENROWSET_TIMEOUT_DEFAULT_VALUE 30
  33. #define IMDBPROP_SESS_OPENROWSET_TIMEOUT_MIN_VALUE 0
  34. #define IMDBPROP_SESS_OPENROWSET_TIMEOUT_MAX_VALUE 0xffff
  35. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  36. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  37. /* File created by MIDL compiler version 5.02.0221 */
  38. /* at Mon Dec 14 12:35:36 1998
  39. */
  40. /* Compiler settings for tspm.idl:
  41. Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  42. error checks: allocation ref bounds_check enum stub_data
  43. VC __declspec() decoration level:
  44. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  45. DECLSPEC_UUID(), MIDL_INTERFACE()
  46. */
  47. //@@MIDL_FILE_HEADING( )
  48. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  49. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  50. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  51. #endif
  52. #include "rpc.h"
  53. #include "rpcndr.h"
  54. #ifndef __RPCNDR_H_VERSION__
  55. #error this stub requires an updated version of <rpcndr.h>
  56. #endif // __RPCNDR_H_VERSION__
  57. #ifndef COM_NO_WINDOWS_H
  58. #include "windows.h"
  59. #include "ole2.h"
  60. #endif /*COM_NO_WINDOWS_H*/
  61. #ifndef __tspm_h__
  62. #define __tspm_h__
  63. /* Forward Declarations */
  64. #ifndef __ITxProperty_FWD_DEFINED__
  65. #define __ITxProperty_FWD_DEFINED__
  66. typedef interface ITxProperty ITxProperty;
  67. #endif /* __ITxProperty_FWD_DEFINED__ */
  68. #ifndef __ITxPropertyGroup_FWD_DEFINED__
  69. #define __ITxPropertyGroup_FWD_DEFINED__
  70. typedef interface ITxPropertyGroup ITxPropertyGroup;
  71. #endif /* __ITxPropertyGroup_FWD_DEFINED__ */
  72. #ifndef __ITxPropertyGroupManager_FWD_DEFINED__
  73. #define __ITxPropertyGroupManager_FWD_DEFINED__
  74. typedef interface ITxPropertyGroupManager ITxPropertyGroupManager;
  75. #endif /* __ITxPropertyGroupManager_FWD_DEFINED__ */
  76. #ifndef __TransactedPropertyGroupManager_FWD_DEFINED__
  77. #define __TransactedPropertyGroupManager_FWD_DEFINED__
  78. #ifdef __cplusplus
  79. typedef class TransactedPropertyGroupManager TransactedPropertyGroupManager;
  80. #else
  81. typedef struct TransactedPropertyGroupManager TransactedPropertyGroupManager;
  82. #endif /* __cplusplus */
  83. #endif /* __TransactedPropertyGroupManager_FWD_DEFINED__ */
  84. #ifndef __TransactedPropertyGroup_FWD_DEFINED__
  85. #define __TransactedPropertyGroup_FWD_DEFINED__
  86. #ifdef __cplusplus
  87. typedef class TransactedPropertyGroup TransactedPropertyGroup;
  88. #else
  89. typedef struct TransactedPropertyGroup TransactedPropertyGroup;
  90. #endif /* __cplusplus */
  91. #endif /* __TransactedPropertyGroup_FWD_DEFINED__ */
  92. #ifndef __TransactedProperty_FWD_DEFINED__
  93. #define __TransactedProperty_FWD_DEFINED__
  94. #ifdef __cplusplus
  95. typedef class TransactedProperty TransactedProperty;
  96. #else
  97. typedef struct TransactedProperty TransactedProperty;
  98. #endif /* __cplusplus */
  99. #endif /* __TransactedProperty_FWD_DEFINED__ */
  100. /* header files for imported files */
  101. #include "oaidl.h"
  102. #include "ocidl.h"
  103. #ifdef __cplusplus
  104. extern "C"{
  105. #endif
  106. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  107. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  108. /* interface __MIDL_itf_tspm_0000 */
  109. /* [local] */
  110. //=--------------------------------------------------------------------------=
  111. // @doc
  112. //
  113. // @module TSPM.H | TSPM interfaces:
  114. // ITxProperty
  115. // ITxPropertyGroup
  116. // ITxPropertyGroupManager
  117. //
  118. // Copyright (c) 1998, Microsoft Corporation, All Rights Reserved
  119. //=--------------------------------------------------------------------------=
  120. //=--------------------------------------------------------------------------=
  121. // Interface Definitions
  122. //=--------------------------------------------------------------------------=
  123. typedef /* [public] */
  124. enum __MIDL___MIDL_itf_tspm_0000_0001
  125. { DISPID_CREATEGROUP = 1,
  126. DISPID_REMOVEGROUP = DISPID_CREATEGROUP + 1,
  127. DISPID_CREATEPROPERTY = DISPID_REMOVEGROUP + 1,
  128. DISPID_GETPROPERTY = DISPID_CREATEPROPERTY + 1,
  129. DISPID_REMOVEPROPERTY = DISPID_GETPROPERTY + 1,
  130. DISPID_GETGROUP = DISPID_REMOVEPROPERTY + 1
  131. } TSPM_METHODS;
  132. typedef /* [public] */
  133. enum __MIDL___MIDL_itf_tspm_0000_0002
  134. { DISPID_NAME = 140,
  135. DISPID_PROPERTYGROUP = DISPID_NAME + 1,
  136. DISPID_ISOLATIONLEVEL = DISPID_PROPERTYGROUP + 1,
  137. DISPID_CONCURRENCYMODE = DISPID_ISOLATIONLEVEL + 1,
  138. DISPID_PROPERTYGROUPMANAGER = DISPID_CONCURRENCYMODE + 1,
  139. DISPID_COUNT = DISPID_PROPERTYGROUPMANAGER + 1,
  140. DISPID_CACHECOHERENTLY = DISPID_COUNT + 1,
  141. DISPID_WRITETHROUGH = DISPID_CACHECOHERENTLY + 1
  142. } TSPM_PROPERTIES;
  143. extern RPC_IF_HANDLE __MIDL_itf_tspm_0000_v0_0_c_ifspec;
  144. extern RPC_IF_HANDLE __MIDL_itf_tspm_0000_v0_0_s_ifspec;
  145. #ifndef __ITxProperty_INTERFACE_DEFINED__
  146. #define __ITxProperty_INTERFACE_DEFINED__
  147. /* interface ITxProperty */
  148. /* [unique][helpstring][dual][uuid][object] */
  149. EXTERN_C const IID IID_ITxProperty;
  150. #if defined(__cplusplus) && !defined(CINTERFACE)
  151. MIDL_INTERFACE("6A8DEEA8-4101-11D2-912C-0000F8758E8D")
  152. ITxProperty : public IDispatch
  153. {
  154. public:
  155. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  156. /* [retval][out] */ BSTR __RPC_FAR *pbstrPropertyName) = 0;
  157. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_PropertyGroup(
  158. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppPropertyGroup) = 0;
  159. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Value(
  160. /* [retval][out] */ VARIANT __RPC_FAR *pvarPropertyValue) = 0;
  161. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Value(
  162. /* [in] */ VARIANT varPropertyValue) = 0;
  163. };
  164. #else /* C style interface */
  165. typedef struct ITxPropertyVtbl
  166. {
  167. BEGIN_INTERFACE
  168. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  169. ITxProperty __RPC_FAR * This,
  170. /* [in] */ REFIID riid,
  171. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  172. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  173. ITxProperty __RPC_FAR * This);
  174. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  175. ITxProperty __RPC_FAR * This);
  176. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  177. ITxProperty __RPC_FAR * This,
  178. /* [out] */ UINT __RPC_FAR *pctinfo);
  179. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  180. ITxProperty __RPC_FAR * This,
  181. /* [in] */ UINT iTInfo,
  182. /* [in] */ LCID lcid,
  183. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  184. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  185. ITxProperty __RPC_FAR * This,
  186. /* [in] */ REFIID riid,
  187. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  188. /* [in] */ UINT cNames,
  189. /* [in] */ LCID lcid,
  190. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  191. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  192. ITxProperty __RPC_FAR * This,
  193. /* [in] */ DISPID dispIdMember,
  194. /* [in] */ REFIID riid,
  195. /* [in] */ LCID lcid,
  196. /* [in] */ WORD wFlags,
  197. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  198. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  199. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  200. /* [out] */ UINT __RPC_FAR *puArgErr);
  201. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  202. ITxProperty __RPC_FAR * This,
  203. /* [retval][out] */ BSTR __RPC_FAR *pbstrPropertyName);
  204. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PropertyGroup )(
  205. ITxProperty __RPC_FAR * This,
  206. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppPropertyGroup);
  207. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Value )(
  208. ITxProperty __RPC_FAR * This,
  209. /* [retval][out] */ VARIANT __RPC_FAR *pvarPropertyValue);
  210. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Value )(
  211. ITxProperty __RPC_FAR * This,
  212. /* [in] */ VARIANT varPropertyValue);
  213. END_INTERFACE
  214. } ITxPropertyVtbl;
  215. interface ITxProperty
  216. {
  217. CONST_VTBL struct ITxPropertyVtbl __RPC_FAR *lpVtbl;
  218. };
  219. #ifdef COBJMACROS
  220. #define ITxProperty_QueryInterface(This,riid,ppvObject) \
  221. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  222. #define ITxProperty_AddRef(This) \
  223. (This)->lpVtbl -> AddRef(This)
  224. #define ITxProperty_Release(This) \
  225. (This)->lpVtbl -> Release(This)
  226. #define ITxProperty_GetTypeInfoCount(This,pctinfo) \
  227. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  228. #define ITxProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  229. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  230. #define ITxProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  231. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  232. #define ITxProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  233. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  234. #define ITxProperty_get_Name(This,pbstrPropertyName) \
  235. (This)->lpVtbl -> get_Name(This,pbstrPropertyName)
  236. #define ITxProperty_get_PropertyGroup(This,ppPropertyGroup) \
  237. (This)->lpVtbl -> get_PropertyGroup(This,ppPropertyGroup)
  238. #define ITxProperty_get_Value(This,pvarPropertyValue) \
  239. (This)->lpVtbl -> get_Value(This,pvarPropertyValue)
  240. #define ITxProperty_put_Value(This,varPropertyValue) \
  241. (This)->lpVtbl -> put_Value(This,varPropertyValue)
  242. #endif /* COBJMACROS */
  243. #endif /* C style interface */
  244. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxProperty_get_Name_Proxy(
  245. ITxProperty __RPC_FAR * This,
  246. /* [retval][out] */ BSTR __RPC_FAR *pbstrPropertyName);
  247. void __RPC_STUB ITxProperty_get_Name_Stub(
  248. IRpcStubBuffer *This,
  249. IRpcChannelBuffer *_pRpcChannelBuffer,
  250. PRPC_MESSAGE _pRpcMessage,
  251. DWORD *_pdwStubPhase);
  252. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxProperty_get_PropertyGroup_Proxy(
  253. ITxProperty __RPC_FAR * This,
  254. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppPropertyGroup);
  255. void __RPC_STUB ITxProperty_get_PropertyGroup_Stub(
  256. IRpcStubBuffer *This,
  257. IRpcChannelBuffer *_pRpcChannelBuffer,
  258. PRPC_MESSAGE _pRpcMessage,
  259. DWORD *_pdwStubPhase);
  260. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxProperty_get_Value_Proxy(
  261. ITxProperty __RPC_FAR * This,
  262. /* [retval][out] */ VARIANT __RPC_FAR *pvarPropertyValue);
  263. void __RPC_STUB ITxProperty_get_Value_Stub(
  264. IRpcStubBuffer *This,
  265. IRpcChannelBuffer *_pRpcChannelBuffer,
  266. PRPC_MESSAGE _pRpcMessage,
  267. DWORD *_pdwStubPhase);
  268. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITxProperty_put_Value_Proxy(
  269. ITxProperty __RPC_FAR * This,
  270. /* [in] */ VARIANT varPropertyValue);
  271. void __RPC_STUB ITxProperty_put_Value_Stub(
  272. IRpcStubBuffer *This,
  273. IRpcChannelBuffer *_pRpcChannelBuffer,
  274. PRPC_MESSAGE _pRpcMessage,
  275. DWORD *_pdwStubPhase);
  276. #endif /* __ITxProperty_INTERFACE_DEFINED__ */
  277. #ifndef __ITxPropertyGroup_INTERFACE_DEFINED__
  278. #define __ITxPropertyGroup_INTERFACE_DEFINED__
  279. /* interface ITxPropertyGroup */
  280. /* [unique][helpstring][dual][uuid][object] */
  281. EXTERN_C const IID IID_ITxPropertyGroup;
  282. #if defined(__cplusplus) && !defined(CINTERFACE)
  283. MIDL_INTERFACE("46DB591E-4101-11D2-912C-0000F8758E8D")
  284. ITxPropertyGroup : public IDispatch
  285. {
  286. public:
  287. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateProperty(
  288. /* [string][in] */ const BSTR bstrPropertyName,
  289. /* [in] */ VARIANT_BOOL __RPC_FAR *pvarboolExists,
  290. /* [retval][out] */ ITxProperty __RPC_FAR *__RPC_FAR *ppTxProperty) = 0;
  291. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetProperty(
  292. /* [string][in] */ const BSTR bstrPropertyName,
  293. /* [retval][out] */ ITxProperty __RPC_FAR *__RPC_FAR *ppTxProperty) = 0;
  294. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveProperty(
  295. /* [string][in] */ const BSTR bstrPropertyName) = 0;
  296. virtual /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE _NewEnum(
  297. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppIEnumObjects) = 0;
  298. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  299. /* [retval][out] */ BSTR __RPC_FAR *pbstrPropertyGroupName) = 0;
  300. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_WriteThrough(
  301. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarboolWriteThrough) = 0;
  302. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_CacheCoherently(
  303. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarboolCacheCoherently) = 0;
  304. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_PropertyGroupManager(
  305. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppPropertyGroupManager) = 0;
  306. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  307. /* [retval][out] */ long __RPC_FAR *plCountProperties) = 0;
  308. };
  309. #else /* C style interface */
  310. typedef struct ITxPropertyGroupVtbl
  311. {
  312. BEGIN_INTERFACE
  313. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  314. ITxPropertyGroup __RPC_FAR * This,
  315. /* [in] */ REFIID riid,
  316. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  317. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  318. ITxPropertyGroup __RPC_FAR * This);
  319. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  320. ITxPropertyGroup __RPC_FAR * This);
  321. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  322. ITxPropertyGroup __RPC_FAR * This,
  323. /* [out] */ UINT __RPC_FAR *pctinfo);
  324. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  325. ITxPropertyGroup __RPC_FAR * This,
  326. /* [in] */ UINT iTInfo,
  327. /* [in] */ LCID lcid,
  328. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  329. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  330. ITxPropertyGroup __RPC_FAR * This,
  331. /* [in] */ REFIID riid,
  332. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  333. /* [in] */ UINT cNames,
  334. /* [in] */ LCID lcid,
  335. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  336. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  337. ITxPropertyGroup __RPC_FAR * This,
  338. /* [in] */ DISPID dispIdMember,
  339. /* [in] */ REFIID riid,
  340. /* [in] */ LCID lcid,
  341. /* [in] */ WORD wFlags,
  342. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  343. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  344. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  345. /* [out] */ UINT __RPC_FAR *puArgErr);
  346. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateProperty )(
  347. ITxPropertyGroup __RPC_FAR * This,
  348. /* [string][in] */ const BSTR bstrPropertyName,
  349. /* [in] */ VARIANT_BOOL __RPC_FAR *pvarboolExists,
  350. /* [retval][out] */ ITxProperty __RPC_FAR *__RPC_FAR *ppTxProperty);
  351. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProperty )(
  352. ITxPropertyGroup __RPC_FAR * This,
  353. /* [string][in] */ const BSTR bstrPropertyName,
  354. /* [retval][out] */ ITxProperty __RPC_FAR *__RPC_FAR *ppTxProperty);
  355. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemoveProperty )(
  356. ITxPropertyGroup __RPC_FAR * This,
  357. /* [string][in] */ const BSTR bstrPropertyName);
  358. /* [helpstring][id][hidden] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  359. ITxPropertyGroup __RPC_FAR * This,
  360. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppIEnumObjects);
  361. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Name )(
  362. ITxPropertyGroup __RPC_FAR * This,
  363. /* [retval][out] */ BSTR __RPC_FAR *pbstrPropertyGroupName);
  364. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_WriteThrough )(
  365. ITxPropertyGroup __RPC_FAR * This,
  366. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarboolWriteThrough);
  367. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_CacheCoherently )(
  368. ITxPropertyGroup __RPC_FAR * This,
  369. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarboolCacheCoherently);
  370. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PropertyGroupManager )(
  371. ITxPropertyGroup __RPC_FAR * This,
  372. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppPropertyGroupManager);
  373. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  374. ITxPropertyGroup __RPC_FAR * This,
  375. /* [retval][out] */ long __RPC_FAR *plCountProperties);
  376. END_INTERFACE
  377. } ITxPropertyGroupVtbl;
  378. interface ITxPropertyGroup
  379. {
  380. CONST_VTBL struct ITxPropertyGroupVtbl __RPC_FAR *lpVtbl;
  381. };
  382. #ifdef COBJMACROS
  383. #define ITxPropertyGroup_QueryInterface(This,riid,ppvObject) \
  384. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  385. #define ITxPropertyGroup_AddRef(This) \
  386. (This)->lpVtbl -> AddRef(This)
  387. #define ITxPropertyGroup_Release(This) \
  388. (This)->lpVtbl -> Release(This)
  389. #define ITxPropertyGroup_GetTypeInfoCount(This,pctinfo) \
  390. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  391. #define ITxPropertyGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  392. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  393. #define ITxPropertyGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  394. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  395. #define ITxPropertyGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  396. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  397. #define ITxPropertyGroup_CreateProperty(This,bstrPropertyName,pvarboolExists,ppTxProperty) \
  398. (This)->lpVtbl -> CreateProperty(This,bstrPropertyName,pvarboolExists,ppTxProperty)
  399. #define ITxPropertyGroup_GetProperty(This,bstrPropertyName,ppTxProperty) \
  400. (This)->lpVtbl -> GetProperty(This,bstrPropertyName,ppTxProperty)
  401. #define ITxPropertyGroup_RemoveProperty(This,bstrPropertyName) \
  402. (This)->lpVtbl -> RemoveProperty(This,bstrPropertyName)
  403. #define ITxPropertyGroup__NewEnum(This,ppIEnumObjects) \
  404. (This)->lpVtbl -> _NewEnum(This,ppIEnumObjects)
  405. #define ITxPropertyGroup_get_Name(This,pbstrPropertyGroupName) \
  406. (This)->lpVtbl -> get_Name(This,pbstrPropertyGroupName)
  407. #define ITxPropertyGroup_get_WriteThrough(This,pvarboolWriteThrough) \
  408. (This)->lpVtbl -> get_WriteThrough(This,pvarboolWriteThrough)
  409. #define ITxPropertyGroup_get_CacheCoherently(This,pvarboolCacheCoherently) \
  410. (This)->lpVtbl -> get_CacheCoherently(This,pvarboolCacheCoherently)
  411. #define ITxPropertyGroup_get_PropertyGroupManager(This,ppPropertyGroupManager) \
  412. (This)->lpVtbl -> get_PropertyGroupManager(This,ppPropertyGroupManager)
  413. #define ITxPropertyGroup_get_Count(This,plCountProperties) \
  414. (This)->lpVtbl -> get_Count(This,plCountProperties)
  415. #endif /* COBJMACROS */
  416. #endif /* C style interface */
  417. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup_CreateProperty_Proxy(
  418. ITxPropertyGroup __RPC_FAR * This,
  419. /* [string][in] */ const BSTR bstrPropertyName,
  420. /* [in] */ VARIANT_BOOL __RPC_FAR *pvarboolExists,
  421. /* [retval][out] */ ITxProperty __RPC_FAR *__RPC_FAR *ppTxProperty);
  422. void __RPC_STUB ITxPropertyGroup_CreateProperty_Stub(
  423. IRpcStubBuffer *This,
  424. IRpcChannelBuffer *_pRpcChannelBuffer,
  425. PRPC_MESSAGE _pRpcMessage,
  426. DWORD *_pdwStubPhase);
  427. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup_GetProperty_Proxy(
  428. ITxPropertyGroup __RPC_FAR * This,
  429. /* [string][in] */ const BSTR bstrPropertyName,
  430. /* [retval][out] */ ITxProperty __RPC_FAR *__RPC_FAR *ppTxProperty);
  431. void __RPC_STUB ITxPropertyGroup_GetProperty_Stub(
  432. IRpcStubBuffer *This,
  433. IRpcChannelBuffer *_pRpcChannelBuffer,
  434. PRPC_MESSAGE _pRpcMessage,
  435. DWORD *_pdwStubPhase);
  436. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup_RemoveProperty_Proxy(
  437. ITxPropertyGroup __RPC_FAR * This,
  438. /* [string][in] */ const BSTR bstrPropertyName);
  439. void __RPC_STUB ITxPropertyGroup_RemoveProperty_Stub(
  440. IRpcStubBuffer *This,
  441. IRpcChannelBuffer *_pRpcChannelBuffer,
  442. PRPC_MESSAGE _pRpcMessage,
  443. DWORD *_pdwStubPhase);
  444. /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup__NewEnum_Proxy(
  445. ITxPropertyGroup __RPC_FAR * This,
  446. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppIEnumObjects);
  447. void __RPC_STUB ITxPropertyGroup__NewEnum_Stub(
  448. IRpcStubBuffer *This,
  449. IRpcChannelBuffer *_pRpcChannelBuffer,
  450. PRPC_MESSAGE _pRpcMessage,
  451. DWORD *_pdwStubPhase);
  452. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup_get_Name_Proxy(
  453. ITxPropertyGroup __RPC_FAR * This,
  454. /* [retval][out] */ BSTR __RPC_FAR *pbstrPropertyGroupName);
  455. void __RPC_STUB ITxPropertyGroup_get_Name_Stub(
  456. IRpcStubBuffer *This,
  457. IRpcChannelBuffer *_pRpcChannelBuffer,
  458. PRPC_MESSAGE _pRpcMessage,
  459. DWORD *_pdwStubPhase);
  460. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup_get_WriteThrough_Proxy(
  461. ITxPropertyGroup __RPC_FAR * This,
  462. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarboolWriteThrough);
  463. void __RPC_STUB ITxPropertyGroup_get_WriteThrough_Stub(
  464. IRpcStubBuffer *This,
  465. IRpcChannelBuffer *_pRpcChannelBuffer,
  466. PRPC_MESSAGE _pRpcMessage,
  467. DWORD *_pdwStubPhase);
  468. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup_get_CacheCoherently_Proxy(
  469. ITxPropertyGroup __RPC_FAR * This,
  470. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarboolCacheCoherently);
  471. void __RPC_STUB ITxPropertyGroup_get_CacheCoherently_Stub(
  472. IRpcStubBuffer *This,
  473. IRpcChannelBuffer *_pRpcChannelBuffer,
  474. PRPC_MESSAGE _pRpcMessage,
  475. DWORD *_pdwStubPhase);
  476. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup_get_PropertyGroupManager_Proxy(
  477. ITxPropertyGroup __RPC_FAR * This,
  478. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppPropertyGroupManager);
  479. void __RPC_STUB ITxPropertyGroup_get_PropertyGroupManager_Stub(
  480. IRpcStubBuffer *This,
  481. IRpcChannelBuffer *_pRpcChannelBuffer,
  482. PRPC_MESSAGE _pRpcMessage,
  483. DWORD *_pdwStubPhase);
  484. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroup_get_Count_Proxy(
  485. ITxPropertyGroup __RPC_FAR * This,
  486. /* [retval][out] */ long __RPC_FAR *plCountProperties);
  487. void __RPC_STUB ITxPropertyGroup_get_Count_Stub(
  488. IRpcStubBuffer *This,
  489. IRpcChannelBuffer *_pRpcChannelBuffer,
  490. PRPC_MESSAGE _pRpcMessage,
  491. DWORD *_pdwStubPhase);
  492. #endif /* __ITxPropertyGroup_INTERFACE_DEFINED__ */
  493. #ifndef __ITxPropertyGroupManager_INTERFACE_DEFINED__
  494. #define __ITxPropertyGroupManager_INTERFACE_DEFINED__
  495. /* interface ITxPropertyGroupManager */
  496. /* [unique][helpstring][dual][uuid][object] */
  497. //=--------------------------------------------------------------------------=
  498. // Enumerated Properties
  499. //=--------------------------------------------------------------------------=
  500. typedef
  501. enum tagTSPM_ISOLATIONLEVEL
  502. {
  503. IsoLevelReadCommitted = 0,
  504. IsoLevelRepeatableRead = 1,
  505. IsoLevelSerializable = 2
  506. } TSPM_ISOLATIONLEVEL;
  507. typedef
  508. enum tagTSPM_CONCURRENCYMODE
  509. {
  510. ConcurModeOptimistic = 0,
  511. ConcurModePessimistic = 1
  512. } TSPM_CONCURRENCYMODE;
  513. typedef
  514. enum tagTSPM_SECURITYSETTING
  515. {
  516. SecurityAllAccess = 0,
  517. SecurityUserAccount = 1,
  518. SecuritySelectedAccounts = 2
  519. } TSPM_SECURITYSETTING;
  520. EXTERN_C const IID IID_ITxPropertyGroupManager;
  521. #if defined(__cplusplus) && !defined(CINTERFACE)
  522. MIDL_INTERFACE("B97C237C-7D7E-11D2-BEA0-00805F0D8F97")
  523. ITxPropertyGroupManager : public IDispatch
  524. {
  525. public:
  526. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreatePropertyGroup(
  527. /* [string][in] */ const BSTR bstrPropertyGroupName,
  528. /* [out] */ VARIANT_BOOL __RPC_FAR *pvarboolExists,
  529. /* [in] */ VARIANT_BOOL varboolWriteThrough,
  530. /* [in] */ VARIANT_BOOL varboolRemoveAtProcessTermination,
  531. /* [in] */ TSPM_SECURITYSETTING eSecuritySetting,
  532. /* [string][in] */ const BSTR bstrAccessAccounts,
  533. /* [in] */ VARIANT_BOOL varboolReserved,
  534. /* [retval][out] */ ITxPropertyGroup __RPC_FAR *__RPC_FAR *ppTxPropertyGroup) = 0;
  535. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPropertyGroup(
  536. /* [string][in] */ const BSTR bstrPropertyGroupName,
  537. /* [in] */ VARIANT_BOOL varboolWriteThrough,
  538. /* [retval][out] */ ITxPropertyGroup __RPC_FAR *__RPC_FAR *ppTxPropertyGroup) = 0;
  539. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemovePropertyGroup(
  540. /* [string][in] */ const BSTR bstrPropertyGroupName) = 0;
  541. virtual /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE _NewEnum(
  542. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppIEnumObjects) = 0;
  543. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_IsolationLevel(
  544. /* [retval][out] */ TSPM_ISOLATIONLEVEL __RPC_FAR *peIsolationLevel) = 0;
  545. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_IsolationLevel(
  546. /* [in] */ TSPM_ISOLATIONLEVEL eIsolationLevel) = 0;
  547. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_ConcurrencyMode(
  548. /* [retval][out] */ TSPM_CONCURRENCYMODE __RPC_FAR *peConcurrencyMode) = 0;
  549. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_ConcurrencyMode(
  550. /* [in] */ TSPM_CONCURRENCYMODE eConcurrencyMode) = 0;
  551. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Count(
  552. /* [retval][out] */ long __RPC_FAR *plCountPropertyGroups) = 0;
  553. };
  554. #else /* C style interface */
  555. typedef struct ITxPropertyGroupManagerVtbl
  556. {
  557. BEGIN_INTERFACE
  558. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  559. ITxPropertyGroupManager __RPC_FAR * This,
  560. /* [in] */ REFIID riid,
  561. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  562. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  563. ITxPropertyGroupManager __RPC_FAR * This);
  564. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  565. ITxPropertyGroupManager __RPC_FAR * This);
  566. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  567. ITxPropertyGroupManager __RPC_FAR * This,
  568. /* [out] */ UINT __RPC_FAR *pctinfo);
  569. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  570. ITxPropertyGroupManager __RPC_FAR * This,
  571. /* [in] */ UINT iTInfo,
  572. /* [in] */ LCID lcid,
  573. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  574. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  575. ITxPropertyGroupManager __RPC_FAR * This,
  576. /* [in] */ REFIID riid,
  577. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  578. /* [in] */ UINT cNames,
  579. /* [in] */ LCID lcid,
  580. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  581. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  582. ITxPropertyGroupManager __RPC_FAR * This,
  583. /* [in] */ DISPID dispIdMember,
  584. /* [in] */ REFIID riid,
  585. /* [in] */ LCID lcid,
  586. /* [in] */ WORD wFlags,
  587. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  588. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  589. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  590. /* [out] */ UINT __RPC_FAR *puArgErr);
  591. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreatePropertyGroup )(
  592. ITxPropertyGroupManager __RPC_FAR * This,
  593. /* [string][in] */ const BSTR bstrPropertyGroupName,
  594. /* [out] */ VARIANT_BOOL __RPC_FAR *pvarboolExists,
  595. /* [in] */ VARIANT_BOOL varboolWriteThrough,
  596. /* [in] */ VARIANT_BOOL varboolRemoveAtProcessTermination,
  597. /* [in] */ TSPM_SECURITYSETTING eSecuritySetting,
  598. /* [string][in] */ const BSTR bstrAccessAccounts,
  599. /* [in] */ VARIANT_BOOL varboolReserved,
  600. /* [retval][out] */ ITxPropertyGroup __RPC_FAR *__RPC_FAR *ppTxPropertyGroup);
  601. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPropertyGroup )(
  602. ITxPropertyGroupManager __RPC_FAR * This,
  603. /* [string][in] */ const BSTR bstrPropertyGroupName,
  604. /* [in] */ VARIANT_BOOL varboolWriteThrough,
  605. /* [retval][out] */ ITxPropertyGroup __RPC_FAR *__RPC_FAR *ppTxPropertyGroup);
  606. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RemovePropertyGroup )(
  607. ITxPropertyGroupManager __RPC_FAR * This,
  608. /* [string][in] */ const BSTR bstrPropertyGroupName);
  609. /* [helpstring][id][hidden] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  610. ITxPropertyGroupManager __RPC_FAR * This,
  611. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppIEnumObjects);
  612. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_IsolationLevel )(
  613. ITxPropertyGroupManager __RPC_FAR * This,
  614. /* [retval][out] */ TSPM_ISOLATIONLEVEL __RPC_FAR *peIsolationLevel);
  615. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_IsolationLevel )(
  616. ITxPropertyGroupManager __RPC_FAR * This,
  617. /* [in] */ TSPM_ISOLATIONLEVEL eIsolationLevel);
  618. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ConcurrencyMode )(
  619. ITxPropertyGroupManager __RPC_FAR * This,
  620. /* [retval][out] */ TSPM_CONCURRENCYMODE __RPC_FAR *peConcurrencyMode);
  621. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ConcurrencyMode )(
  622. ITxPropertyGroupManager __RPC_FAR * This,
  623. /* [in] */ TSPM_CONCURRENCYMODE eConcurrencyMode);
  624. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Count )(
  625. ITxPropertyGroupManager __RPC_FAR * This,
  626. /* [retval][out] */ long __RPC_FAR *plCountPropertyGroups);
  627. END_INTERFACE
  628. } ITxPropertyGroupManagerVtbl;
  629. interface ITxPropertyGroupManager
  630. {
  631. CONST_VTBL struct ITxPropertyGroupManagerVtbl __RPC_FAR *lpVtbl;
  632. };
  633. #ifdef COBJMACROS
  634. #define ITxPropertyGroupManager_QueryInterface(This,riid,ppvObject) \
  635. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  636. #define ITxPropertyGroupManager_AddRef(This) \
  637. (This)->lpVtbl -> AddRef(This)
  638. #define ITxPropertyGroupManager_Release(This) \
  639. (This)->lpVtbl -> Release(This)
  640. #define ITxPropertyGroupManager_GetTypeInfoCount(This,pctinfo) \
  641. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  642. #define ITxPropertyGroupManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  643. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  644. #define ITxPropertyGroupManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  645. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  646. #define ITxPropertyGroupManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  647. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  648. #define ITxPropertyGroupManager_CreatePropertyGroup(This,bstrPropertyGroupName,pvarboolExists,varboolWriteThrough,varboolRemoveAtProcessTermination,eSecuritySetting,bstrAccessAccounts,varboolReserved,ppTxPropertyGroup) \
  649. (This)->lpVtbl -> CreatePropertyGroup(This,bstrPropertyGroupName,pvarboolExists,varboolWriteThrough,varboolRemoveAtProcessTermination,eSecuritySetting,bstrAccessAccounts,varboolReserved,ppTxPropertyGroup)
  650. #define ITxPropertyGroupManager_GetPropertyGroup(This,bstrPropertyGroupName,varboolWriteThrough,ppTxPropertyGroup) \
  651. (This)->lpVtbl -> GetPropertyGroup(This,bstrPropertyGroupName,varboolWriteThrough,ppTxPropertyGroup)
  652. #define ITxPropertyGroupManager_RemovePropertyGroup(This,bstrPropertyGroupName) \
  653. (This)->lpVtbl -> RemovePropertyGroup(This,bstrPropertyGroupName)
  654. #define ITxPropertyGroupManager__NewEnum(This,ppIEnumObjects) \
  655. (This)->lpVtbl -> _NewEnum(This,ppIEnumObjects)
  656. #define ITxPropertyGroupManager_get_IsolationLevel(This,peIsolationLevel) \
  657. (This)->lpVtbl -> get_IsolationLevel(This,peIsolationLevel)
  658. #define ITxPropertyGroupManager_put_IsolationLevel(This,eIsolationLevel) \
  659. (This)->lpVtbl -> put_IsolationLevel(This,eIsolationLevel)
  660. #define ITxPropertyGroupManager_get_ConcurrencyMode(This,peConcurrencyMode) \
  661. (This)->lpVtbl -> get_ConcurrencyMode(This,peConcurrencyMode)
  662. #define ITxPropertyGroupManager_put_ConcurrencyMode(This,eConcurrencyMode) \
  663. (This)->lpVtbl -> put_ConcurrencyMode(This,eConcurrencyMode)
  664. #define ITxPropertyGroupManager_get_Count(This,plCountPropertyGroups) \
  665. (This)->lpVtbl -> get_Count(This,plCountPropertyGroups)
  666. #endif /* COBJMACROS */
  667. #endif /* C style interface */
  668. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager_CreatePropertyGroup_Proxy(
  669. ITxPropertyGroupManager __RPC_FAR * This,
  670. /* [string][in] */ const BSTR bstrPropertyGroupName,
  671. /* [out] */ VARIANT_BOOL __RPC_FAR *pvarboolExists,
  672. /* [in] */ VARIANT_BOOL varboolWriteThrough,
  673. /* [in] */ VARIANT_BOOL varboolRemoveAtProcessTermination,
  674. /* [in] */ TSPM_SECURITYSETTING eSecuritySetting,
  675. /* [string][in] */ const BSTR bstrAccessAccounts,
  676. /* [in] */ VARIANT_BOOL varboolReserved,
  677. /* [retval][out] */ ITxPropertyGroup __RPC_FAR *__RPC_FAR *ppTxPropertyGroup);
  678. void __RPC_STUB ITxPropertyGroupManager_CreatePropertyGroup_Stub(
  679. IRpcStubBuffer *This,
  680. IRpcChannelBuffer *_pRpcChannelBuffer,
  681. PRPC_MESSAGE _pRpcMessage,
  682. DWORD *_pdwStubPhase);
  683. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager_GetPropertyGroup_Proxy(
  684. ITxPropertyGroupManager __RPC_FAR * This,
  685. /* [string][in] */ const BSTR bstrPropertyGroupName,
  686. /* [in] */ VARIANT_BOOL varboolWriteThrough,
  687. /* [retval][out] */ ITxPropertyGroup __RPC_FAR *__RPC_FAR *ppTxPropertyGroup);
  688. void __RPC_STUB ITxPropertyGroupManager_GetPropertyGroup_Stub(
  689. IRpcStubBuffer *This,
  690. IRpcChannelBuffer *_pRpcChannelBuffer,
  691. PRPC_MESSAGE _pRpcMessage,
  692. DWORD *_pdwStubPhase);
  693. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager_RemovePropertyGroup_Proxy(
  694. ITxPropertyGroupManager __RPC_FAR * This,
  695. /* [string][in] */ const BSTR bstrPropertyGroupName);
  696. void __RPC_STUB ITxPropertyGroupManager_RemovePropertyGroup_Stub(
  697. IRpcStubBuffer *This,
  698. IRpcChannelBuffer *_pRpcChannelBuffer,
  699. PRPC_MESSAGE _pRpcMessage,
  700. DWORD *_pdwStubPhase);
  701. /* [helpstring][id][hidden] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager__NewEnum_Proxy(
  702. ITxPropertyGroupManager __RPC_FAR * This,
  703. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppIEnumObjects);
  704. void __RPC_STUB ITxPropertyGroupManager__NewEnum_Stub(
  705. IRpcStubBuffer *This,
  706. IRpcChannelBuffer *_pRpcChannelBuffer,
  707. PRPC_MESSAGE _pRpcMessage,
  708. DWORD *_pdwStubPhase);
  709. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager_get_IsolationLevel_Proxy(
  710. ITxPropertyGroupManager __RPC_FAR * This,
  711. /* [retval][out] */ TSPM_ISOLATIONLEVEL __RPC_FAR *peIsolationLevel);
  712. void __RPC_STUB ITxPropertyGroupManager_get_IsolationLevel_Stub(
  713. IRpcStubBuffer *This,
  714. IRpcChannelBuffer *_pRpcChannelBuffer,
  715. PRPC_MESSAGE _pRpcMessage,
  716. DWORD *_pdwStubPhase);
  717. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager_put_IsolationLevel_Proxy(
  718. ITxPropertyGroupManager __RPC_FAR * This,
  719. /* [in] */ TSPM_ISOLATIONLEVEL eIsolationLevel);
  720. void __RPC_STUB ITxPropertyGroupManager_put_IsolationLevel_Stub(
  721. IRpcStubBuffer *This,
  722. IRpcChannelBuffer *_pRpcChannelBuffer,
  723. PRPC_MESSAGE _pRpcMessage,
  724. DWORD *_pdwStubPhase);
  725. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager_get_ConcurrencyMode_Proxy(
  726. ITxPropertyGroupManager __RPC_FAR * This,
  727. /* [retval][out] */ TSPM_CONCURRENCYMODE __RPC_FAR *peConcurrencyMode);
  728. void __RPC_STUB ITxPropertyGroupManager_get_ConcurrencyMode_Stub(
  729. IRpcStubBuffer *This,
  730. IRpcChannelBuffer *_pRpcChannelBuffer,
  731. PRPC_MESSAGE _pRpcMessage,
  732. DWORD *_pdwStubPhase);
  733. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager_put_ConcurrencyMode_Proxy(
  734. ITxPropertyGroupManager __RPC_FAR * This,
  735. /* [in] */ TSPM_CONCURRENCYMODE eConcurrencyMode);
  736. void __RPC_STUB ITxPropertyGroupManager_put_ConcurrencyMode_Stub(
  737. IRpcStubBuffer *This,
  738. IRpcChannelBuffer *_pRpcChannelBuffer,
  739. PRPC_MESSAGE _pRpcMessage,
  740. DWORD *_pdwStubPhase);
  741. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITxPropertyGroupManager_get_Count_Proxy(
  742. ITxPropertyGroupManager __RPC_FAR * This,
  743. /* [retval][out] */ long __RPC_FAR *plCountPropertyGroups);
  744. void __RPC_STUB ITxPropertyGroupManager_get_Count_Stub(
  745. IRpcStubBuffer *This,
  746. IRpcChannelBuffer *_pRpcChannelBuffer,
  747. PRPC_MESSAGE _pRpcMessage,
  748. DWORD *_pdwStubPhase);
  749. #endif /* __ITxPropertyGroupManager_INTERFACE_DEFINED__ */
  750. #ifndef __TSPM_LIBRARY_DEFINED__
  751. #define __TSPM_LIBRARY_DEFINED__
  752. /* library TSPM */
  753. /* [helpstring][version][uuid] */
  754. EXTERN_C const IID LIBID_TSPM;
  755. EXTERN_C const CLSID CLSID_TransactedPropertyGroupManager;
  756. #ifdef __cplusplus
  757. class DECLSPEC_UUID("DEBCE1BC-7D7E-11D2-BEA0-00805F0D8F97")
  758. TransactedPropertyGroupManager;
  759. #endif
  760. EXTERN_C const CLSID CLSID_TransactedPropertyGroup;
  761. #ifdef __cplusplus
  762. class DECLSPEC_UUID("46DB591F-4101-11D2-912C-0000F8758E8D")
  763. TransactedPropertyGroup;
  764. #endif
  765. EXTERN_C const CLSID CLSID_TransactedProperty;
  766. #ifdef __cplusplus
  767. class DECLSPEC_UUID("6A8DEEA9-4101-11D2-912C-0000F8758E8D")
  768. TransactedProperty;
  769. #endif
  770. #endif /* __TSPM_LIBRARY_DEFINED__ */
  771. /* Additional Prototypes for ALL interfaces */
  772. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  773. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  774. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  775. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  776. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  777. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  778. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  779. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  780. /* end of Additional Prototypes */
  781. #ifdef __cplusplus
  782. }
  783. #endif
  784. #endif
  785. // The interface IIDs for TSPM
  786. _declspec(selectany) extern
  787. const IID IID_ITxProperty = {0x6A8DEEA8,0x4101,0x11D2,{0x91,0x2C,0x00,0x00,0xF8,0x75,0x8E,0x8D}};
  788. _declspec(selectany) extern
  789. const IID IID_ITxPropertyGroup = {0x46DB591E,0x4101,0x11D2,{0x91,0x2C,0x00,0x00,0xF8,0x75,0x8E,0x8D}};
  790. _declspec(selectany) extern
  791. const IID IID_ITxPropertyGroupManager = {0xB97C237C,0x7D7E,0x11D2,{0xBE,0xA0,0x00,0x80,0x5F,0x0D,0x8F,0x97}};
  792. _declspec(selectany) extern
  793. const IID LIBID_TSPM = {0xBA4B54BC,0x4101,0x11D2,{0x91,0x2C,0x00,0x00,0xF8,0x75,0x8E,0x8D}};
  794. _declspec(selectany) extern
  795. const CLSID CLSID_TransactedPropertyGroupManager = {0xDEBCE1BC,0x7D7E,0x11D2,{0xBE,0xA0,0x00,0x80,0x5F,0x0D,0x8F,0x97}};
  796. _declspec(selectany) extern
  797. const CLSID CLSID_TransactedPropertyGroup = {0x46DB591F,0x4101,0x11D2,{0x91,0x2C,0x00,0x00,0xF8,0x75,0x8E,0x8D}};
  798. _declspec(selectany) extern
  799. const CLSID CLSID_TransactedProperty = {0x6A8DEEA9,0x4101,0x11D2,{0x91,0x2C,0x00,0x00,0xF8,0x75,0x8E,0x8D}};
  800. #endif // _MSIMDB_H_
  801. //
  802. // End Of File
  803. //