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.

1326 lines
45 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0158 */
  3. /* at Thu Mar 11 18:35:18 1999
  4. */
  5. /* Compiler settings for mtsadmin.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __mtsadmin_h__
  24. #define __mtsadmin_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __ICatalog_FWD_DEFINED__
  30. #define __ICatalog_FWD_DEFINED__
  31. typedef interface ICatalog ICatalog;
  32. #endif /* __ICatalog_FWD_DEFINED__ */
  33. #ifndef __IComponentUtil_FWD_DEFINED__
  34. #define __IComponentUtil_FWD_DEFINED__
  35. typedef interface IComponentUtil IComponentUtil;
  36. #endif /* __IComponentUtil_FWD_DEFINED__ */
  37. #ifndef __IPackageUtil_FWD_DEFINED__
  38. #define __IPackageUtil_FWD_DEFINED__
  39. typedef interface IPackageUtil IPackageUtil;
  40. #endif /* __IPackageUtil_FWD_DEFINED__ */
  41. #ifndef __IRemoteComponentUtil_FWD_DEFINED__
  42. #define __IRemoteComponentUtil_FWD_DEFINED__
  43. typedef interface IRemoteComponentUtil IRemoteComponentUtil;
  44. #endif /* __IRemoteComponentUtil_FWD_DEFINED__ */
  45. #ifndef __IRoleAssociationUtil_FWD_DEFINED__
  46. #define __IRoleAssociationUtil_FWD_DEFINED__
  47. typedef interface IRoleAssociationUtil IRoleAssociationUtil;
  48. #endif /* __IRoleAssociationUtil_FWD_DEFINED__ */
  49. #ifndef __Catalog_FWD_DEFINED__
  50. #define __Catalog_FWD_DEFINED__
  51. #ifdef __cplusplus
  52. typedef class Catalog Catalog;
  53. #else
  54. typedef struct Catalog Catalog;
  55. #endif /* __cplusplus */
  56. #endif /* __Catalog_FWD_DEFINED__ */
  57. #ifndef __CatalogObject_FWD_DEFINED__
  58. #define __CatalogObject_FWD_DEFINED__
  59. #ifdef __cplusplus
  60. typedef class CatalogObject CatalogObject;
  61. #else
  62. typedef struct CatalogObject CatalogObject;
  63. #endif /* __cplusplus */
  64. #endif /* __CatalogObject_FWD_DEFINED__ */
  65. #ifndef __CatalogCollection_FWD_DEFINED__
  66. #define __CatalogCollection_FWD_DEFINED__
  67. #ifdef __cplusplus
  68. typedef class CatalogCollection CatalogCollection;
  69. #else
  70. typedef struct CatalogCollection CatalogCollection;
  71. #endif /* __cplusplus */
  72. #endif /* __CatalogCollection_FWD_DEFINED__ */
  73. #ifndef __ComponentUtil_FWD_DEFINED__
  74. #define __ComponentUtil_FWD_DEFINED__
  75. #ifdef __cplusplus
  76. typedef class ComponentUtil ComponentUtil;
  77. #else
  78. typedef struct ComponentUtil ComponentUtil;
  79. #endif /* __cplusplus */
  80. #endif /* __ComponentUtil_FWD_DEFINED__ */
  81. #ifndef __PackageUtil_FWD_DEFINED__
  82. #define __PackageUtil_FWD_DEFINED__
  83. #ifdef __cplusplus
  84. typedef class PackageUtil PackageUtil;
  85. #else
  86. typedef struct PackageUtil PackageUtil;
  87. #endif /* __cplusplus */
  88. #endif /* __PackageUtil_FWD_DEFINED__ */
  89. #ifndef __RemoteComponentUtil_FWD_DEFINED__
  90. #define __RemoteComponentUtil_FWD_DEFINED__
  91. #ifdef __cplusplus
  92. typedef class RemoteComponentUtil RemoteComponentUtil;
  93. #else
  94. typedef struct RemoteComponentUtil RemoteComponentUtil;
  95. #endif /* __cplusplus */
  96. #endif /* __RemoteComponentUtil_FWD_DEFINED__ */
  97. #ifndef __RoleAssociationUtil_FWD_DEFINED__
  98. #define __RoleAssociationUtil_FWD_DEFINED__
  99. #ifdef __cplusplus
  100. typedef class RoleAssociationUtil RoleAssociationUtil;
  101. #else
  102. typedef struct RoleAssociationUtil RoleAssociationUtil;
  103. #endif /* __cplusplus */
  104. #endif /* __RoleAssociationUtil_FWD_DEFINED__ */
  105. /* header files for imported files */
  106. #include "unknwn.h"
  107. #include "comadmin.h"
  108. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  109. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  110. /* interface __MIDL_itf_mtsadmin_0000 */
  111. /* [local] */
  112. // -----------------------------------------------------------------------
  113. // mtsadmin.h -- COM (MTS Compatible) Administration Programming Interfaces
  114. //
  115. // This file provides the prototypes for the APIs and COM interfaces
  116. // used by Microsoft Transaction Server applications.
  117. //
  118. // Copyright (c) Microsoft Corporation. All rights reserved.
  119. // -----------------------------------------------------------------------
  120. #include <objbase.h>
  121. #ifndef DECLSPEC_UUID
  122. #if _MSC_VER >= 1100
  123. #define DECLSPEC_UUID(x) __declspec(uuid(x))
  124. #else
  125. #define DECLSPEC_UUID(x)
  126. #endif
  127. #endif
  128. extern RPC_IF_HANDLE __MIDL_itf_mtsadmin_0000_v0_0_c_ifspec;
  129. extern RPC_IF_HANDLE __MIDL_itf_mtsadmin_0000_v0_0_s_ifspec;
  130. #ifndef __ICatalog_INTERFACE_DEFINED__
  131. #define __ICatalog_INTERFACE_DEFINED__
  132. /* interface ICatalog */
  133. /* [unique][helpstring][dual][uuid][object] */
  134. EXTERN_C const IID IID_ICatalog;
  135. #if defined(__cplusplus) && !defined(CINTERFACE)
  136. MIDL_INTERFACE("6eb22870-8a19-11d0-81b6-00a0c9231c29")
  137. ICatalog : public IDispatch
  138. {
  139. public:
  140. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCollection(
  141. /* [in] */ BSTR bstrCollName,
  142. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection) = 0;
  143. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Connect(
  144. /* [in] */ BSTR bstrConnectString,
  145. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection) = 0;
  146. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorVersion(
  147. /* [retval][out] */ long __RPC_FAR *retval) = 0;
  148. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorVersion(
  149. /* [retval][out] */ long __RPC_FAR *retval) = 0;
  150. };
  151. #else /* C style interface */
  152. typedef struct ICatalogVtbl
  153. {
  154. BEGIN_INTERFACE
  155. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  156. ICatalog __RPC_FAR * This,
  157. /* [in] */ REFIID riid,
  158. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  159. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  160. ICatalog __RPC_FAR * This);
  161. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  162. ICatalog __RPC_FAR * This);
  163. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  164. ICatalog __RPC_FAR * This,
  165. /* [out] */ UINT __RPC_FAR *pctinfo);
  166. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  167. ICatalog __RPC_FAR * This,
  168. /* [in] */ UINT iTInfo,
  169. /* [in] */ LCID lcid,
  170. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  171. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  172. ICatalog __RPC_FAR * This,
  173. /* [in] */ REFIID riid,
  174. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  175. /* [in] */ UINT cNames,
  176. /* [in] */ LCID lcid,
  177. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  178. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  179. ICatalog __RPC_FAR * This,
  180. /* [in] */ DISPID dispIdMember,
  181. /* [in] */ REFIID riid,
  182. /* [in] */ LCID lcid,
  183. /* [in] */ WORD wFlags,
  184. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  185. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  186. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  187. /* [out] */ UINT __RPC_FAR *puArgErr);
  188. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCollection )(
  189. ICatalog __RPC_FAR * This,
  190. /* [in] */ BSTR bstrCollName,
  191. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection);
  192. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Connect )(
  193. ICatalog __RPC_FAR * This,
  194. /* [in] */ BSTR bstrConnectString,
  195. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection);
  196. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MajorVersion )(
  197. ICatalog __RPC_FAR * This,
  198. /* [retval][out] */ long __RPC_FAR *retval);
  199. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MinorVersion )(
  200. ICatalog __RPC_FAR * This,
  201. /* [retval][out] */ long __RPC_FAR *retval);
  202. END_INTERFACE
  203. } ICatalogVtbl;
  204. interface ICatalog
  205. {
  206. CONST_VTBL struct ICatalogVtbl __RPC_FAR *lpVtbl;
  207. };
  208. #ifdef COBJMACROS
  209. #define ICatalog_QueryInterface(This,riid,ppvObject) \
  210. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  211. #define ICatalog_AddRef(This) \
  212. (This)->lpVtbl -> AddRef(This)
  213. #define ICatalog_Release(This) \
  214. (This)->lpVtbl -> Release(This)
  215. #define ICatalog_GetTypeInfoCount(This,pctinfo) \
  216. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  217. #define ICatalog_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  218. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  219. #define ICatalog_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  220. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  221. #define ICatalog_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  222. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  223. #define ICatalog_GetCollection(This,bstrCollName,ppCatalogCollection) \
  224. (This)->lpVtbl -> GetCollection(This,bstrCollName,ppCatalogCollection)
  225. #define ICatalog_Connect(This,bstrConnectString,ppCatalogCollection) \
  226. (This)->lpVtbl -> Connect(This,bstrConnectString,ppCatalogCollection)
  227. #define ICatalog_get_MajorVersion(This,retval) \
  228. (This)->lpVtbl -> get_MajorVersion(This,retval)
  229. #define ICatalog_get_MinorVersion(This,retval) \
  230. (This)->lpVtbl -> get_MinorVersion(This,retval)
  231. #endif /* COBJMACROS */
  232. #endif /* C style interface */
  233. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalog_GetCollection_Proxy(
  234. ICatalog __RPC_FAR * This,
  235. /* [in] */ BSTR bstrCollName,
  236. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection);
  237. void __RPC_STUB ICatalog_GetCollection_Stub(
  238. IRpcStubBuffer *This,
  239. IRpcChannelBuffer *_pRpcChannelBuffer,
  240. PRPC_MESSAGE _pRpcMessage,
  241. DWORD *_pdwStubPhase);
  242. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalog_Connect_Proxy(
  243. ICatalog __RPC_FAR * This,
  244. /* [in] */ BSTR bstrConnectString,
  245. /* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection);
  246. void __RPC_STUB ICatalog_Connect_Stub(
  247. IRpcStubBuffer *This,
  248. IRpcChannelBuffer *_pRpcChannelBuffer,
  249. PRPC_MESSAGE _pRpcMessage,
  250. DWORD *_pdwStubPhase);
  251. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalog_get_MajorVersion_Proxy(
  252. ICatalog __RPC_FAR * This,
  253. /* [retval][out] */ long __RPC_FAR *retval);
  254. void __RPC_STUB ICatalog_get_MajorVersion_Stub(
  255. IRpcStubBuffer *This,
  256. IRpcChannelBuffer *_pRpcChannelBuffer,
  257. PRPC_MESSAGE _pRpcMessage,
  258. DWORD *_pdwStubPhase);
  259. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalog_get_MinorVersion_Proxy(
  260. ICatalog __RPC_FAR * This,
  261. /* [retval][out] */ long __RPC_FAR *retval);
  262. void __RPC_STUB ICatalog_get_MinorVersion_Stub(
  263. IRpcStubBuffer *This,
  264. IRpcChannelBuffer *_pRpcChannelBuffer,
  265. PRPC_MESSAGE _pRpcMessage,
  266. DWORD *_pdwStubPhase);
  267. #endif /* __ICatalog_INTERFACE_DEFINED__ */
  268. #ifndef __IComponentUtil_INTERFACE_DEFINED__
  269. #define __IComponentUtil_INTERFACE_DEFINED__
  270. /* interface IComponentUtil */
  271. /* [unique][helpstring][dual][uuid][object] */
  272. EXTERN_C const IID IID_IComponentUtil;
  273. #if defined(__cplusplus) && !defined(CINTERFACE)
  274. MIDL_INTERFACE("6eb22873-8a19-11d0-81b6-00a0c9231c29")
  275. IComponentUtil : public IDispatch
  276. {
  277. public:
  278. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallComponent(
  279. /* [in] */ BSTR bstrDLLFile,
  280. /* [in] */ BSTR bstrTypelibFile,
  281. /* [in] */ BSTR bstrProxyStubDLLFile) = 0;
  282. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportComponent(
  283. /* [in] */ BSTR bstrCLSID) = 0;
  284. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportComponentByName(
  285. /* [in] */ BSTR bstrProgID) = 0;
  286. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCLSIDs(
  287. /* [in] */ BSTR bstrDLLFile,
  288. /* [in] */ BSTR bstrTypelibFile,
  289. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *aCLSIDs) = 0;
  290. };
  291. #else /* C style interface */
  292. typedef struct IComponentUtilVtbl
  293. {
  294. BEGIN_INTERFACE
  295. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  296. IComponentUtil __RPC_FAR * This,
  297. /* [in] */ REFIID riid,
  298. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  299. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  300. IComponentUtil __RPC_FAR * This);
  301. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  302. IComponentUtil __RPC_FAR * This);
  303. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  304. IComponentUtil __RPC_FAR * This,
  305. /* [out] */ UINT __RPC_FAR *pctinfo);
  306. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  307. IComponentUtil __RPC_FAR * This,
  308. /* [in] */ UINT iTInfo,
  309. /* [in] */ LCID lcid,
  310. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  311. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  312. IComponentUtil __RPC_FAR * This,
  313. /* [in] */ REFIID riid,
  314. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  315. /* [in] */ UINT cNames,
  316. /* [in] */ LCID lcid,
  317. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  318. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  319. IComponentUtil __RPC_FAR * This,
  320. /* [in] */ DISPID dispIdMember,
  321. /* [in] */ REFIID riid,
  322. /* [in] */ LCID lcid,
  323. /* [in] */ WORD wFlags,
  324. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  325. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  326. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  327. /* [out] */ UINT __RPC_FAR *puArgErr);
  328. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InstallComponent )(
  329. IComponentUtil __RPC_FAR * This,
  330. /* [in] */ BSTR bstrDLLFile,
  331. /* [in] */ BSTR bstrTypelibFile,
  332. /* [in] */ BSTR bstrProxyStubDLLFile);
  333. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ImportComponent )(
  334. IComponentUtil __RPC_FAR * This,
  335. /* [in] */ BSTR bstrCLSID);
  336. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ImportComponentByName )(
  337. IComponentUtil __RPC_FAR * This,
  338. /* [in] */ BSTR bstrProgID);
  339. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCLSIDs )(
  340. IComponentUtil __RPC_FAR * This,
  341. /* [in] */ BSTR bstrDLLFile,
  342. /* [in] */ BSTR bstrTypelibFile,
  343. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *aCLSIDs);
  344. END_INTERFACE
  345. } IComponentUtilVtbl;
  346. interface IComponentUtil
  347. {
  348. CONST_VTBL struct IComponentUtilVtbl __RPC_FAR *lpVtbl;
  349. };
  350. #ifdef COBJMACROS
  351. #define IComponentUtil_QueryInterface(This,riid,ppvObject) \
  352. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  353. #define IComponentUtil_AddRef(This) \
  354. (This)->lpVtbl -> AddRef(This)
  355. #define IComponentUtil_Release(This) \
  356. (This)->lpVtbl -> Release(This)
  357. #define IComponentUtil_GetTypeInfoCount(This,pctinfo) \
  358. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  359. #define IComponentUtil_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  360. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  361. #define IComponentUtil_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  362. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  363. #define IComponentUtil_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  364. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  365. #define IComponentUtil_InstallComponent(This,bstrDLLFile,bstrTypelibFile,bstrProxyStubDLLFile) \
  366. (This)->lpVtbl -> InstallComponent(This,bstrDLLFile,bstrTypelibFile,bstrProxyStubDLLFile)
  367. #define IComponentUtil_ImportComponent(This,bstrCLSID) \
  368. (This)->lpVtbl -> ImportComponent(This,bstrCLSID)
  369. #define IComponentUtil_ImportComponentByName(This,bstrProgID) \
  370. (This)->lpVtbl -> ImportComponentByName(This,bstrProgID)
  371. #define IComponentUtil_GetCLSIDs(This,bstrDLLFile,bstrTypelibFile,aCLSIDs) \
  372. (This)->lpVtbl -> GetCLSIDs(This,bstrDLLFile,bstrTypelibFile,aCLSIDs)
  373. #endif /* COBJMACROS */
  374. #endif /* C style interface */
  375. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IComponentUtil_InstallComponent_Proxy(
  376. IComponentUtil __RPC_FAR * This,
  377. /* [in] */ BSTR bstrDLLFile,
  378. /* [in] */ BSTR bstrTypelibFile,
  379. /* [in] */ BSTR bstrProxyStubDLLFile);
  380. void __RPC_STUB IComponentUtil_InstallComponent_Stub(
  381. IRpcStubBuffer *This,
  382. IRpcChannelBuffer *_pRpcChannelBuffer,
  383. PRPC_MESSAGE _pRpcMessage,
  384. DWORD *_pdwStubPhase);
  385. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IComponentUtil_ImportComponent_Proxy(
  386. IComponentUtil __RPC_FAR * This,
  387. /* [in] */ BSTR bstrCLSID);
  388. void __RPC_STUB IComponentUtil_ImportComponent_Stub(
  389. IRpcStubBuffer *This,
  390. IRpcChannelBuffer *_pRpcChannelBuffer,
  391. PRPC_MESSAGE _pRpcMessage,
  392. DWORD *_pdwStubPhase);
  393. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IComponentUtil_ImportComponentByName_Proxy(
  394. IComponentUtil __RPC_FAR * This,
  395. /* [in] */ BSTR bstrProgID);
  396. void __RPC_STUB IComponentUtil_ImportComponentByName_Stub(
  397. IRpcStubBuffer *This,
  398. IRpcChannelBuffer *_pRpcChannelBuffer,
  399. PRPC_MESSAGE _pRpcMessage,
  400. DWORD *_pdwStubPhase);
  401. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IComponentUtil_GetCLSIDs_Proxy(
  402. IComponentUtil __RPC_FAR * This,
  403. /* [in] */ BSTR bstrDLLFile,
  404. /* [in] */ BSTR bstrTypelibFile,
  405. /* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *aCLSIDs);
  406. void __RPC_STUB IComponentUtil_GetCLSIDs_Stub(
  407. IRpcStubBuffer *This,
  408. IRpcChannelBuffer *_pRpcChannelBuffer,
  409. PRPC_MESSAGE _pRpcMessage,
  410. DWORD *_pdwStubPhase);
  411. #endif /* __IComponentUtil_INTERFACE_DEFINED__ */
  412. #ifndef __IPackageUtil_INTERFACE_DEFINED__
  413. #define __IPackageUtil_INTERFACE_DEFINED__
  414. /* interface IPackageUtil */
  415. /* [unique][helpstring][dual][uuid][object] */
  416. EXTERN_C const IID IID_IPackageUtil;
  417. #if defined(__cplusplus) && !defined(CINTERFACE)
  418. MIDL_INTERFACE("6eb22874-8a19-11d0-81b6-00a0c9231c29")
  419. IPackageUtil : public IDispatch
  420. {
  421. public:
  422. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallPackage(
  423. /* [in] */ BSTR bstrPackageFile,
  424. /* [in] */ BSTR bstrInstallPath,
  425. /* [in] */ long lOptions) = 0;
  426. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportPackage(
  427. /* [in] */ BSTR bstrPackageID,
  428. /* [in] */ BSTR bstrPackageFile,
  429. /* [in] */ long lOptions) = 0;
  430. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ShutdownPackage(
  431. /* [in] */ BSTR bstrPackageID) = 0;
  432. };
  433. #else /* C style interface */
  434. typedef struct IPackageUtilVtbl
  435. {
  436. BEGIN_INTERFACE
  437. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  438. IPackageUtil __RPC_FAR * This,
  439. /* [in] */ REFIID riid,
  440. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  441. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  442. IPackageUtil __RPC_FAR * This);
  443. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  444. IPackageUtil __RPC_FAR * This);
  445. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  446. IPackageUtil __RPC_FAR * This,
  447. /* [out] */ UINT __RPC_FAR *pctinfo);
  448. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  449. IPackageUtil __RPC_FAR * This,
  450. /* [in] */ UINT iTInfo,
  451. /* [in] */ LCID lcid,
  452. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  453. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  454. IPackageUtil __RPC_FAR * This,
  455. /* [in] */ REFIID riid,
  456. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  457. /* [in] */ UINT cNames,
  458. /* [in] */ LCID lcid,
  459. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  460. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  461. IPackageUtil __RPC_FAR * This,
  462. /* [in] */ DISPID dispIdMember,
  463. /* [in] */ REFIID riid,
  464. /* [in] */ LCID lcid,
  465. /* [in] */ WORD wFlags,
  466. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  467. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  468. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  469. /* [out] */ UINT __RPC_FAR *puArgErr);
  470. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InstallPackage )(
  471. IPackageUtil __RPC_FAR * This,
  472. /* [in] */ BSTR bstrPackageFile,
  473. /* [in] */ BSTR bstrInstallPath,
  474. /* [in] */ long lOptions);
  475. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ExportPackage )(
  476. IPackageUtil __RPC_FAR * This,
  477. /* [in] */ BSTR bstrPackageID,
  478. /* [in] */ BSTR bstrPackageFile,
  479. /* [in] */ long lOptions);
  480. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShutdownPackage )(
  481. IPackageUtil __RPC_FAR * This,
  482. /* [in] */ BSTR bstrPackageID);
  483. END_INTERFACE
  484. } IPackageUtilVtbl;
  485. interface IPackageUtil
  486. {
  487. CONST_VTBL struct IPackageUtilVtbl __RPC_FAR *lpVtbl;
  488. };
  489. #ifdef COBJMACROS
  490. #define IPackageUtil_QueryInterface(This,riid,ppvObject) \
  491. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  492. #define IPackageUtil_AddRef(This) \
  493. (This)->lpVtbl -> AddRef(This)
  494. #define IPackageUtil_Release(This) \
  495. (This)->lpVtbl -> Release(This)
  496. #define IPackageUtil_GetTypeInfoCount(This,pctinfo) \
  497. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  498. #define IPackageUtil_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  499. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  500. #define IPackageUtil_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  501. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  502. #define IPackageUtil_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  503. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  504. #define IPackageUtil_InstallPackage(This,bstrPackageFile,bstrInstallPath,lOptions) \
  505. (This)->lpVtbl -> InstallPackage(This,bstrPackageFile,bstrInstallPath,lOptions)
  506. #define IPackageUtil_ExportPackage(This,bstrPackageID,bstrPackageFile,lOptions) \
  507. (This)->lpVtbl -> ExportPackage(This,bstrPackageID,bstrPackageFile,lOptions)
  508. #define IPackageUtil_ShutdownPackage(This,bstrPackageID) \
  509. (This)->lpVtbl -> ShutdownPackage(This,bstrPackageID)
  510. #endif /* COBJMACROS */
  511. #endif /* C style interface */
  512. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPackageUtil_InstallPackage_Proxy(
  513. IPackageUtil __RPC_FAR * This,
  514. /* [in] */ BSTR bstrPackageFile,
  515. /* [in] */ BSTR bstrInstallPath,
  516. /* [in] */ long lOptions);
  517. void __RPC_STUB IPackageUtil_InstallPackage_Stub(
  518. IRpcStubBuffer *This,
  519. IRpcChannelBuffer *_pRpcChannelBuffer,
  520. PRPC_MESSAGE _pRpcMessage,
  521. DWORD *_pdwStubPhase);
  522. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPackageUtil_ExportPackage_Proxy(
  523. IPackageUtil __RPC_FAR * This,
  524. /* [in] */ BSTR bstrPackageID,
  525. /* [in] */ BSTR bstrPackageFile,
  526. /* [in] */ long lOptions);
  527. void __RPC_STUB IPackageUtil_ExportPackage_Stub(
  528. IRpcStubBuffer *This,
  529. IRpcChannelBuffer *_pRpcChannelBuffer,
  530. PRPC_MESSAGE _pRpcMessage,
  531. DWORD *_pdwStubPhase);
  532. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IPackageUtil_ShutdownPackage_Proxy(
  533. IPackageUtil __RPC_FAR * This,
  534. /* [in] */ BSTR bstrPackageID);
  535. void __RPC_STUB IPackageUtil_ShutdownPackage_Stub(
  536. IRpcStubBuffer *This,
  537. IRpcChannelBuffer *_pRpcChannelBuffer,
  538. PRPC_MESSAGE _pRpcMessage,
  539. DWORD *_pdwStubPhase);
  540. #endif /* __IPackageUtil_INTERFACE_DEFINED__ */
  541. #ifndef __IRemoteComponentUtil_INTERFACE_DEFINED__
  542. #define __IRemoteComponentUtil_INTERFACE_DEFINED__
  543. /* interface IRemoteComponentUtil */
  544. /* [unique][helpstring][dual][uuid][object] */
  545. EXTERN_C const IID IID_IRemoteComponentUtil;
  546. #if defined(__cplusplus) && !defined(CINTERFACE)
  547. MIDL_INTERFACE("6eb22875-8a19-11d0-81b6-00a0c9231c29")
  548. IRemoteComponentUtil : public IDispatch
  549. {
  550. public:
  551. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallRemoteComponent(
  552. /* [in] */ BSTR bstrServer,
  553. /* [in] */ BSTR bstrPackageID,
  554. /* [in] */ BSTR bstrCLSID) = 0;
  555. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallRemoteComponentByName(
  556. /* [in] */ BSTR bstrServer,
  557. /* [in] */ BSTR bstrPackageName,
  558. /* [in] */ BSTR bstrProgID) = 0;
  559. };
  560. #else /* C style interface */
  561. typedef struct IRemoteComponentUtilVtbl
  562. {
  563. BEGIN_INTERFACE
  564. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  565. IRemoteComponentUtil __RPC_FAR * This,
  566. /* [in] */ REFIID riid,
  567. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  568. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  569. IRemoteComponentUtil __RPC_FAR * This);
  570. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  571. IRemoteComponentUtil __RPC_FAR * This);
  572. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  573. IRemoteComponentUtil __RPC_FAR * This,
  574. /* [out] */ UINT __RPC_FAR *pctinfo);
  575. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  576. IRemoteComponentUtil __RPC_FAR * This,
  577. /* [in] */ UINT iTInfo,
  578. /* [in] */ LCID lcid,
  579. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  580. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  581. IRemoteComponentUtil __RPC_FAR * This,
  582. /* [in] */ REFIID riid,
  583. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  584. /* [in] */ UINT cNames,
  585. /* [in] */ LCID lcid,
  586. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  587. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  588. IRemoteComponentUtil __RPC_FAR * This,
  589. /* [in] */ DISPID dispIdMember,
  590. /* [in] */ REFIID riid,
  591. /* [in] */ LCID lcid,
  592. /* [in] */ WORD wFlags,
  593. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  594. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  595. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  596. /* [out] */ UINT __RPC_FAR *puArgErr);
  597. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InstallRemoteComponent )(
  598. IRemoteComponentUtil __RPC_FAR * This,
  599. /* [in] */ BSTR bstrServer,
  600. /* [in] */ BSTR bstrPackageID,
  601. /* [in] */ BSTR bstrCLSID);
  602. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InstallRemoteComponentByName )(
  603. IRemoteComponentUtil __RPC_FAR * This,
  604. /* [in] */ BSTR bstrServer,
  605. /* [in] */ BSTR bstrPackageName,
  606. /* [in] */ BSTR bstrProgID);
  607. END_INTERFACE
  608. } IRemoteComponentUtilVtbl;
  609. interface IRemoteComponentUtil
  610. {
  611. CONST_VTBL struct IRemoteComponentUtilVtbl __RPC_FAR *lpVtbl;
  612. };
  613. #ifdef COBJMACROS
  614. #define IRemoteComponentUtil_QueryInterface(This,riid,ppvObject) \
  615. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  616. #define IRemoteComponentUtil_AddRef(This) \
  617. (This)->lpVtbl -> AddRef(This)
  618. #define IRemoteComponentUtil_Release(This) \
  619. (This)->lpVtbl -> Release(This)
  620. #define IRemoteComponentUtil_GetTypeInfoCount(This,pctinfo) \
  621. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  622. #define IRemoteComponentUtil_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  623. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  624. #define IRemoteComponentUtil_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  625. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  626. #define IRemoteComponentUtil_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  627. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  628. #define IRemoteComponentUtil_InstallRemoteComponent(This,bstrServer,bstrPackageID,bstrCLSID) \
  629. (This)->lpVtbl -> InstallRemoteComponent(This,bstrServer,bstrPackageID,bstrCLSID)
  630. #define IRemoteComponentUtil_InstallRemoteComponentByName(This,bstrServer,bstrPackageName,bstrProgID) \
  631. (This)->lpVtbl -> InstallRemoteComponentByName(This,bstrServer,bstrPackageName,bstrProgID)
  632. #endif /* COBJMACROS */
  633. #endif /* C style interface */
  634. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteComponentUtil_InstallRemoteComponent_Proxy(
  635. IRemoteComponentUtil __RPC_FAR * This,
  636. /* [in] */ BSTR bstrServer,
  637. /* [in] */ BSTR bstrPackageID,
  638. /* [in] */ BSTR bstrCLSID);
  639. void __RPC_STUB IRemoteComponentUtil_InstallRemoteComponent_Stub(
  640. IRpcStubBuffer *This,
  641. IRpcChannelBuffer *_pRpcChannelBuffer,
  642. PRPC_MESSAGE _pRpcMessage,
  643. DWORD *_pdwStubPhase);
  644. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRemoteComponentUtil_InstallRemoteComponentByName_Proxy(
  645. IRemoteComponentUtil __RPC_FAR * This,
  646. /* [in] */ BSTR bstrServer,
  647. /* [in] */ BSTR bstrPackageName,
  648. /* [in] */ BSTR bstrProgID);
  649. void __RPC_STUB IRemoteComponentUtil_InstallRemoteComponentByName_Stub(
  650. IRpcStubBuffer *This,
  651. IRpcChannelBuffer *_pRpcChannelBuffer,
  652. PRPC_MESSAGE _pRpcMessage,
  653. DWORD *_pdwStubPhase);
  654. #endif /* __IRemoteComponentUtil_INTERFACE_DEFINED__ */
  655. #ifndef __IRoleAssociationUtil_INTERFACE_DEFINED__
  656. #define __IRoleAssociationUtil_INTERFACE_DEFINED__
  657. /* interface IRoleAssociationUtil */
  658. /* [unique][helpstring][dual][uuid][object] */
  659. EXTERN_C const IID IID_IRoleAssociationUtil;
  660. #if defined(__cplusplus) && !defined(CINTERFACE)
  661. MIDL_INTERFACE("6eb22876-8a19-11d0-81b6-00a0c9231c29")
  662. IRoleAssociationUtil : public IDispatch
  663. {
  664. public:
  665. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AssociateRole(
  666. /* [in] */ BSTR bstrRoleID) = 0;
  667. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AssociateRoleByName(
  668. /* [in] */ BSTR bstrRoleName) = 0;
  669. };
  670. #else /* C style interface */
  671. typedef struct IRoleAssociationUtilVtbl
  672. {
  673. BEGIN_INTERFACE
  674. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  675. IRoleAssociationUtil __RPC_FAR * This,
  676. /* [in] */ REFIID riid,
  677. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  678. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  679. IRoleAssociationUtil __RPC_FAR * This);
  680. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  681. IRoleAssociationUtil __RPC_FAR * This);
  682. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  683. IRoleAssociationUtil __RPC_FAR * This,
  684. /* [out] */ UINT __RPC_FAR *pctinfo);
  685. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  686. IRoleAssociationUtil __RPC_FAR * This,
  687. /* [in] */ UINT iTInfo,
  688. /* [in] */ LCID lcid,
  689. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  690. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  691. IRoleAssociationUtil __RPC_FAR * This,
  692. /* [in] */ REFIID riid,
  693. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  694. /* [in] */ UINT cNames,
  695. /* [in] */ LCID lcid,
  696. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  697. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  698. IRoleAssociationUtil __RPC_FAR * This,
  699. /* [in] */ DISPID dispIdMember,
  700. /* [in] */ REFIID riid,
  701. /* [in] */ LCID lcid,
  702. /* [in] */ WORD wFlags,
  703. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  704. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  705. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  706. /* [out] */ UINT __RPC_FAR *puArgErr);
  707. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AssociateRole )(
  708. IRoleAssociationUtil __RPC_FAR * This,
  709. /* [in] */ BSTR bstrRoleID);
  710. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AssociateRoleByName )(
  711. IRoleAssociationUtil __RPC_FAR * This,
  712. /* [in] */ BSTR bstrRoleName);
  713. END_INTERFACE
  714. } IRoleAssociationUtilVtbl;
  715. interface IRoleAssociationUtil
  716. {
  717. CONST_VTBL struct IRoleAssociationUtilVtbl __RPC_FAR *lpVtbl;
  718. };
  719. #ifdef COBJMACROS
  720. #define IRoleAssociationUtil_QueryInterface(This,riid,ppvObject) \
  721. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  722. #define IRoleAssociationUtil_AddRef(This) \
  723. (This)->lpVtbl -> AddRef(This)
  724. #define IRoleAssociationUtil_Release(This) \
  725. (This)->lpVtbl -> Release(This)
  726. #define IRoleAssociationUtil_GetTypeInfoCount(This,pctinfo) \
  727. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  728. #define IRoleAssociationUtil_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  729. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  730. #define IRoleAssociationUtil_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  731. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  732. #define IRoleAssociationUtil_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  733. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  734. #define IRoleAssociationUtil_AssociateRole(This,bstrRoleID) \
  735. (This)->lpVtbl -> AssociateRole(This,bstrRoleID)
  736. #define IRoleAssociationUtil_AssociateRoleByName(This,bstrRoleName) \
  737. (This)->lpVtbl -> AssociateRoleByName(This,bstrRoleName)
  738. #endif /* COBJMACROS */
  739. #endif /* C style interface */
  740. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRoleAssociationUtil_AssociateRole_Proxy(
  741. IRoleAssociationUtil __RPC_FAR * This,
  742. /* [in] */ BSTR bstrRoleID);
  743. void __RPC_STUB IRoleAssociationUtil_AssociateRole_Stub(
  744. IRpcStubBuffer *This,
  745. IRpcChannelBuffer *_pRpcChannelBuffer,
  746. PRPC_MESSAGE _pRpcMessage,
  747. DWORD *_pdwStubPhase);
  748. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IRoleAssociationUtil_AssociateRoleByName_Proxy(
  749. IRoleAssociationUtil __RPC_FAR * This,
  750. /* [in] */ BSTR bstrRoleName);
  751. void __RPC_STUB IRoleAssociationUtil_AssociateRoleByName_Stub(
  752. IRpcStubBuffer *This,
  753. IRpcChannelBuffer *_pRpcChannelBuffer,
  754. PRPC_MESSAGE _pRpcMessage,
  755. DWORD *_pdwStubPhase);
  756. #endif /* __IRoleAssociationUtil_INTERFACE_DEFINED__ */
  757. #ifndef __MTSAdmin_LIBRARY_DEFINED__
  758. #define __MTSAdmin_LIBRARY_DEFINED__
  759. /* library MTSAdmin */
  760. /* [helpstring][version][uuid] */
  761. typedef /* [public][helpstring] */
  762. enum __MIDL___MIDL_itf_mtsadmin_0123_0001
  763. { mtsInstallUsers = 1
  764. } MTSPackageInstallOptions;
  765. typedef /* [public][helpstring] */
  766. enum __MIDL___MIDL_itf_mtsadmin_0123_0002
  767. { mtsExportUsers = 1
  768. } MTSPackageExportOptions;
  769. typedef /* [public][helpstring] */
  770. enum __MIDL___MIDL_itf_mtsadmin_0123_0003
  771. { mtsErrObjectErrors = ( HRESULT )0x80110401L,
  772. mtsErrObjectInvalid = ( HRESULT )0x80110402L,
  773. mtsErrKeyMissing = ( HRESULT )0x80110403L,
  774. mtsErrAlreadyInstalled = ( HRESULT )0x80110404L,
  775. mtsErrDownloadFailed = 0x80110405,
  776. mtsErrPDFWriteFail = ( HRESULT )0x80110407L,
  777. mtsErrPDFReadFail = ( HRESULT )0x80110408L,
  778. mtsErrPDFVersion = ( HRESULT )0x80110409L,
  779. mtsErrBadPath = ( HRESULT )0x8011040aL,
  780. mtsErrPackageExists = ( HRESULT )0x8011040bL,
  781. mtsErrRoleExists = ( HRESULT )0x8011040cL,
  782. mtsErrCantCopyFile = ( HRESULT )0x8011040dL,
  783. mtsErrNoTypeLib = 0x8011040e,
  784. mtsErrNoUser = ( HRESULT )0x8011040fL,
  785. mtsErrInvalidUserids = ( HRESULT )0x80110410L,
  786. mtsErrNoRegistryCLSID = ( HRESULT )0x80110411L,
  787. mtsErrBadRegistryProgID = ( HRESULT )0x80110412L,
  788. mtsErrAuthenticationLevel = ( HRESULT )0x80110413L,
  789. mtsErrUserPasswdNotValid = ( HRESULT )0x80110414L,
  790. mtsErrNoRegistryRead = 0x80110415,
  791. mtsErrNoRegistryWrite = 0x80110416,
  792. mtsErrNoRegistryRepair = 0x80110417,
  793. mtsErrCLSIDOrIIDMismatch = ( HRESULT )0x80110418L,
  794. mtsErrRemoteInterface = ( HRESULT )0x80110419L,
  795. mtsErrDllRegisterServer = ( HRESULT )0x8011041aL,
  796. mtsErrNoServerShare = ( HRESULT )0x8011041bL,
  797. mtsErrNoAccessToUNC = 0x8011041c,
  798. mtsErrDllLoadFailed = ( HRESULT )0x8011041dL,
  799. mtsErrBadRegistryLibID = ( HRESULT )0x8011041eL,
  800. mtsErrPackDirNotFound = ( HRESULT )0x8011041fL,
  801. mtsErrTreatAs = 0x80110420,
  802. mtsErrBadForward = 0x80110421,
  803. mtsErrBadIID = 0x80110422,
  804. mtsErrRegistrarFailed = ( HRESULT )0x80110423L,
  805. mtsErrCompFileDoesNotExist = ( HRESULT )0x80110424L,
  806. mtsErrCompFileLoadDLLFail = ( HRESULT )0x80110425L,
  807. mtsErrCompFileGetClassObj = ( HRESULT )0x80110426L,
  808. mtsErrCompFileClassNotAvail = ( HRESULT )0x80110427L,
  809. mtsErrCompFileBadTLB = ( HRESULT )0x80110428L,
  810. mtsErrCompFileNotInstallable = ( HRESULT )0x80110429L,
  811. mtsErrNotChangeable = ( HRESULT )0x8011042aL,
  812. mtsErrNotDeletable = ( HRESULT )0x8011042bL,
  813. mtsErrSession = ( HRESULT )0x8011042cL,
  814. mtsErrCompMoveLocked = ( HRESULT )0x8011042dL,
  815. mtsErrCompMoveBadDest = ( HRESULT )0x8011042eL,
  816. mtsErrRegisterTLB = ( HRESULT )0x80110430L,
  817. mtsErrSystemPack = ( HRESULT )0x80110433L,
  818. mtsErrCompFileNoRegistrar = ( HRESULT )0x80110434L,
  819. mtsErrCoReqCompInstalled = ( HRESULT )0x80110435L,
  820. mtsErrPropSaveFailed = ( HRESULT )0x80110437L,
  821. mtsErrObjectExists = ( HRESULT )0x80110438L,
  822. mtsErrRegFileCorrupt = ( HRESULT )0x8011043bL,
  823. mtsErrPropertyOverflow = ( HRESULT )0x8011043cL,
  824. mtsErrNotInRegistry = ( HRESULT )0x8011043eL,
  825. mtsErrApplidMatchesClsid = ( HRESULT )0x80110446L,
  826. mtsErrRoleDoesNotExist = ( HRESULT )0x80110447L,
  827. mtsErrObjectParentMissing = ( HRESULT )0x80110808L,
  828. mtsErrObjectDoesNotExist = ( HRESULT )0x80110809L,
  829. mtsErrCanNotExportAppProxy = 0x8011044a,
  830. mtsErrCanNotExportSystemPack = 0x8011044c
  831. } ;
  832. #define E_MTS_OBJECTERRORS mtsErrObjectErrors
  833. #define E_MTS_OBJECTINVALID mtsErrObjectInvalid
  834. #define E_MTS_KEYMISSING mtsErrKeyMissing
  835. #define E_MTS_ALREADYINSTALLED mtsErrAlreadyInstalled
  836. #define E_MTS_DOWNLOADFAILED mtsErrDownloadFailed
  837. #define E_MTS_PDFWRITEFAIL mtsErrPDFWriteFail
  838. #define E_MTS_PDFREADFAIL mtsErrPDFReadFail
  839. #define E_MTS_PDFVERSION mtsErrPDFVersion
  840. #define E_MTS_BADPATH mtsErrBadPath
  841. #define E_MTS_PACKAGEEXISTS mtsErrPackageExists
  842. #define E_MTS_ROLEEXISTS mtsErrRoleExists
  843. #define E_MTS_CANTCOPYFILE mtsErrCantCopyFile
  844. #define E_MTS_NOTYPELIB mtsErrNoTypeLib
  845. #define E_MTS_NOUSER mtsErrNoUser
  846. #define E_MTS_INVALIDUSERIDS mtsErrInvalidUserids
  847. #define E_MTS_NOREGISTRYCLSID mtsErrNoRegistryCLSID
  848. #define E_MTS_BADREGISTRYPROGID mtsErrBadRegistryProgID
  849. #define E_MTS_AUTHENTICATIONLEVEL mtsErrAuthenticationLevel
  850. #define E_MTS_USERPASSWDNOTVALID mtsErrUserPasswdNotValid
  851. #define E_MTS_NOREGISTRYREAD mtsErrNoRegistryRead
  852. #define E_MTS_NOREGISTRYWRITE mtsErrNoRegistryWrite
  853. #define E_MTS_NOREGISTRYREPAIR mtsErrNoRegistryRepair
  854. #define E_MTS_CLSIDORIIDMISMATCH mtsErrCLSIDOrIIDMismatch
  855. #define E_MTS_REMOTEINTERFACE mtsErrRemoteInterface
  856. #define E_MTS_DLLREGISTERSERVER mtsErrDllRegisterServer
  857. #define E_MTS_NOSERVERSHARE mtsErrNoServerShare
  858. #define E_MTS_NOACCESSTOUNC mtsErrNoAccessToUNC
  859. #define E_MTS_DLLLOADFAILED mtsErrDllLoadFailed
  860. #define E_MTS_BADREGISTRYLIBID mtsErrBadRegistryLibID
  861. #define E_MTS_PACKDIRNOTFOUND mtsErrPackDirNotFound
  862. #define E_MTS_TREATAS mtsErrTreatAs
  863. #define E_MTS_BADFORWARD mtsErrBadForward
  864. #define E_MTS_BADIID mtsErrBadIID
  865. #define E_MTS_REGISTRARFAILED mtsErrRegistrarFailed
  866. #define E_MTS_COMPFILE_DOESNOTEXIST mtsErrCompFileDoesNotExist
  867. #define E_MTS_COMPFILE_LOADDLLFAIL mtsErrCompFileLoadDLLFail
  868. #define E_MTS_COMPFILE_GETCLASSOBJ mtsErrCompFileGetClassObj
  869. #define E_MTS_COMPFILE_CLASSNOTAVAIL mtsErrCompFileClassNotAvail
  870. #define E_MTS_COMPFILE_BADTLB mtsErrCompFileBadTLB
  871. #define E_MTS_COMPFILE_NOTINSTALLABLE mtsErrCompFileNotInstallable
  872. #define E_MTS_NOTCHANGEABLE mtsErrNotChangeable
  873. #define E_MTS_NOTDELETEABLE mtsErrNotDeletable
  874. #define E_MTS_SESSION mtsErrSession
  875. #define E_MTS_COMP_MOVE_LOCKED mtsErrCompMoveLocked
  876. #define E_MTS_COMP_MOVE_BAD_DEST mtsErrCompMoveBadDest
  877. #define E_MTS_REGISTERTLB mtsErrRegisterTLB
  878. #define E_MTS_SYSTEMPACK mtsErrSystemPack
  879. #define E_MTS_COMPFILE_NOREGISTRAR mtsErrCompFileNoRegistrar
  880. #define E_MTS_COREQCOMPINSTALLED mtsErrCoReqCompInstalled
  881. #define E_MTS_PROPERTYSAVEFAILED mtsErrPropSaveFailed
  882. #define E_MTS_OBJECTEXISTS mtsErrObjectExists
  883. #define E_MTS_REGFILE_CORRUPT mtsErrRegFileCorrupt
  884. #define E_MTS_PROPERTY_OVERFLOW mtsErrPropertyOverflow
  885. #define E_MTS_NOTINREGISTRY mtsErrNotInRegistry
  886. #define E_MTS_APPLID_MATCHES_CLSID mtsErrApplidMatchesClsid
  887. #define E_MTS_ROLE_DOES_NOT_EXIST mtsErrRoleDoesNotExist
  888. #define E_MTS_OBJECT_PARENT_MISSING mtsErrObjectParentMissing
  889. #define E_MTS_OBJECT_DOES_NOT_EXIST mtsErrObjectDoesNotExist
  890. #define E_MTS_CAN_NOT_EXPORT_APP_PROXY mtsErrCanNotExportAppProxy
  891. #define E_MTS_CAN_NOT_EXPORT_SYSTEM_PACK mtsErrCanNotExportSystemPack
  892. EXTERN_C const IID LIBID_MTSAdmin;
  893. EXTERN_C const CLSID CLSID_Catalog;
  894. #ifdef __cplusplus
  895. class DECLSPEC_UUID("6eb22881-8a19-11d0-81b6-00a0c9231c29")
  896. Catalog;
  897. #endif
  898. EXTERN_C const CLSID CLSID_CatalogObject;
  899. #ifdef __cplusplus
  900. class DECLSPEC_UUID("6eb22882-8a19-11d0-81b6-00a0c9231c29")
  901. CatalogObject;
  902. #endif
  903. EXTERN_C const CLSID CLSID_CatalogCollection;
  904. #ifdef __cplusplus
  905. class DECLSPEC_UUID("6eb22883-8a19-11d0-81b6-00a0c9231c29")
  906. CatalogCollection;
  907. #endif
  908. EXTERN_C const CLSID CLSID_ComponentUtil;
  909. #ifdef __cplusplus
  910. class DECLSPEC_UUID("6eb22884-8a19-11d0-81b6-00a0c9231c29")
  911. ComponentUtil;
  912. #endif
  913. EXTERN_C const CLSID CLSID_PackageUtil;
  914. #ifdef __cplusplus
  915. class DECLSPEC_UUID("6eb22885-8a19-11d0-81b6-00a0c9231c29")
  916. PackageUtil;
  917. #endif
  918. EXTERN_C const CLSID CLSID_RemoteComponentUtil;
  919. #ifdef __cplusplus
  920. class DECLSPEC_UUID("6eb22886-8a19-11d0-81b6-00a0c9231c29")
  921. RemoteComponentUtil;
  922. #endif
  923. EXTERN_C const CLSID CLSID_RoleAssociationUtil;
  924. #ifdef __cplusplus
  925. class DECLSPEC_UUID("6eb22887-8a19-11d0-81b6-00a0c9231c29")
  926. RoleAssociationUtil;
  927. #endif
  928. #endif /* __MTSAdmin_LIBRARY_DEFINED__ */
  929. /* Additional Prototypes for ALL interfaces */
  930. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  931. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  932. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  933. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  934. unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long __RPC_FAR *, unsigned long , LPSAFEARRAY __RPC_FAR * );
  935. unsigned char __RPC_FAR * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, LPSAFEARRAY __RPC_FAR * );
  936. unsigned char __RPC_FAR * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, LPSAFEARRAY __RPC_FAR * );
  937. void __RPC_USER LPSAFEARRAY_UserFree( unsigned long __RPC_FAR *, LPSAFEARRAY __RPC_FAR * );
  938. /* end of Additional Prototypes */
  939. #ifdef __cplusplus
  940. }
  941. #endif
  942. #endif