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.

3179 lines
122 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for comadmin.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __comadmin_h__
  27. #define __comadmin_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICOMAdminCatalog_FWD_DEFINED__
  33. #define __ICOMAdminCatalog_FWD_DEFINED__
  34. typedef interface ICOMAdminCatalog ICOMAdminCatalog;
  35. #endif /* __ICOMAdminCatalog_FWD_DEFINED__ */
  36. #ifndef __ICOMAdminCatalog2_FWD_DEFINED__
  37. #define __ICOMAdminCatalog2_FWD_DEFINED__
  38. typedef interface ICOMAdminCatalog2 ICOMAdminCatalog2;
  39. #endif /* __ICOMAdminCatalog2_FWD_DEFINED__ */
  40. #ifndef __ICatalogObject_FWD_DEFINED__
  41. #define __ICatalogObject_FWD_DEFINED__
  42. typedef interface ICatalogObject ICatalogObject;
  43. #endif /* __ICatalogObject_FWD_DEFINED__ */
  44. #ifndef __ICatalogCollection_FWD_DEFINED__
  45. #define __ICatalogCollection_FWD_DEFINED__
  46. typedef interface ICatalogCollection ICatalogCollection;
  47. #endif /* __ICatalogCollection_FWD_DEFINED__ */
  48. #ifndef __COMAdminCatalog_FWD_DEFINED__
  49. #define __COMAdminCatalog_FWD_DEFINED__
  50. #ifdef __cplusplus
  51. typedef class COMAdminCatalog COMAdminCatalog;
  52. #else
  53. typedef struct COMAdminCatalog COMAdminCatalog;
  54. #endif /* __cplusplus */
  55. #endif /* __COMAdminCatalog_FWD_DEFINED__ */
  56. #ifndef __COMAdminCatalogObject_FWD_DEFINED__
  57. #define __COMAdminCatalogObject_FWD_DEFINED__
  58. #ifdef __cplusplus
  59. typedef class COMAdminCatalogObject COMAdminCatalogObject;
  60. #else
  61. typedef struct COMAdminCatalogObject COMAdminCatalogObject;
  62. #endif /* __cplusplus */
  63. #endif /* __COMAdminCatalogObject_FWD_DEFINED__ */
  64. #ifndef __COMAdminCatalogCollection_FWD_DEFINED__
  65. #define __COMAdminCatalogCollection_FWD_DEFINED__
  66. #ifdef __cplusplus
  67. typedef class COMAdminCatalogCollection COMAdminCatalogCollection;
  68. #else
  69. typedef struct COMAdminCatalogCollection COMAdminCatalogCollection;
  70. #endif /* __cplusplus */
  71. #endif /* __COMAdminCatalogCollection_FWD_DEFINED__ */
  72. /* header files for imported files */
  73. #include "unknwn.h"
  74. #include "oaidl.h"
  75. #ifdef __cplusplus
  76. extern "C"{
  77. #endif
  78. void * __RPC_USER MIDL_user_allocate(size_t);
  79. void __RPC_USER MIDL_user_free( void * );
  80. /* interface __MIDL_itf_comadmin_0000 */
  81. /* [local] */
  82. // -----------------------------------------------------------------------
  83. // comadmin.h -- COM Administration Programming Interfaces
  84. //
  85. // This file provides the prototypes for the APIs and COM interfaces
  86. // used by Microsoft COM applications.
  87. //
  88. // Copyright (c) 1995-2001 Microsoft Corporation. All Rights Reserved.
  89. // -----------------------------------------------------------------------
  90. #include <objbase.h>
  91. #ifndef DECLSPEC_UUID
  92. #if (_MSC_VER >= 1100) && defined (__cplusplus)
  93. #define DECLSPEC_UUID(x) __declspec(uuid(x))
  94. #else
  95. #define DECLSPEC_UUID(x)
  96. #endif
  97. #endif
  98. extern RPC_IF_HANDLE __MIDL_itf_comadmin_0000_v0_0_c_ifspec;
  99. extern RPC_IF_HANDLE __MIDL_itf_comadmin_0000_v0_0_s_ifspec;
  100. #ifndef __ICOMAdminCatalog_INTERFACE_DEFINED__
  101. #define __ICOMAdminCatalog_INTERFACE_DEFINED__
  102. /* interface ICOMAdminCatalog */
  103. /* [unique][helpstring][dual][uuid][object] */
  104. EXTERN_C const IID IID_ICOMAdminCatalog;
  105. #if defined(__cplusplus) && !defined(CINTERFACE)
  106. MIDL_INTERFACE("DD662187-DFC2-11d1-A2CF-00805FC79235")
  107. ICOMAdminCatalog : public IDispatch
  108. {
  109. public:
  110. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCollection(
  111. /* [in] */ BSTR bstrCollName,
  112. /* [retval][out] */ IDispatch **ppCatalogCollection) = 0;
  113. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Connect(
  114. /* [in] */ BSTR bstrCatalogServerName,
  115. /* [retval][out] */ IDispatch **ppCatalogCollection) = 0;
  116. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorVersion(
  117. /* [retval][out] */ long *plMajorVersion) = 0;
  118. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorVersion(
  119. /* [retval][out] */ long *plMinorVersion) = 0;
  120. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCollectionByQuery(
  121. /* [in] */ BSTR bstrCollName,
  122. /* [in] */ SAFEARRAY * *ppsaVarQuery,
  123. /* [retval][out] */ IDispatch **ppCatalogCollection) = 0;
  124. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportComponent(
  125. /* [in] */ BSTR bstrApplIDOrName,
  126. /* [in] */ BSTR bstrCLSIDOrProgID) = 0;
  127. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallComponent(
  128. /* [in] */ BSTR bstrApplIDOrName,
  129. /* [in] */ BSTR bstrDLL,
  130. /* [in] */ BSTR bstrTLB,
  131. /* [in] */ BSTR bstrPSDLL) = 0;
  132. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ShutdownApplication(
  133. /* [in] */ BSTR bstrApplIDOrName) = 0;
  134. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportApplication(
  135. /* [in] */ BSTR bstrApplIDOrName,
  136. /* [in] */ BSTR bstrApplicationFile,
  137. /* [in] */ long lOptions) = 0;
  138. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallApplication(
  139. /* [in] */ BSTR bstrApplicationFile,
  140. /* [optional][in] */ BSTR bstrDestinationDirectory,
  141. /* [optional][in] */ long lOptions,
  142. /* [optional][in] */ BSTR bstrUserId,
  143. /* [optional][in] */ BSTR bstrPassword,
  144. /* [optional][in] */ BSTR bstrRSN) = 0;
  145. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopRouter( void) = 0;
  146. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RefreshRouter( void) = 0;
  147. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartRouter( void) = 0;
  148. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Reserved1( void) = 0;
  149. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Reserved2( void) = 0;
  150. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallMultipleComponents(
  151. /* [in] */ BSTR bstrApplIDOrName,
  152. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  153. /* [in] */ SAFEARRAY * *ppsaVarCLSIDs) = 0;
  154. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMultipleComponentsInfo(
  155. /* [in] */ BSTR bstrApplIdOrName,
  156. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  157. /* [out] */ SAFEARRAY * *ppsaVarCLSIDs,
  158. /* [out] */ SAFEARRAY * *ppsaVarClassNames,
  159. /* [out] */ SAFEARRAY * *ppsaVarFileFlags,
  160. /* [out] */ SAFEARRAY * *ppsaVarComponentFlags) = 0;
  161. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RefreshComponents( void) = 0;
  162. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BackupREGDB(
  163. /* [in] */ BSTR bstrBackupFilePath) = 0;
  164. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RestoreREGDB(
  165. /* [in] */ BSTR bstrBackupFilePath) = 0;
  166. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryApplicationFile(
  167. /* [in] */ BSTR bstrApplicationFile,
  168. /* [out] */ BSTR *pbstrApplicationName,
  169. /* [out] */ BSTR *pbstrApplicationDescription,
  170. /* [out] */ VARIANT_BOOL *pbHasUsers,
  171. /* [out] */ VARIANT_BOOL *pbIsProxy,
  172. /* [out] */ SAFEARRAY * *ppsaVarFileNames) = 0;
  173. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartApplication(
  174. /* [in] */ BSTR bstrApplIdOrName) = 0;
  175. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ServiceCheck(
  176. /* [in] */ long lService,
  177. /* [retval][out] */ long *plStatus) = 0;
  178. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallMultipleEventClasses(
  179. /* [in] */ BSTR bstrApplIdOrName,
  180. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  181. /* [in] */ SAFEARRAY * *ppsaVarCLSIDS) = 0;
  182. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallEventClass(
  183. /* [in] */ BSTR bstrApplIdOrName,
  184. /* [in] */ BSTR bstrDLL,
  185. /* [in] */ BSTR bstrTLB,
  186. /* [in] */ BSTR bstrPSDLL) = 0;
  187. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetEventClassesForIID(
  188. /* [in] */ BSTR bstrIID,
  189. /* [out] */ SAFEARRAY * *ppsaVarCLSIDs,
  190. /* [out] */ SAFEARRAY * *ppsaVarProgIDs,
  191. /* [out] */ SAFEARRAY * *ppsaVarDescriptions) = 0;
  192. };
  193. #else /* C style interface */
  194. typedef struct ICOMAdminCatalogVtbl
  195. {
  196. BEGIN_INTERFACE
  197. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  198. ICOMAdminCatalog * This,
  199. /* [in] */ REFIID riid,
  200. /* [iid_is][out] */ void **ppvObject);
  201. ULONG ( STDMETHODCALLTYPE *AddRef )(
  202. ICOMAdminCatalog * This);
  203. ULONG ( STDMETHODCALLTYPE *Release )(
  204. ICOMAdminCatalog * This);
  205. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  206. ICOMAdminCatalog * This,
  207. /* [out] */ UINT *pctinfo);
  208. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  209. ICOMAdminCatalog * This,
  210. /* [in] */ UINT iTInfo,
  211. /* [in] */ LCID lcid,
  212. /* [out] */ ITypeInfo **ppTInfo);
  213. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  214. ICOMAdminCatalog * This,
  215. /* [in] */ REFIID riid,
  216. /* [size_is][in] */ LPOLESTR *rgszNames,
  217. /* [in] */ UINT cNames,
  218. /* [in] */ LCID lcid,
  219. /* [size_is][out] */ DISPID *rgDispId);
  220. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  221. ICOMAdminCatalog * This,
  222. /* [in] */ DISPID dispIdMember,
  223. /* [in] */ REFIID riid,
  224. /* [in] */ LCID lcid,
  225. /* [in] */ WORD wFlags,
  226. /* [out][in] */ DISPPARAMS *pDispParams,
  227. /* [out] */ VARIANT *pVarResult,
  228. /* [out] */ EXCEPINFO *pExcepInfo,
  229. /* [out] */ UINT *puArgErr);
  230. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCollection )(
  231. ICOMAdminCatalog * This,
  232. /* [in] */ BSTR bstrCollName,
  233. /* [retval][out] */ IDispatch **ppCatalogCollection);
  234. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )(
  235. ICOMAdminCatalog * This,
  236. /* [in] */ BSTR bstrCatalogServerName,
  237. /* [retval][out] */ IDispatch **ppCatalogCollection);
  238. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorVersion )(
  239. ICOMAdminCatalog * This,
  240. /* [retval][out] */ long *plMajorVersion);
  241. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorVersion )(
  242. ICOMAdminCatalog * This,
  243. /* [retval][out] */ long *plMinorVersion);
  244. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCollectionByQuery )(
  245. ICOMAdminCatalog * This,
  246. /* [in] */ BSTR bstrCollName,
  247. /* [in] */ SAFEARRAY * *ppsaVarQuery,
  248. /* [retval][out] */ IDispatch **ppCatalogCollection);
  249. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportComponent )(
  250. ICOMAdminCatalog * This,
  251. /* [in] */ BSTR bstrApplIDOrName,
  252. /* [in] */ BSTR bstrCLSIDOrProgID);
  253. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallComponent )(
  254. ICOMAdminCatalog * This,
  255. /* [in] */ BSTR bstrApplIDOrName,
  256. /* [in] */ BSTR bstrDLL,
  257. /* [in] */ BSTR bstrTLB,
  258. /* [in] */ BSTR bstrPSDLL);
  259. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ShutdownApplication )(
  260. ICOMAdminCatalog * This,
  261. /* [in] */ BSTR bstrApplIDOrName);
  262. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportApplication )(
  263. ICOMAdminCatalog * This,
  264. /* [in] */ BSTR bstrApplIDOrName,
  265. /* [in] */ BSTR bstrApplicationFile,
  266. /* [in] */ long lOptions);
  267. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallApplication )(
  268. ICOMAdminCatalog * This,
  269. /* [in] */ BSTR bstrApplicationFile,
  270. /* [optional][in] */ BSTR bstrDestinationDirectory,
  271. /* [optional][in] */ long lOptions,
  272. /* [optional][in] */ BSTR bstrUserId,
  273. /* [optional][in] */ BSTR bstrPassword,
  274. /* [optional][in] */ BSTR bstrRSN);
  275. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopRouter )(
  276. ICOMAdminCatalog * This);
  277. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RefreshRouter )(
  278. ICOMAdminCatalog * This);
  279. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartRouter )(
  280. ICOMAdminCatalog * This);
  281. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reserved1 )(
  282. ICOMAdminCatalog * This);
  283. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reserved2 )(
  284. ICOMAdminCatalog * This);
  285. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallMultipleComponents )(
  286. ICOMAdminCatalog * This,
  287. /* [in] */ BSTR bstrApplIDOrName,
  288. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  289. /* [in] */ SAFEARRAY * *ppsaVarCLSIDs);
  290. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMultipleComponentsInfo )(
  291. ICOMAdminCatalog * This,
  292. /* [in] */ BSTR bstrApplIdOrName,
  293. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  294. /* [out] */ SAFEARRAY * *ppsaVarCLSIDs,
  295. /* [out] */ SAFEARRAY * *ppsaVarClassNames,
  296. /* [out] */ SAFEARRAY * *ppsaVarFileFlags,
  297. /* [out] */ SAFEARRAY * *ppsaVarComponentFlags);
  298. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RefreshComponents )(
  299. ICOMAdminCatalog * This);
  300. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BackupREGDB )(
  301. ICOMAdminCatalog * This,
  302. /* [in] */ BSTR bstrBackupFilePath);
  303. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RestoreREGDB )(
  304. ICOMAdminCatalog * This,
  305. /* [in] */ BSTR bstrBackupFilePath);
  306. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryApplicationFile )(
  307. ICOMAdminCatalog * This,
  308. /* [in] */ BSTR bstrApplicationFile,
  309. /* [out] */ BSTR *pbstrApplicationName,
  310. /* [out] */ BSTR *pbstrApplicationDescription,
  311. /* [out] */ VARIANT_BOOL *pbHasUsers,
  312. /* [out] */ VARIANT_BOOL *pbIsProxy,
  313. /* [out] */ SAFEARRAY * *ppsaVarFileNames);
  314. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartApplication )(
  315. ICOMAdminCatalog * This,
  316. /* [in] */ BSTR bstrApplIdOrName);
  317. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ServiceCheck )(
  318. ICOMAdminCatalog * This,
  319. /* [in] */ long lService,
  320. /* [retval][out] */ long *plStatus);
  321. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallMultipleEventClasses )(
  322. ICOMAdminCatalog * This,
  323. /* [in] */ BSTR bstrApplIdOrName,
  324. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  325. /* [in] */ SAFEARRAY * *ppsaVarCLSIDS);
  326. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallEventClass )(
  327. ICOMAdminCatalog * This,
  328. /* [in] */ BSTR bstrApplIdOrName,
  329. /* [in] */ BSTR bstrDLL,
  330. /* [in] */ BSTR bstrTLB,
  331. /* [in] */ BSTR bstrPSDLL);
  332. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetEventClassesForIID )(
  333. ICOMAdminCatalog * This,
  334. /* [in] */ BSTR bstrIID,
  335. /* [out] */ SAFEARRAY * *ppsaVarCLSIDs,
  336. /* [out] */ SAFEARRAY * *ppsaVarProgIDs,
  337. /* [out] */ SAFEARRAY * *ppsaVarDescriptions);
  338. END_INTERFACE
  339. } ICOMAdminCatalogVtbl;
  340. interface ICOMAdminCatalog
  341. {
  342. CONST_VTBL struct ICOMAdminCatalogVtbl *lpVtbl;
  343. };
  344. #ifdef COBJMACROS
  345. #define ICOMAdminCatalog_QueryInterface(This,riid,ppvObject) \
  346. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  347. #define ICOMAdminCatalog_AddRef(This) \
  348. (This)->lpVtbl -> AddRef(This)
  349. #define ICOMAdminCatalog_Release(This) \
  350. (This)->lpVtbl -> Release(This)
  351. #define ICOMAdminCatalog_GetTypeInfoCount(This,pctinfo) \
  352. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  353. #define ICOMAdminCatalog_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  354. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  355. #define ICOMAdminCatalog_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  356. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  357. #define ICOMAdminCatalog_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  358. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  359. #define ICOMAdminCatalog_GetCollection(This,bstrCollName,ppCatalogCollection) \
  360. (This)->lpVtbl -> GetCollection(This,bstrCollName,ppCatalogCollection)
  361. #define ICOMAdminCatalog_Connect(This,bstrCatalogServerName,ppCatalogCollection) \
  362. (This)->lpVtbl -> Connect(This,bstrCatalogServerName,ppCatalogCollection)
  363. #define ICOMAdminCatalog_get_MajorVersion(This,plMajorVersion) \
  364. (This)->lpVtbl -> get_MajorVersion(This,plMajorVersion)
  365. #define ICOMAdminCatalog_get_MinorVersion(This,plMinorVersion) \
  366. (This)->lpVtbl -> get_MinorVersion(This,plMinorVersion)
  367. #define ICOMAdminCatalog_GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection) \
  368. (This)->lpVtbl -> GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection)
  369. #define ICOMAdminCatalog_ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID) \
  370. (This)->lpVtbl -> ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID)
  371. #define ICOMAdminCatalog_InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL) \
  372. (This)->lpVtbl -> InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL)
  373. #define ICOMAdminCatalog_ShutdownApplication(This,bstrApplIDOrName) \
  374. (This)->lpVtbl -> ShutdownApplication(This,bstrApplIDOrName)
  375. #define ICOMAdminCatalog_ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions) \
  376. (This)->lpVtbl -> ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions)
  377. #define ICOMAdminCatalog_InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN) \
  378. (This)->lpVtbl -> InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN)
  379. #define ICOMAdminCatalog_StopRouter(This) \
  380. (This)->lpVtbl -> StopRouter(This)
  381. #define ICOMAdminCatalog_RefreshRouter(This) \
  382. (This)->lpVtbl -> RefreshRouter(This)
  383. #define ICOMAdminCatalog_StartRouter(This) \
  384. (This)->lpVtbl -> StartRouter(This)
  385. #define ICOMAdminCatalog_Reserved1(This) \
  386. (This)->lpVtbl -> Reserved1(This)
  387. #define ICOMAdminCatalog_Reserved2(This) \
  388. (This)->lpVtbl -> Reserved2(This)
  389. #define ICOMAdminCatalog_InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs) \
  390. (This)->lpVtbl -> InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs)
  391. #define ICOMAdminCatalog_GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags) \
  392. (This)->lpVtbl -> GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags)
  393. #define ICOMAdminCatalog_RefreshComponents(This) \
  394. (This)->lpVtbl -> RefreshComponents(This)
  395. #define ICOMAdminCatalog_BackupREGDB(This,bstrBackupFilePath) \
  396. (This)->lpVtbl -> BackupREGDB(This,bstrBackupFilePath)
  397. #define ICOMAdminCatalog_RestoreREGDB(This,bstrBackupFilePath) \
  398. (This)->lpVtbl -> RestoreREGDB(This,bstrBackupFilePath)
  399. #define ICOMAdminCatalog_QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames) \
  400. (This)->lpVtbl -> QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames)
  401. #define ICOMAdminCatalog_StartApplication(This,bstrApplIdOrName) \
  402. (This)->lpVtbl -> StartApplication(This,bstrApplIdOrName)
  403. #define ICOMAdminCatalog_ServiceCheck(This,lService,plStatus) \
  404. (This)->lpVtbl -> ServiceCheck(This,lService,plStatus)
  405. #define ICOMAdminCatalog_InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS) \
  406. (This)->lpVtbl -> InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS)
  407. #define ICOMAdminCatalog_InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL) \
  408. (This)->lpVtbl -> InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL)
  409. #define ICOMAdminCatalog_GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions) \
  410. (This)->lpVtbl -> GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions)
  411. #endif /* COBJMACROS */
  412. #endif /* C style interface */
  413. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_GetCollection_Proxy(
  414. ICOMAdminCatalog * This,
  415. /* [in] */ BSTR bstrCollName,
  416. /* [retval][out] */ IDispatch **ppCatalogCollection);
  417. void __RPC_STUB ICOMAdminCatalog_GetCollection_Stub(
  418. IRpcStubBuffer *This,
  419. IRpcChannelBuffer *_pRpcChannelBuffer,
  420. PRPC_MESSAGE _pRpcMessage,
  421. DWORD *_pdwStubPhase);
  422. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_Connect_Proxy(
  423. ICOMAdminCatalog * This,
  424. /* [in] */ BSTR bstrCatalogServerName,
  425. /* [retval][out] */ IDispatch **ppCatalogCollection);
  426. void __RPC_STUB ICOMAdminCatalog_Connect_Stub(
  427. IRpcStubBuffer *This,
  428. IRpcChannelBuffer *_pRpcChannelBuffer,
  429. PRPC_MESSAGE _pRpcMessage,
  430. DWORD *_pdwStubPhase);
  431. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_get_MajorVersion_Proxy(
  432. ICOMAdminCatalog * This,
  433. /* [retval][out] */ long *plMajorVersion);
  434. void __RPC_STUB ICOMAdminCatalog_get_MajorVersion_Stub(
  435. IRpcStubBuffer *This,
  436. IRpcChannelBuffer *_pRpcChannelBuffer,
  437. PRPC_MESSAGE _pRpcMessage,
  438. DWORD *_pdwStubPhase);
  439. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_get_MinorVersion_Proxy(
  440. ICOMAdminCatalog * This,
  441. /* [retval][out] */ long *plMinorVersion);
  442. void __RPC_STUB ICOMAdminCatalog_get_MinorVersion_Stub(
  443. IRpcStubBuffer *This,
  444. IRpcChannelBuffer *_pRpcChannelBuffer,
  445. PRPC_MESSAGE _pRpcMessage,
  446. DWORD *_pdwStubPhase);
  447. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_GetCollectionByQuery_Proxy(
  448. ICOMAdminCatalog * This,
  449. /* [in] */ BSTR bstrCollName,
  450. /* [in] */ SAFEARRAY * *ppsaVarQuery,
  451. /* [retval][out] */ IDispatch **ppCatalogCollection);
  452. void __RPC_STUB ICOMAdminCatalog_GetCollectionByQuery_Stub(
  453. IRpcStubBuffer *This,
  454. IRpcChannelBuffer *_pRpcChannelBuffer,
  455. PRPC_MESSAGE _pRpcMessage,
  456. DWORD *_pdwStubPhase);
  457. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_ImportComponent_Proxy(
  458. ICOMAdminCatalog * This,
  459. /* [in] */ BSTR bstrApplIDOrName,
  460. /* [in] */ BSTR bstrCLSIDOrProgID);
  461. void __RPC_STUB ICOMAdminCatalog_ImportComponent_Stub(
  462. IRpcStubBuffer *This,
  463. IRpcChannelBuffer *_pRpcChannelBuffer,
  464. PRPC_MESSAGE _pRpcMessage,
  465. DWORD *_pdwStubPhase);
  466. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_InstallComponent_Proxy(
  467. ICOMAdminCatalog * This,
  468. /* [in] */ BSTR bstrApplIDOrName,
  469. /* [in] */ BSTR bstrDLL,
  470. /* [in] */ BSTR bstrTLB,
  471. /* [in] */ BSTR bstrPSDLL);
  472. void __RPC_STUB ICOMAdminCatalog_InstallComponent_Stub(
  473. IRpcStubBuffer *This,
  474. IRpcChannelBuffer *_pRpcChannelBuffer,
  475. PRPC_MESSAGE _pRpcMessage,
  476. DWORD *_pdwStubPhase);
  477. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_ShutdownApplication_Proxy(
  478. ICOMAdminCatalog * This,
  479. /* [in] */ BSTR bstrApplIDOrName);
  480. void __RPC_STUB ICOMAdminCatalog_ShutdownApplication_Stub(
  481. IRpcStubBuffer *This,
  482. IRpcChannelBuffer *_pRpcChannelBuffer,
  483. PRPC_MESSAGE _pRpcMessage,
  484. DWORD *_pdwStubPhase);
  485. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_ExportApplication_Proxy(
  486. ICOMAdminCatalog * This,
  487. /* [in] */ BSTR bstrApplIDOrName,
  488. /* [in] */ BSTR bstrApplicationFile,
  489. /* [in] */ long lOptions);
  490. void __RPC_STUB ICOMAdminCatalog_ExportApplication_Stub(
  491. IRpcStubBuffer *This,
  492. IRpcChannelBuffer *_pRpcChannelBuffer,
  493. PRPC_MESSAGE _pRpcMessage,
  494. DWORD *_pdwStubPhase);
  495. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_InstallApplication_Proxy(
  496. ICOMAdminCatalog * This,
  497. /* [in] */ BSTR bstrApplicationFile,
  498. /* [optional][in] */ BSTR bstrDestinationDirectory,
  499. /* [optional][in] */ long lOptions,
  500. /* [optional][in] */ BSTR bstrUserId,
  501. /* [optional][in] */ BSTR bstrPassword,
  502. /* [optional][in] */ BSTR bstrRSN);
  503. void __RPC_STUB ICOMAdminCatalog_InstallApplication_Stub(
  504. IRpcStubBuffer *This,
  505. IRpcChannelBuffer *_pRpcChannelBuffer,
  506. PRPC_MESSAGE _pRpcMessage,
  507. DWORD *_pdwStubPhase);
  508. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_StopRouter_Proxy(
  509. ICOMAdminCatalog * This);
  510. void __RPC_STUB ICOMAdminCatalog_StopRouter_Stub(
  511. IRpcStubBuffer *This,
  512. IRpcChannelBuffer *_pRpcChannelBuffer,
  513. PRPC_MESSAGE _pRpcMessage,
  514. DWORD *_pdwStubPhase);
  515. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_RefreshRouter_Proxy(
  516. ICOMAdminCatalog * This);
  517. void __RPC_STUB ICOMAdminCatalog_RefreshRouter_Stub(
  518. IRpcStubBuffer *This,
  519. IRpcChannelBuffer *_pRpcChannelBuffer,
  520. PRPC_MESSAGE _pRpcMessage,
  521. DWORD *_pdwStubPhase);
  522. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_StartRouter_Proxy(
  523. ICOMAdminCatalog * This);
  524. void __RPC_STUB ICOMAdminCatalog_StartRouter_Stub(
  525. IRpcStubBuffer *This,
  526. IRpcChannelBuffer *_pRpcChannelBuffer,
  527. PRPC_MESSAGE _pRpcMessage,
  528. DWORD *_pdwStubPhase);
  529. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_Reserved1_Proxy(
  530. ICOMAdminCatalog * This);
  531. void __RPC_STUB ICOMAdminCatalog_Reserved1_Stub(
  532. IRpcStubBuffer *This,
  533. IRpcChannelBuffer *_pRpcChannelBuffer,
  534. PRPC_MESSAGE _pRpcMessage,
  535. DWORD *_pdwStubPhase);
  536. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_Reserved2_Proxy(
  537. ICOMAdminCatalog * This);
  538. void __RPC_STUB ICOMAdminCatalog_Reserved2_Stub(
  539. IRpcStubBuffer *This,
  540. IRpcChannelBuffer *_pRpcChannelBuffer,
  541. PRPC_MESSAGE _pRpcMessage,
  542. DWORD *_pdwStubPhase);
  543. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_InstallMultipleComponents_Proxy(
  544. ICOMAdminCatalog * This,
  545. /* [in] */ BSTR bstrApplIDOrName,
  546. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  547. /* [in] */ SAFEARRAY * *ppsaVarCLSIDs);
  548. void __RPC_STUB ICOMAdminCatalog_InstallMultipleComponents_Stub(
  549. IRpcStubBuffer *This,
  550. IRpcChannelBuffer *_pRpcChannelBuffer,
  551. PRPC_MESSAGE _pRpcMessage,
  552. DWORD *_pdwStubPhase);
  553. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_GetMultipleComponentsInfo_Proxy(
  554. ICOMAdminCatalog * This,
  555. /* [in] */ BSTR bstrApplIdOrName,
  556. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  557. /* [out] */ SAFEARRAY * *ppsaVarCLSIDs,
  558. /* [out] */ SAFEARRAY * *ppsaVarClassNames,
  559. /* [out] */ SAFEARRAY * *ppsaVarFileFlags,
  560. /* [out] */ SAFEARRAY * *ppsaVarComponentFlags);
  561. void __RPC_STUB ICOMAdminCatalog_GetMultipleComponentsInfo_Stub(
  562. IRpcStubBuffer *This,
  563. IRpcChannelBuffer *_pRpcChannelBuffer,
  564. PRPC_MESSAGE _pRpcMessage,
  565. DWORD *_pdwStubPhase);
  566. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_RefreshComponents_Proxy(
  567. ICOMAdminCatalog * This);
  568. void __RPC_STUB ICOMAdminCatalog_RefreshComponents_Stub(
  569. IRpcStubBuffer *This,
  570. IRpcChannelBuffer *_pRpcChannelBuffer,
  571. PRPC_MESSAGE _pRpcMessage,
  572. DWORD *_pdwStubPhase);
  573. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_BackupREGDB_Proxy(
  574. ICOMAdminCatalog * This,
  575. /* [in] */ BSTR bstrBackupFilePath);
  576. void __RPC_STUB ICOMAdminCatalog_BackupREGDB_Stub(
  577. IRpcStubBuffer *This,
  578. IRpcChannelBuffer *_pRpcChannelBuffer,
  579. PRPC_MESSAGE _pRpcMessage,
  580. DWORD *_pdwStubPhase);
  581. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_RestoreREGDB_Proxy(
  582. ICOMAdminCatalog * This,
  583. /* [in] */ BSTR bstrBackupFilePath);
  584. void __RPC_STUB ICOMAdminCatalog_RestoreREGDB_Stub(
  585. IRpcStubBuffer *This,
  586. IRpcChannelBuffer *_pRpcChannelBuffer,
  587. PRPC_MESSAGE _pRpcMessage,
  588. DWORD *_pdwStubPhase);
  589. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_QueryApplicationFile_Proxy(
  590. ICOMAdminCatalog * This,
  591. /* [in] */ BSTR bstrApplicationFile,
  592. /* [out] */ BSTR *pbstrApplicationName,
  593. /* [out] */ BSTR *pbstrApplicationDescription,
  594. /* [out] */ VARIANT_BOOL *pbHasUsers,
  595. /* [out] */ VARIANT_BOOL *pbIsProxy,
  596. /* [out] */ SAFEARRAY * *ppsaVarFileNames);
  597. void __RPC_STUB ICOMAdminCatalog_QueryApplicationFile_Stub(
  598. IRpcStubBuffer *This,
  599. IRpcChannelBuffer *_pRpcChannelBuffer,
  600. PRPC_MESSAGE _pRpcMessage,
  601. DWORD *_pdwStubPhase);
  602. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_StartApplication_Proxy(
  603. ICOMAdminCatalog * This,
  604. /* [in] */ BSTR bstrApplIdOrName);
  605. void __RPC_STUB ICOMAdminCatalog_StartApplication_Stub(
  606. IRpcStubBuffer *This,
  607. IRpcChannelBuffer *_pRpcChannelBuffer,
  608. PRPC_MESSAGE _pRpcMessage,
  609. DWORD *_pdwStubPhase);
  610. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_ServiceCheck_Proxy(
  611. ICOMAdminCatalog * This,
  612. /* [in] */ long lService,
  613. /* [retval][out] */ long *plStatus);
  614. void __RPC_STUB ICOMAdminCatalog_ServiceCheck_Stub(
  615. IRpcStubBuffer *This,
  616. IRpcChannelBuffer *_pRpcChannelBuffer,
  617. PRPC_MESSAGE _pRpcMessage,
  618. DWORD *_pdwStubPhase);
  619. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_InstallMultipleEventClasses_Proxy(
  620. ICOMAdminCatalog * This,
  621. /* [in] */ BSTR bstrApplIdOrName,
  622. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  623. /* [in] */ SAFEARRAY * *ppsaVarCLSIDS);
  624. void __RPC_STUB ICOMAdminCatalog_InstallMultipleEventClasses_Stub(
  625. IRpcStubBuffer *This,
  626. IRpcChannelBuffer *_pRpcChannelBuffer,
  627. PRPC_MESSAGE _pRpcMessage,
  628. DWORD *_pdwStubPhase);
  629. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_InstallEventClass_Proxy(
  630. ICOMAdminCatalog * This,
  631. /* [in] */ BSTR bstrApplIdOrName,
  632. /* [in] */ BSTR bstrDLL,
  633. /* [in] */ BSTR bstrTLB,
  634. /* [in] */ BSTR bstrPSDLL);
  635. void __RPC_STUB ICOMAdminCatalog_InstallEventClass_Stub(
  636. IRpcStubBuffer *This,
  637. IRpcChannelBuffer *_pRpcChannelBuffer,
  638. PRPC_MESSAGE _pRpcMessage,
  639. DWORD *_pdwStubPhase);
  640. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog_GetEventClassesForIID_Proxy(
  641. ICOMAdminCatalog * This,
  642. /* [in] */ BSTR bstrIID,
  643. /* [out] */ SAFEARRAY * *ppsaVarCLSIDs,
  644. /* [out] */ SAFEARRAY * *ppsaVarProgIDs,
  645. /* [out] */ SAFEARRAY * *ppsaVarDescriptions);
  646. void __RPC_STUB ICOMAdminCatalog_GetEventClassesForIID_Stub(
  647. IRpcStubBuffer *This,
  648. IRpcChannelBuffer *_pRpcChannelBuffer,
  649. PRPC_MESSAGE _pRpcMessage,
  650. DWORD *_pdwStubPhase);
  651. #endif /* __ICOMAdminCatalog_INTERFACE_DEFINED__ */
  652. /* interface __MIDL_itf_comadmin_0116 */
  653. /* [local] */
  654. typedef /* [helpstring] */
  655. enum COMAdminInUse
  656. { COMAdminNotInUse = 0,
  657. COMAdminInUseByCatalog = 0x1,
  658. COMAdminInUseByRegistryUnknown = 0x2,
  659. COMAdminInUseByRegistryProxyStub = 0x3,
  660. COMAdminInUseByRegistryTypeLib = 0x4,
  661. COMAdminInUseByRegistryClsid = 0x5
  662. } COMAdminInUse;
  663. extern RPC_IF_HANDLE __MIDL_itf_comadmin_0116_v0_0_c_ifspec;
  664. extern RPC_IF_HANDLE __MIDL_itf_comadmin_0116_v0_0_s_ifspec;
  665. #ifndef __ICOMAdminCatalog2_INTERFACE_DEFINED__
  666. #define __ICOMAdminCatalog2_INTERFACE_DEFINED__
  667. /* interface ICOMAdminCatalog2 */
  668. /* [unique][helpstring][dual][uuid][object] */
  669. EXTERN_C const IID IID_ICOMAdminCatalog2;
  670. #if defined(__cplusplus) && !defined(CINTERFACE)
  671. MIDL_INTERFACE("790C6E0B-9194-4cc9-9426-A48A63185696")
  672. ICOMAdminCatalog2 : public ICOMAdminCatalog
  673. {
  674. public:
  675. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCollectionByQuery2(
  676. /* [in] */ BSTR bstrCollectionName,
  677. /* [in] */ VARIANT *pVarQueryStrings,
  678. /* [retval][out] */ IDispatch **ppCatalogCollection) = 0;
  679. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetApplicationInstanceIDFromProcessID(
  680. /* [in] */ long lProcessID,
  681. /* [retval][out] */ BSTR *pbstrApplicationInstanceID) = 0;
  682. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ShutdownApplicationInstances(
  683. /* [in] */ VARIANT *pVarApplicationInstanceID) = 0;
  684. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PauseApplicationInstances(
  685. /* [in] */ VARIANT *pVarApplicationInstanceID) = 0;
  686. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ResumeApplicationInstances(
  687. /* [in] */ VARIANT *pVarApplicationInstanceID) = 0;
  688. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RecycleApplicationInstances(
  689. /* [in] */ VARIANT *pVarApplicationInstanceID,
  690. /* [in] */ long lReasonCode) = 0;
  691. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AreApplicationInstancesPaused(
  692. /* [in] */ VARIANT *pVarApplicationInstanceID,
  693. /* [retval][out] */ VARIANT_BOOL *pVarBoolPaused) = 0;
  694. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DumpApplicationInstance(
  695. /* [in] */ BSTR bstrApplicationInstanceID,
  696. /* [in] */ BSTR bstrDirectory,
  697. /* [in] */ long lMaxImages,
  698. /* [retval][out] */ BSTR *pbstrDumpFile) = 0;
  699. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_IsApplicationInstanceDumpSupported(
  700. /* [retval][out] */ VARIANT_BOOL *pVarBoolDumpSupported) = 0;
  701. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateServiceForApplication(
  702. /* [in] */ BSTR bstrApplicationIDOrName,
  703. /* [in] */ BSTR bstrServiceName,
  704. /* [in] */ BSTR bstrStartType,
  705. /* [in] */ BSTR bstrErrorControl,
  706. /* [in] */ BSTR bstrDependencies,
  707. /* [in] */ BSTR bstrRunAs,
  708. /* [in] */ BSTR bstrPassword,
  709. /* [in] */ VARIANT_BOOL bDesktopOk) = 0;
  710. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeleteServiceForApplication(
  711. /* [in] */ BSTR bstrApplicationIDOrName) = 0;
  712. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPartitionID(
  713. /* [in] */ BSTR bstrApplicationIDOrName,
  714. /* [retval][out] */ BSTR *pbstrPartitionID) = 0;
  715. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPartitionName(
  716. /* [in] */ BSTR bstrApplicationIDOrName,
  717. /* [retval][out] */ BSTR *pbstrPartitionName) = 0;
  718. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CurrentPartition(
  719. /* [in] */ BSTR bstrPartitionIDOrName) = 0;
  720. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentPartitionID(
  721. /* [retval][out] */ BSTR *pbstrPartitionID) = 0;
  722. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentPartitionName(
  723. /* [retval][out] */ BSTR *pbstrPartitionName) = 0;
  724. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GlobalPartitionID(
  725. /* [retval][out] */ BSTR *pbstrGlobalPartitionID) = 0;
  726. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE FlushPartitionCache( void) = 0;
  727. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyApplications(
  728. /* [in] */ BSTR bstrSourcePartitionIDOrName,
  729. /* [in] */ VARIANT *pVarApplicationID,
  730. /* [in] */ BSTR bstrDestinationPartitionIDOrName) = 0;
  731. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyComponents(
  732. /* [in] */ BSTR bstrSourceApplicationIDOrName,
  733. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  734. /* [in] */ BSTR bstrDestinationApplicationIDOrName) = 0;
  735. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MoveComponents(
  736. /* [in] */ BSTR bstrSourceApplicationIDOrName,
  737. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  738. /* [in] */ BSTR bstrDestinationApplicationIDOrName) = 0;
  739. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AliasComponent(
  740. /* [in] */ BSTR bstrSrcApplicationIDOrName,
  741. /* [in] */ BSTR bstrCLSIDOrProgID,
  742. /* [in] */ BSTR bstrDestApplicationIDOrName,
  743. /* [in] */ BSTR bstrNewProgId,
  744. /* [in] */ BSTR bstrNewClsid) = 0;
  745. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsSafeToDelete(
  746. /* [in] */ BSTR bstrDllName,
  747. /* [retval][out] */ COMAdminInUse *pCOMAdminInUse) = 0;
  748. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportUnconfiguredComponents(
  749. /* [in] */ BSTR bstrApplicationIDOrName,
  750. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  751. /* [optional][in] */ VARIANT *pVarComponentType) = 0;
  752. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PromoteUnconfiguredComponents(
  753. /* [in] */ BSTR bstrApplicationIDOrName,
  754. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  755. /* [optional][in] */ VARIANT *pVarComponentType) = 0;
  756. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportComponents(
  757. /* [in] */ BSTR bstrApplicationIDOrName,
  758. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  759. /* [optional][in] */ VARIANT *pVarComponentType) = 0;
  760. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Is64BitCatalogServer(
  761. /* [retval][out] */ VARIANT_BOOL *pbIs64Bit) = 0;
  762. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportPartition(
  763. /* [in] */ BSTR bstrPartitionIDOrName,
  764. /* [in] */ BSTR bstrPartitionFileName,
  765. /* [in] */ long lOptions) = 0;
  766. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallPartition(
  767. /* [in] */ BSTR bstrFileName,
  768. /* [in] */ BSTR bstrDestDirectory,
  769. /* [in] */ long lOptions,
  770. /* [in] */ BSTR bstrUserID,
  771. /* [in] */ BSTR bstrPassword,
  772. /* [in] */ BSTR bstrRSN) = 0;
  773. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryApplicationFile2(
  774. /* [in] */ BSTR bstrApplicationFile,
  775. /* [retval][out] */ IDispatch **ppFilesForImport) = 0;
  776. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetComponentVersionCount(
  777. /* [in] */ BSTR bstrCLSIDOrProgID,
  778. /* [retval][out] */ long *plVersionCount) = 0;
  779. };
  780. #else /* C style interface */
  781. typedef struct ICOMAdminCatalog2Vtbl
  782. {
  783. BEGIN_INTERFACE
  784. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  785. ICOMAdminCatalog2 * This,
  786. /* [in] */ REFIID riid,
  787. /* [iid_is][out] */ void **ppvObject);
  788. ULONG ( STDMETHODCALLTYPE *AddRef )(
  789. ICOMAdminCatalog2 * This);
  790. ULONG ( STDMETHODCALLTYPE *Release )(
  791. ICOMAdminCatalog2 * This);
  792. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  793. ICOMAdminCatalog2 * This,
  794. /* [out] */ UINT *pctinfo);
  795. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  796. ICOMAdminCatalog2 * This,
  797. /* [in] */ UINT iTInfo,
  798. /* [in] */ LCID lcid,
  799. /* [out] */ ITypeInfo **ppTInfo);
  800. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  801. ICOMAdminCatalog2 * This,
  802. /* [in] */ REFIID riid,
  803. /* [size_is][in] */ LPOLESTR *rgszNames,
  804. /* [in] */ UINT cNames,
  805. /* [in] */ LCID lcid,
  806. /* [size_is][out] */ DISPID *rgDispId);
  807. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  808. ICOMAdminCatalog2 * This,
  809. /* [in] */ DISPID dispIdMember,
  810. /* [in] */ REFIID riid,
  811. /* [in] */ LCID lcid,
  812. /* [in] */ WORD wFlags,
  813. /* [out][in] */ DISPPARAMS *pDispParams,
  814. /* [out] */ VARIANT *pVarResult,
  815. /* [out] */ EXCEPINFO *pExcepInfo,
  816. /* [out] */ UINT *puArgErr);
  817. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCollection )(
  818. ICOMAdminCatalog2 * This,
  819. /* [in] */ BSTR bstrCollName,
  820. /* [retval][out] */ IDispatch **ppCatalogCollection);
  821. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )(
  822. ICOMAdminCatalog2 * This,
  823. /* [in] */ BSTR bstrCatalogServerName,
  824. /* [retval][out] */ IDispatch **ppCatalogCollection);
  825. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MajorVersion )(
  826. ICOMAdminCatalog2 * This,
  827. /* [retval][out] */ long *plMajorVersion);
  828. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MinorVersion )(
  829. ICOMAdminCatalog2 * This,
  830. /* [retval][out] */ long *plMinorVersion);
  831. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCollectionByQuery )(
  832. ICOMAdminCatalog2 * This,
  833. /* [in] */ BSTR bstrCollName,
  834. /* [in] */ SAFEARRAY * *ppsaVarQuery,
  835. /* [retval][out] */ IDispatch **ppCatalogCollection);
  836. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportComponent )(
  837. ICOMAdminCatalog2 * This,
  838. /* [in] */ BSTR bstrApplIDOrName,
  839. /* [in] */ BSTR bstrCLSIDOrProgID);
  840. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallComponent )(
  841. ICOMAdminCatalog2 * This,
  842. /* [in] */ BSTR bstrApplIDOrName,
  843. /* [in] */ BSTR bstrDLL,
  844. /* [in] */ BSTR bstrTLB,
  845. /* [in] */ BSTR bstrPSDLL);
  846. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ShutdownApplication )(
  847. ICOMAdminCatalog2 * This,
  848. /* [in] */ BSTR bstrApplIDOrName);
  849. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportApplication )(
  850. ICOMAdminCatalog2 * This,
  851. /* [in] */ BSTR bstrApplIDOrName,
  852. /* [in] */ BSTR bstrApplicationFile,
  853. /* [in] */ long lOptions);
  854. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallApplication )(
  855. ICOMAdminCatalog2 * This,
  856. /* [in] */ BSTR bstrApplicationFile,
  857. /* [optional][in] */ BSTR bstrDestinationDirectory,
  858. /* [optional][in] */ long lOptions,
  859. /* [optional][in] */ BSTR bstrUserId,
  860. /* [optional][in] */ BSTR bstrPassword,
  861. /* [optional][in] */ BSTR bstrRSN);
  862. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopRouter )(
  863. ICOMAdminCatalog2 * This);
  864. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RefreshRouter )(
  865. ICOMAdminCatalog2 * This);
  866. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartRouter )(
  867. ICOMAdminCatalog2 * This);
  868. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reserved1 )(
  869. ICOMAdminCatalog2 * This);
  870. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Reserved2 )(
  871. ICOMAdminCatalog2 * This);
  872. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallMultipleComponents )(
  873. ICOMAdminCatalog2 * This,
  874. /* [in] */ BSTR bstrApplIDOrName,
  875. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  876. /* [in] */ SAFEARRAY * *ppsaVarCLSIDs);
  877. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetMultipleComponentsInfo )(
  878. ICOMAdminCatalog2 * This,
  879. /* [in] */ BSTR bstrApplIdOrName,
  880. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  881. /* [out] */ SAFEARRAY * *ppsaVarCLSIDs,
  882. /* [out] */ SAFEARRAY * *ppsaVarClassNames,
  883. /* [out] */ SAFEARRAY * *ppsaVarFileFlags,
  884. /* [out] */ SAFEARRAY * *ppsaVarComponentFlags);
  885. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RefreshComponents )(
  886. ICOMAdminCatalog2 * This);
  887. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BackupREGDB )(
  888. ICOMAdminCatalog2 * This,
  889. /* [in] */ BSTR bstrBackupFilePath);
  890. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RestoreREGDB )(
  891. ICOMAdminCatalog2 * This,
  892. /* [in] */ BSTR bstrBackupFilePath);
  893. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryApplicationFile )(
  894. ICOMAdminCatalog2 * This,
  895. /* [in] */ BSTR bstrApplicationFile,
  896. /* [out] */ BSTR *pbstrApplicationName,
  897. /* [out] */ BSTR *pbstrApplicationDescription,
  898. /* [out] */ VARIANT_BOOL *pbHasUsers,
  899. /* [out] */ VARIANT_BOOL *pbIsProxy,
  900. /* [out] */ SAFEARRAY * *ppsaVarFileNames);
  901. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartApplication )(
  902. ICOMAdminCatalog2 * This,
  903. /* [in] */ BSTR bstrApplIdOrName);
  904. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ServiceCheck )(
  905. ICOMAdminCatalog2 * This,
  906. /* [in] */ long lService,
  907. /* [retval][out] */ long *plStatus);
  908. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallMultipleEventClasses )(
  909. ICOMAdminCatalog2 * This,
  910. /* [in] */ BSTR bstrApplIdOrName,
  911. /* [in] */ SAFEARRAY * *ppsaVarFileNames,
  912. /* [in] */ SAFEARRAY * *ppsaVarCLSIDS);
  913. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallEventClass )(
  914. ICOMAdminCatalog2 * This,
  915. /* [in] */ BSTR bstrApplIdOrName,
  916. /* [in] */ BSTR bstrDLL,
  917. /* [in] */ BSTR bstrTLB,
  918. /* [in] */ BSTR bstrPSDLL);
  919. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetEventClassesForIID )(
  920. ICOMAdminCatalog2 * This,
  921. /* [in] */ BSTR bstrIID,
  922. /* [out] */ SAFEARRAY * *ppsaVarCLSIDs,
  923. /* [out] */ SAFEARRAY * *ppsaVarProgIDs,
  924. /* [out] */ SAFEARRAY * *ppsaVarDescriptions);
  925. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCollectionByQuery2 )(
  926. ICOMAdminCatalog2 * This,
  927. /* [in] */ BSTR bstrCollectionName,
  928. /* [in] */ VARIANT *pVarQueryStrings,
  929. /* [retval][out] */ IDispatch **ppCatalogCollection);
  930. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetApplicationInstanceIDFromProcessID )(
  931. ICOMAdminCatalog2 * This,
  932. /* [in] */ long lProcessID,
  933. /* [retval][out] */ BSTR *pbstrApplicationInstanceID);
  934. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ShutdownApplicationInstances )(
  935. ICOMAdminCatalog2 * This,
  936. /* [in] */ VARIANT *pVarApplicationInstanceID);
  937. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PauseApplicationInstances )(
  938. ICOMAdminCatalog2 * This,
  939. /* [in] */ VARIANT *pVarApplicationInstanceID);
  940. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ResumeApplicationInstances )(
  941. ICOMAdminCatalog2 * This,
  942. /* [in] */ VARIANT *pVarApplicationInstanceID);
  943. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RecycleApplicationInstances )(
  944. ICOMAdminCatalog2 * This,
  945. /* [in] */ VARIANT *pVarApplicationInstanceID,
  946. /* [in] */ long lReasonCode);
  947. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AreApplicationInstancesPaused )(
  948. ICOMAdminCatalog2 * This,
  949. /* [in] */ VARIANT *pVarApplicationInstanceID,
  950. /* [retval][out] */ VARIANT_BOOL *pVarBoolPaused);
  951. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DumpApplicationInstance )(
  952. ICOMAdminCatalog2 * This,
  953. /* [in] */ BSTR bstrApplicationInstanceID,
  954. /* [in] */ BSTR bstrDirectory,
  955. /* [in] */ long lMaxImages,
  956. /* [retval][out] */ BSTR *pbstrDumpFile);
  957. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsApplicationInstanceDumpSupported )(
  958. ICOMAdminCatalog2 * This,
  959. /* [retval][out] */ VARIANT_BOOL *pVarBoolDumpSupported);
  960. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateServiceForApplication )(
  961. ICOMAdminCatalog2 * This,
  962. /* [in] */ BSTR bstrApplicationIDOrName,
  963. /* [in] */ BSTR bstrServiceName,
  964. /* [in] */ BSTR bstrStartType,
  965. /* [in] */ BSTR bstrErrorControl,
  966. /* [in] */ BSTR bstrDependencies,
  967. /* [in] */ BSTR bstrRunAs,
  968. /* [in] */ BSTR bstrPassword,
  969. /* [in] */ VARIANT_BOOL bDesktopOk);
  970. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteServiceForApplication )(
  971. ICOMAdminCatalog2 * This,
  972. /* [in] */ BSTR bstrApplicationIDOrName);
  973. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPartitionID )(
  974. ICOMAdminCatalog2 * This,
  975. /* [in] */ BSTR bstrApplicationIDOrName,
  976. /* [retval][out] */ BSTR *pbstrPartitionID);
  977. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPartitionName )(
  978. ICOMAdminCatalog2 * This,
  979. /* [in] */ BSTR bstrApplicationIDOrName,
  980. /* [retval][out] */ BSTR *pbstrPartitionName);
  981. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CurrentPartition )(
  982. ICOMAdminCatalog2 * This,
  983. /* [in] */ BSTR bstrPartitionIDOrName);
  984. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentPartitionID )(
  985. ICOMAdminCatalog2 * This,
  986. /* [retval][out] */ BSTR *pbstrPartitionID);
  987. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentPartitionName )(
  988. ICOMAdminCatalog2 * This,
  989. /* [retval][out] */ BSTR *pbstrPartitionName);
  990. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GlobalPartitionID )(
  991. ICOMAdminCatalog2 * This,
  992. /* [retval][out] */ BSTR *pbstrGlobalPartitionID);
  993. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *FlushPartitionCache )(
  994. ICOMAdminCatalog2 * This);
  995. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyApplications )(
  996. ICOMAdminCatalog2 * This,
  997. /* [in] */ BSTR bstrSourcePartitionIDOrName,
  998. /* [in] */ VARIANT *pVarApplicationID,
  999. /* [in] */ BSTR bstrDestinationPartitionIDOrName);
  1000. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CopyComponents )(
  1001. ICOMAdminCatalog2 * This,
  1002. /* [in] */ BSTR bstrSourceApplicationIDOrName,
  1003. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1004. /* [in] */ BSTR bstrDestinationApplicationIDOrName);
  1005. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MoveComponents )(
  1006. ICOMAdminCatalog2 * This,
  1007. /* [in] */ BSTR bstrSourceApplicationIDOrName,
  1008. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1009. /* [in] */ BSTR bstrDestinationApplicationIDOrName);
  1010. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AliasComponent )(
  1011. ICOMAdminCatalog2 * This,
  1012. /* [in] */ BSTR bstrSrcApplicationIDOrName,
  1013. /* [in] */ BSTR bstrCLSIDOrProgID,
  1014. /* [in] */ BSTR bstrDestApplicationIDOrName,
  1015. /* [in] */ BSTR bstrNewProgId,
  1016. /* [in] */ BSTR bstrNewClsid);
  1017. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsSafeToDelete )(
  1018. ICOMAdminCatalog2 * This,
  1019. /* [in] */ BSTR bstrDllName,
  1020. /* [retval][out] */ COMAdminInUse *pCOMAdminInUse);
  1021. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportUnconfiguredComponents )(
  1022. ICOMAdminCatalog2 * This,
  1023. /* [in] */ BSTR bstrApplicationIDOrName,
  1024. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1025. /* [optional][in] */ VARIANT *pVarComponentType);
  1026. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PromoteUnconfiguredComponents )(
  1027. ICOMAdminCatalog2 * This,
  1028. /* [in] */ BSTR bstrApplicationIDOrName,
  1029. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1030. /* [optional][in] */ VARIANT *pVarComponentType);
  1031. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ImportComponents )(
  1032. ICOMAdminCatalog2 * This,
  1033. /* [in] */ BSTR bstrApplicationIDOrName,
  1034. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1035. /* [optional][in] */ VARIANT *pVarComponentType);
  1036. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Is64BitCatalogServer )(
  1037. ICOMAdminCatalog2 * This,
  1038. /* [retval][out] */ VARIANT_BOOL *pbIs64Bit);
  1039. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExportPartition )(
  1040. ICOMAdminCatalog2 * This,
  1041. /* [in] */ BSTR bstrPartitionIDOrName,
  1042. /* [in] */ BSTR bstrPartitionFileName,
  1043. /* [in] */ long lOptions);
  1044. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InstallPartition )(
  1045. ICOMAdminCatalog2 * This,
  1046. /* [in] */ BSTR bstrFileName,
  1047. /* [in] */ BSTR bstrDestDirectory,
  1048. /* [in] */ long lOptions,
  1049. /* [in] */ BSTR bstrUserID,
  1050. /* [in] */ BSTR bstrPassword,
  1051. /* [in] */ BSTR bstrRSN);
  1052. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryApplicationFile2 )(
  1053. ICOMAdminCatalog2 * This,
  1054. /* [in] */ BSTR bstrApplicationFile,
  1055. /* [retval][out] */ IDispatch **ppFilesForImport);
  1056. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetComponentVersionCount )(
  1057. ICOMAdminCatalog2 * This,
  1058. /* [in] */ BSTR bstrCLSIDOrProgID,
  1059. /* [retval][out] */ long *plVersionCount);
  1060. END_INTERFACE
  1061. } ICOMAdminCatalog2Vtbl;
  1062. interface ICOMAdminCatalog2
  1063. {
  1064. CONST_VTBL struct ICOMAdminCatalog2Vtbl *lpVtbl;
  1065. };
  1066. #ifdef COBJMACROS
  1067. #define ICOMAdminCatalog2_QueryInterface(This,riid,ppvObject) \
  1068. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1069. #define ICOMAdminCatalog2_AddRef(This) \
  1070. (This)->lpVtbl -> AddRef(This)
  1071. #define ICOMAdminCatalog2_Release(This) \
  1072. (This)->lpVtbl -> Release(This)
  1073. #define ICOMAdminCatalog2_GetTypeInfoCount(This,pctinfo) \
  1074. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1075. #define ICOMAdminCatalog2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1076. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1077. #define ICOMAdminCatalog2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1078. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1079. #define ICOMAdminCatalog2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1080. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1081. #define ICOMAdminCatalog2_GetCollection(This,bstrCollName,ppCatalogCollection) \
  1082. (This)->lpVtbl -> GetCollection(This,bstrCollName,ppCatalogCollection)
  1083. #define ICOMAdminCatalog2_Connect(This,bstrCatalogServerName,ppCatalogCollection) \
  1084. (This)->lpVtbl -> Connect(This,bstrCatalogServerName,ppCatalogCollection)
  1085. #define ICOMAdminCatalog2_get_MajorVersion(This,plMajorVersion) \
  1086. (This)->lpVtbl -> get_MajorVersion(This,plMajorVersion)
  1087. #define ICOMAdminCatalog2_get_MinorVersion(This,plMinorVersion) \
  1088. (This)->lpVtbl -> get_MinorVersion(This,plMinorVersion)
  1089. #define ICOMAdminCatalog2_GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection) \
  1090. (This)->lpVtbl -> GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection)
  1091. #define ICOMAdminCatalog2_ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID) \
  1092. (This)->lpVtbl -> ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID)
  1093. #define ICOMAdminCatalog2_InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL) \
  1094. (This)->lpVtbl -> InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL)
  1095. #define ICOMAdminCatalog2_ShutdownApplication(This,bstrApplIDOrName) \
  1096. (This)->lpVtbl -> ShutdownApplication(This,bstrApplIDOrName)
  1097. #define ICOMAdminCatalog2_ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions) \
  1098. (This)->lpVtbl -> ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions)
  1099. #define ICOMAdminCatalog2_InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN) \
  1100. (This)->lpVtbl -> InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN)
  1101. #define ICOMAdminCatalog2_StopRouter(This) \
  1102. (This)->lpVtbl -> StopRouter(This)
  1103. #define ICOMAdminCatalog2_RefreshRouter(This) \
  1104. (This)->lpVtbl -> RefreshRouter(This)
  1105. #define ICOMAdminCatalog2_StartRouter(This) \
  1106. (This)->lpVtbl -> StartRouter(This)
  1107. #define ICOMAdminCatalog2_Reserved1(This) \
  1108. (This)->lpVtbl -> Reserved1(This)
  1109. #define ICOMAdminCatalog2_Reserved2(This) \
  1110. (This)->lpVtbl -> Reserved2(This)
  1111. #define ICOMAdminCatalog2_InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs) \
  1112. (This)->lpVtbl -> InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs)
  1113. #define ICOMAdminCatalog2_GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags) \
  1114. (This)->lpVtbl -> GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags)
  1115. #define ICOMAdminCatalog2_RefreshComponents(This) \
  1116. (This)->lpVtbl -> RefreshComponents(This)
  1117. #define ICOMAdminCatalog2_BackupREGDB(This,bstrBackupFilePath) \
  1118. (This)->lpVtbl -> BackupREGDB(This,bstrBackupFilePath)
  1119. #define ICOMAdminCatalog2_RestoreREGDB(This,bstrBackupFilePath) \
  1120. (This)->lpVtbl -> RestoreREGDB(This,bstrBackupFilePath)
  1121. #define ICOMAdminCatalog2_QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames) \
  1122. (This)->lpVtbl -> QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames)
  1123. #define ICOMAdminCatalog2_StartApplication(This,bstrApplIdOrName) \
  1124. (This)->lpVtbl -> StartApplication(This,bstrApplIdOrName)
  1125. #define ICOMAdminCatalog2_ServiceCheck(This,lService,plStatus) \
  1126. (This)->lpVtbl -> ServiceCheck(This,lService,plStatus)
  1127. #define ICOMAdminCatalog2_InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS) \
  1128. (This)->lpVtbl -> InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS)
  1129. #define ICOMAdminCatalog2_InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL) \
  1130. (This)->lpVtbl -> InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL)
  1131. #define ICOMAdminCatalog2_GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions) \
  1132. (This)->lpVtbl -> GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions)
  1133. #define ICOMAdminCatalog2_GetCollectionByQuery2(This,bstrCollectionName,pVarQueryStrings,ppCatalogCollection) \
  1134. (This)->lpVtbl -> GetCollectionByQuery2(This,bstrCollectionName,pVarQueryStrings,ppCatalogCollection)
  1135. #define ICOMAdminCatalog2_GetApplicationInstanceIDFromProcessID(This,lProcessID,pbstrApplicationInstanceID) \
  1136. (This)->lpVtbl -> GetApplicationInstanceIDFromProcessID(This,lProcessID,pbstrApplicationInstanceID)
  1137. #define ICOMAdminCatalog2_ShutdownApplicationInstances(This,pVarApplicationInstanceID) \
  1138. (This)->lpVtbl -> ShutdownApplicationInstances(This,pVarApplicationInstanceID)
  1139. #define ICOMAdminCatalog2_PauseApplicationInstances(This,pVarApplicationInstanceID) \
  1140. (This)->lpVtbl -> PauseApplicationInstances(This,pVarApplicationInstanceID)
  1141. #define ICOMAdminCatalog2_ResumeApplicationInstances(This,pVarApplicationInstanceID) \
  1142. (This)->lpVtbl -> ResumeApplicationInstances(This,pVarApplicationInstanceID)
  1143. #define ICOMAdminCatalog2_RecycleApplicationInstances(This,pVarApplicationInstanceID,lReasonCode) \
  1144. (This)->lpVtbl -> RecycleApplicationInstances(This,pVarApplicationInstanceID,lReasonCode)
  1145. #define ICOMAdminCatalog2_AreApplicationInstancesPaused(This,pVarApplicationInstanceID,pVarBoolPaused) \
  1146. (This)->lpVtbl -> AreApplicationInstancesPaused(This,pVarApplicationInstanceID,pVarBoolPaused)
  1147. #define ICOMAdminCatalog2_DumpApplicationInstance(This,bstrApplicationInstanceID,bstrDirectory,lMaxImages,pbstrDumpFile) \
  1148. (This)->lpVtbl -> DumpApplicationInstance(This,bstrApplicationInstanceID,bstrDirectory,lMaxImages,pbstrDumpFile)
  1149. #define ICOMAdminCatalog2_get_IsApplicationInstanceDumpSupported(This,pVarBoolDumpSupported) \
  1150. (This)->lpVtbl -> get_IsApplicationInstanceDumpSupported(This,pVarBoolDumpSupported)
  1151. #define ICOMAdminCatalog2_CreateServiceForApplication(This,bstrApplicationIDOrName,bstrServiceName,bstrStartType,bstrErrorControl,bstrDependencies,bstrRunAs,bstrPassword,bDesktopOk) \
  1152. (This)->lpVtbl -> CreateServiceForApplication(This,bstrApplicationIDOrName,bstrServiceName,bstrStartType,bstrErrorControl,bstrDependencies,bstrRunAs,bstrPassword,bDesktopOk)
  1153. #define ICOMAdminCatalog2_DeleteServiceForApplication(This,bstrApplicationIDOrName) \
  1154. (This)->lpVtbl -> DeleteServiceForApplication(This,bstrApplicationIDOrName)
  1155. #define ICOMAdminCatalog2_GetPartitionID(This,bstrApplicationIDOrName,pbstrPartitionID) \
  1156. (This)->lpVtbl -> GetPartitionID(This,bstrApplicationIDOrName,pbstrPartitionID)
  1157. #define ICOMAdminCatalog2_GetPartitionName(This,bstrApplicationIDOrName,pbstrPartitionName) \
  1158. (This)->lpVtbl -> GetPartitionName(This,bstrApplicationIDOrName,pbstrPartitionName)
  1159. #define ICOMAdminCatalog2_put_CurrentPartition(This,bstrPartitionIDOrName) \
  1160. (This)->lpVtbl -> put_CurrentPartition(This,bstrPartitionIDOrName)
  1161. #define ICOMAdminCatalog2_get_CurrentPartitionID(This,pbstrPartitionID) \
  1162. (This)->lpVtbl -> get_CurrentPartitionID(This,pbstrPartitionID)
  1163. #define ICOMAdminCatalog2_get_CurrentPartitionName(This,pbstrPartitionName) \
  1164. (This)->lpVtbl -> get_CurrentPartitionName(This,pbstrPartitionName)
  1165. #define ICOMAdminCatalog2_get_GlobalPartitionID(This,pbstrGlobalPartitionID) \
  1166. (This)->lpVtbl -> get_GlobalPartitionID(This,pbstrGlobalPartitionID)
  1167. #define ICOMAdminCatalog2_FlushPartitionCache(This) \
  1168. (This)->lpVtbl -> FlushPartitionCache(This)
  1169. #define ICOMAdminCatalog2_CopyApplications(This,bstrSourcePartitionIDOrName,pVarApplicationID,bstrDestinationPartitionIDOrName) \
  1170. (This)->lpVtbl -> CopyApplications(This,bstrSourcePartitionIDOrName,pVarApplicationID,bstrDestinationPartitionIDOrName)
  1171. #define ICOMAdminCatalog2_CopyComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName) \
  1172. (This)->lpVtbl -> CopyComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName)
  1173. #define ICOMAdminCatalog2_MoveComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName) \
  1174. (This)->lpVtbl -> MoveComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName)
  1175. #define ICOMAdminCatalog2_AliasComponent(This,bstrSrcApplicationIDOrName,bstrCLSIDOrProgID,bstrDestApplicationIDOrName,bstrNewProgId,bstrNewClsid) \
  1176. (This)->lpVtbl -> AliasComponent(This,bstrSrcApplicationIDOrName,bstrCLSIDOrProgID,bstrDestApplicationIDOrName,bstrNewProgId,bstrNewClsid)
  1177. #define ICOMAdminCatalog2_IsSafeToDelete(This,bstrDllName,pCOMAdminInUse) \
  1178. (This)->lpVtbl -> IsSafeToDelete(This,bstrDllName,pCOMAdminInUse)
  1179. #define ICOMAdminCatalog2_ImportUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType) \
  1180. (This)->lpVtbl -> ImportUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType)
  1181. #define ICOMAdminCatalog2_PromoteUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType) \
  1182. (This)->lpVtbl -> PromoteUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType)
  1183. #define ICOMAdminCatalog2_ImportComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType) \
  1184. (This)->lpVtbl -> ImportComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType)
  1185. #define ICOMAdminCatalog2_get_Is64BitCatalogServer(This,pbIs64Bit) \
  1186. (This)->lpVtbl -> get_Is64BitCatalogServer(This,pbIs64Bit)
  1187. #define ICOMAdminCatalog2_ExportPartition(This,bstrPartitionIDOrName,bstrPartitionFileName,lOptions) \
  1188. (This)->lpVtbl -> ExportPartition(This,bstrPartitionIDOrName,bstrPartitionFileName,lOptions)
  1189. #define ICOMAdminCatalog2_InstallPartition(This,bstrFileName,bstrDestDirectory,lOptions,bstrUserID,bstrPassword,bstrRSN) \
  1190. (This)->lpVtbl -> InstallPartition(This,bstrFileName,bstrDestDirectory,lOptions,bstrUserID,bstrPassword,bstrRSN)
  1191. #define ICOMAdminCatalog2_QueryApplicationFile2(This,bstrApplicationFile,ppFilesForImport) \
  1192. (This)->lpVtbl -> QueryApplicationFile2(This,bstrApplicationFile,ppFilesForImport)
  1193. #define ICOMAdminCatalog2_GetComponentVersionCount(This,bstrCLSIDOrProgID,plVersionCount) \
  1194. (This)->lpVtbl -> GetComponentVersionCount(This,bstrCLSIDOrProgID,plVersionCount)
  1195. #endif /* COBJMACROS */
  1196. #endif /* C style interface */
  1197. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_GetCollectionByQuery2_Proxy(
  1198. ICOMAdminCatalog2 * This,
  1199. /* [in] */ BSTR bstrCollectionName,
  1200. /* [in] */ VARIANT *pVarQueryStrings,
  1201. /* [retval][out] */ IDispatch **ppCatalogCollection);
  1202. void __RPC_STUB ICOMAdminCatalog2_GetCollectionByQuery2_Stub(
  1203. IRpcStubBuffer *This,
  1204. IRpcChannelBuffer *_pRpcChannelBuffer,
  1205. PRPC_MESSAGE _pRpcMessage,
  1206. DWORD *_pdwStubPhase);
  1207. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_GetApplicationInstanceIDFromProcessID_Proxy(
  1208. ICOMAdminCatalog2 * This,
  1209. /* [in] */ long lProcessID,
  1210. /* [retval][out] */ BSTR *pbstrApplicationInstanceID);
  1211. void __RPC_STUB ICOMAdminCatalog2_GetApplicationInstanceIDFromProcessID_Stub(
  1212. IRpcStubBuffer *This,
  1213. IRpcChannelBuffer *_pRpcChannelBuffer,
  1214. PRPC_MESSAGE _pRpcMessage,
  1215. DWORD *_pdwStubPhase);
  1216. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_ShutdownApplicationInstances_Proxy(
  1217. ICOMAdminCatalog2 * This,
  1218. /* [in] */ VARIANT *pVarApplicationInstanceID);
  1219. void __RPC_STUB ICOMAdminCatalog2_ShutdownApplicationInstances_Stub(
  1220. IRpcStubBuffer *This,
  1221. IRpcChannelBuffer *_pRpcChannelBuffer,
  1222. PRPC_MESSAGE _pRpcMessage,
  1223. DWORD *_pdwStubPhase);
  1224. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_PauseApplicationInstances_Proxy(
  1225. ICOMAdminCatalog2 * This,
  1226. /* [in] */ VARIANT *pVarApplicationInstanceID);
  1227. void __RPC_STUB ICOMAdminCatalog2_PauseApplicationInstances_Stub(
  1228. IRpcStubBuffer *This,
  1229. IRpcChannelBuffer *_pRpcChannelBuffer,
  1230. PRPC_MESSAGE _pRpcMessage,
  1231. DWORD *_pdwStubPhase);
  1232. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_ResumeApplicationInstances_Proxy(
  1233. ICOMAdminCatalog2 * This,
  1234. /* [in] */ VARIANT *pVarApplicationInstanceID);
  1235. void __RPC_STUB ICOMAdminCatalog2_ResumeApplicationInstances_Stub(
  1236. IRpcStubBuffer *This,
  1237. IRpcChannelBuffer *_pRpcChannelBuffer,
  1238. PRPC_MESSAGE _pRpcMessage,
  1239. DWORD *_pdwStubPhase);
  1240. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_RecycleApplicationInstances_Proxy(
  1241. ICOMAdminCatalog2 * This,
  1242. /* [in] */ VARIANT *pVarApplicationInstanceID,
  1243. /* [in] */ long lReasonCode);
  1244. void __RPC_STUB ICOMAdminCatalog2_RecycleApplicationInstances_Stub(
  1245. IRpcStubBuffer *This,
  1246. IRpcChannelBuffer *_pRpcChannelBuffer,
  1247. PRPC_MESSAGE _pRpcMessage,
  1248. DWORD *_pdwStubPhase);
  1249. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_AreApplicationInstancesPaused_Proxy(
  1250. ICOMAdminCatalog2 * This,
  1251. /* [in] */ VARIANT *pVarApplicationInstanceID,
  1252. /* [retval][out] */ VARIANT_BOOL *pVarBoolPaused);
  1253. void __RPC_STUB ICOMAdminCatalog2_AreApplicationInstancesPaused_Stub(
  1254. IRpcStubBuffer *This,
  1255. IRpcChannelBuffer *_pRpcChannelBuffer,
  1256. PRPC_MESSAGE _pRpcMessage,
  1257. DWORD *_pdwStubPhase);
  1258. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_DumpApplicationInstance_Proxy(
  1259. ICOMAdminCatalog2 * This,
  1260. /* [in] */ BSTR bstrApplicationInstanceID,
  1261. /* [in] */ BSTR bstrDirectory,
  1262. /* [in] */ long lMaxImages,
  1263. /* [retval][out] */ BSTR *pbstrDumpFile);
  1264. void __RPC_STUB ICOMAdminCatalog2_DumpApplicationInstance_Stub(
  1265. IRpcStubBuffer *This,
  1266. IRpcChannelBuffer *_pRpcChannelBuffer,
  1267. PRPC_MESSAGE _pRpcMessage,
  1268. DWORD *_pdwStubPhase);
  1269. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_get_IsApplicationInstanceDumpSupported_Proxy(
  1270. ICOMAdminCatalog2 * This,
  1271. /* [retval][out] */ VARIANT_BOOL *pVarBoolDumpSupported);
  1272. void __RPC_STUB ICOMAdminCatalog2_get_IsApplicationInstanceDumpSupported_Stub(
  1273. IRpcStubBuffer *This,
  1274. IRpcChannelBuffer *_pRpcChannelBuffer,
  1275. PRPC_MESSAGE _pRpcMessage,
  1276. DWORD *_pdwStubPhase);
  1277. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_CreateServiceForApplication_Proxy(
  1278. ICOMAdminCatalog2 * This,
  1279. /* [in] */ BSTR bstrApplicationIDOrName,
  1280. /* [in] */ BSTR bstrServiceName,
  1281. /* [in] */ BSTR bstrStartType,
  1282. /* [in] */ BSTR bstrErrorControl,
  1283. /* [in] */ BSTR bstrDependencies,
  1284. /* [in] */ BSTR bstrRunAs,
  1285. /* [in] */ BSTR bstrPassword,
  1286. /* [in] */ VARIANT_BOOL bDesktopOk);
  1287. void __RPC_STUB ICOMAdminCatalog2_CreateServiceForApplication_Stub(
  1288. IRpcStubBuffer *This,
  1289. IRpcChannelBuffer *_pRpcChannelBuffer,
  1290. PRPC_MESSAGE _pRpcMessage,
  1291. DWORD *_pdwStubPhase);
  1292. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_DeleteServiceForApplication_Proxy(
  1293. ICOMAdminCatalog2 * This,
  1294. /* [in] */ BSTR bstrApplicationIDOrName);
  1295. void __RPC_STUB ICOMAdminCatalog2_DeleteServiceForApplication_Stub(
  1296. IRpcStubBuffer *This,
  1297. IRpcChannelBuffer *_pRpcChannelBuffer,
  1298. PRPC_MESSAGE _pRpcMessage,
  1299. DWORD *_pdwStubPhase);
  1300. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_GetPartitionID_Proxy(
  1301. ICOMAdminCatalog2 * This,
  1302. /* [in] */ BSTR bstrApplicationIDOrName,
  1303. /* [retval][out] */ BSTR *pbstrPartitionID);
  1304. void __RPC_STUB ICOMAdminCatalog2_GetPartitionID_Stub(
  1305. IRpcStubBuffer *This,
  1306. IRpcChannelBuffer *_pRpcChannelBuffer,
  1307. PRPC_MESSAGE _pRpcMessage,
  1308. DWORD *_pdwStubPhase);
  1309. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_GetPartitionName_Proxy(
  1310. ICOMAdminCatalog2 * This,
  1311. /* [in] */ BSTR bstrApplicationIDOrName,
  1312. /* [retval][out] */ BSTR *pbstrPartitionName);
  1313. void __RPC_STUB ICOMAdminCatalog2_GetPartitionName_Stub(
  1314. IRpcStubBuffer *This,
  1315. IRpcChannelBuffer *_pRpcChannelBuffer,
  1316. PRPC_MESSAGE _pRpcMessage,
  1317. DWORD *_pdwStubPhase);
  1318. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_put_CurrentPartition_Proxy(
  1319. ICOMAdminCatalog2 * This,
  1320. /* [in] */ BSTR bstrPartitionIDOrName);
  1321. void __RPC_STUB ICOMAdminCatalog2_put_CurrentPartition_Stub(
  1322. IRpcStubBuffer *This,
  1323. IRpcChannelBuffer *_pRpcChannelBuffer,
  1324. PRPC_MESSAGE _pRpcMessage,
  1325. DWORD *_pdwStubPhase);
  1326. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_get_CurrentPartitionID_Proxy(
  1327. ICOMAdminCatalog2 * This,
  1328. /* [retval][out] */ BSTR *pbstrPartitionID);
  1329. void __RPC_STUB ICOMAdminCatalog2_get_CurrentPartitionID_Stub(
  1330. IRpcStubBuffer *This,
  1331. IRpcChannelBuffer *_pRpcChannelBuffer,
  1332. PRPC_MESSAGE _pRpcMessage,
  1333. DWORD *_pdwStubPhase);
  1334. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_get_CurrentPartitionName_Proxy(
  1335. ICOMAdminCatalog2 * This,
  1336. /* [retval][out] */ BSTR *pbstrPartitionName);
  1337. void __RPC_STUB ICOMAdminCatalog2_get_CurrentPartitionName_Stub(
  1338. IRpcStubBuffer *This,
  1339. IRpcChannelBuffer *_pRpcChannelBuffer,
  1340. PRPC_MESSAGE _pRpcMessage,
  1341. DWORD *_pdwStubPhase);
  1342. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_get_GlobalPartitionID_Proxy(
  1343. ICOMAdminCatalog2 * This,
  1344. /* [retval][out] */ BSTR *pbstrGlobalPartitionID);
  1345. void __RPC_STUB ICOMAdminCatalog2_get_GlobalPartitionID_Stub(
  1346. IRpcStubBuffer *This,
  1347. IRpcChannelBuffer *_pRpcChannelBuffer,
  1348. PRPC_MESSAGE _pRpcMessage,
  1349. DWORD *_pdwStubPhase);
  1350. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_FlushPartitionCache_Proxy(
  1351. ICOMAdminCatalog2 * This);
  1352. void __RPC_STUB ICOMAdminCatalog2_FlushPartitionCache_Stub(
  1353. IRpcStubBuffer *This,
  1354. IRpcChannelBuffer *_pRpcChannelBuffer,
  1355. PRPC_MESSAGE _pRpcMessage,
  1356. DWORD *_pdwStubPhase);
  1357. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_CopyApplications_Proxy(
  1358. ICOMAdminCatalog2 * This,
  1359. /* [in] */ BSTR bstrSourcePartitionIDOrName,
  1360. /* [in] */ VARIANT *pVarApplicationID,
  1361. /* [in] */ BSTR bstrDestinationPartitionIDOrName);
  1362. void __RPC_STUB ICOMAdminCatalog2_CopyApplications_Stub(
  1363. IRpcStubBuffer *This,
  1364. IRpcChannelBuffer *_pRpcChannelBuffer,
  1365. PRPC_MESSAGE _pRpcMessage,
  1366. DWORD *_pdwStubPhase);
  1367. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_CopyComponents_Proxy(
  1368. ICOMAdminCatalog2 * This,
  1369. /* [in] */ BSTR bstrSourceApplicationIDOrName,
  1370. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1371. /* [in] */ BSTR bstrDestinationApplicationIDOrName);
  1372. void __RPC_STUB ICOMAdminCatalog2_CopyComponents_Stub(
  1373. IRpcStubBuffer *This,
  1374. IRpcChannelBuffer *_pRpcChannelBuffer,
  1375. PRPC_MESSAGE _pRpcMessage,
  1376. DWORD *_pdwStubPhase);
  1377. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_MoveComponents_Proxy(
  1378. ICOMAdminCatalog2 * This,
  1379. /* [in] */ BSTR bstrSourceApplicationIDOrName,
  1380. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1381. /* [in] */ BSTR bstrDestinationApplicationIDOrName);
  1382. void __RPC_STUB ICOMAdminCatalog2_MoveComponents_Stub(
  1383. IRpcStubBuffer *This,
  1384. IRpcChannelBuffer *_pRpcChannelBuffer,
  1385. PRPC_MESSAGE _pRpcMessage,
  1386. DWORD *_pdwStubPhase);
  1387. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_AliasComponent_Proxy(
  1388. ICOMAdminCatalog2 * This,
  1389. /* [in] */ BSTR bstrSrcApplicationIDOrName,
  1390. /* [in] */ BSTR bstrCLSIDOrProgID,
  1391. /* [in] */ BSTR bstrDestApplicationIDOrName,
  1392. /* [in] */ BSTR bstrNewProgId,
  1393. /* [in] */ BSTR bstrNewClsid);
  1394. void __RPC_STUB ICOMAdminCatalog2_AliasComponent_Stub(
  1395. IRpcStubBuffer *This,
  1396. IRpcChannelBuffer *_pRpcChannelBuffer,
  1397. PRPC_MESSAGE _pRpcMessage,
  1398. DWORD *_pdwStubPhase);
  1399. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_IsSafeToDelete_Proxy(
  1400. ICOMAdminCatalog2 * This,
  1401. /* [in] */ BSTR bstrDllName,
  1402. /* [retval][out] */ COMAdminInUse *pCOMAdminInUse);
  1403. void __RPC_STUB ICOMAdminCatalog2_IsSafeToDelete_Stub(
  1404. IRpcStubBuffer *This,
  1405. IRpcChannelBuffer *_pRpcChannelBuffer,
  1406. PRPC_MESSAGE _pRpcMessage,
  1407. DWORD *_pdwStubPhase);
  1408. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_ImportUnconfiguredComponents_Proxy(
  1409. ICOMAdminCatalog2 * This,
  1410. /* [in] */ BSTR bstrApplicationIDOrName,
  1411. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1412. /* [optional][in] */ VARIANT *pVarComponentType);
  1413. void __RPC_STUB ICOMAdminCatalog2_ImportUnconfiguredComponents_Stub(
  1414. IRpcStubBuffer *This,
  1415. IRpcChannelBuffer *_pRpcChannelBuffer,
  1416. PRPC_MESSAGE _pRpcMessage,
  1417. DWORD *_pdwStubPhase);
  1418. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_PromoteUnconfiguredComponents_Proxy(
  1419. ICOMAdminCatalog2 * This,
  1420. /* [in] */ BSTR bstrApplicationIDOrName,
  1421. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1422. /* [optional][in] */ VARIANT *pVarComponentType);
  1423. void __RPC_STUB ICOMAdminCatalog2_PromoteUnconfiguredComponents_Stub(
  1424. IRpcStubBuffer *This,
  1425. IRpcChannelBuffer *_pRpcChannelBuffer,
  1426. PRPC_MESSAGE _pRpcMessage,
  1427. DWORD *_pdwStubPhase);
  1428. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_ImportComponents_Proxy(
  1429. ICOMAdminCatalog2 * This,
  1430. /* [in] */ BSTR bstrApplicationIDOrName,
  1431. /* [in] */ VARIANT *pVarCLSIDOrProgID,
  1432. /* [optional][in] */ VARIANT *pVarComponentType);
  1433. void __RPC_STUB ICOMAdminCatalog2_ImportComponents_Stub(
  1434. IRpcStubBuffer *This,
  1435. IRpcChannelBuffer *_pRpcChannelBuffer,
  1436. PRPC_MESSAGE _pRpcMessage,
  1437. DWORD *_pdwStubPhase);
  1438. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_get_Is64BitCatalogServer_Proxy(
  1439. ICOMAdminCatalog2 * This,
  1440. /* [retval][out] */ VARIANT_BOOL *pbIs64Bit);
  1441. void __RPC_STUB ICOMAdminCatalog2_get_Is64BitCatalogServer_Stub(
  1442. IRpcStubBuffer *This,
  1443. IRpcChannelBuffer *_pRpcChannelBuffer,
  1444. PRPC_MESSAGE _pRpcMessage,
  1445. DWORD *_pdwStubPhase);
  1446. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_ExportPartition_Proxy(
  1447. ICOMAdminCatalog2 * This,
  1448. /* [in] */ BSTR bstrPartitionIDOrName,
  1449. /* [in] */ BSTR bstrPartitionFileName,
  1450. /* [in] */ long lOptions);
  1451. void __RPC_STUB ICOMAdminCatalog2_ExportPartition_Stub(
  1452. IRpcStubBuffer *This,
  1453. IRpcChannelBuffer *_pRpcChannelBuffer,
  1454. PRPC_MESSAGE _pRpcMessage,
  1455. DWORD *_pdwStubPhase);
  1456. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_InstallPartition_Proxy(
  1457. ICOMAdminCatalog2 * This,
  1458. /* [in] */ BSTR bstrFileName,
  1459. /* [in] */ BSTR bstrDestDirectory,
  1460. /* [in] */ long lOptions,
  1461. /* [in] */ BSTR bstrUserID,
  1462. /* [in] */ BSTR bstrPassword,
  1463. /* [in] */ BSTR bstrRSN);
  1464. void __RPC_STUB ICOMAdminCatalog2_InstallPartition_Stub(
  1465. IRpcStubBuffer *This,
  1466. IRpcChannelBuffer *_pRpcChannelBuffer,
  1467. PRPC_MESSAGE _pRpcMessage,
  1468. DWORD *_pdwStubPhase);
  1469. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_QueryApplicationFile2_Proxy(
  1470. ICOMAdminCatalog2 * This,
  1471. /* [in] */ BSTR bstrApplicationFile,
  1472. /* [retval][out] */ IDispatch **ppFilesForImport);
  1473. void __RPC_STUB ICOMAdminCatalog2_QueryApplicationFile2_Stub(
  1474. IRpcStubBuffer *This,
  1475. IRpcChannelBuffer *_pRpcChannelBuffer,
  1476. PRPC_MESSAGE _pRpcMessage,
  1477. DWORD *_pdwStubPhase);
  1478. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICOMAdminCatalog2_GetComponentVersionCount_Proxy(
  1479. ICOMAdminCatalog2 * This,
  1480. /* [in] */ BSTR bstrCLSIDOrProgID,
  1481. /* [retval][out] */ long *plVersionCount);
  1482. void __RPC_STUB ICOMAdminCatalog2_GetComponentVersionCount_Stub(
  1483. IRpcStubBuffer *This,
  1484. IRpcChannelBuffer *_pRpcChannelBuffer,
  1485. PRPC_MESSAGE _pRpcMessage,
  1486. DWORD *_pdwStubPhase);
  1487. #endif /* __ICOMAdminCatalog2_INTERFACE_DEFINED__ */
  1488. #ifndef __ICatalogObject_INTERFACE_DEFINED__
  1489. #define __ICatalogObject_INTERFACE_DEFINED__
  1490. /* interface ICatalogObject */
  1491. /* [unique][helpstring][dual][uuid][object] */
  1492. EXTERN_C const IID IID_ICatalogObject;
  1493. #if defined(__cplusplus) && !defined(CINTERFACE)
  1494. MIDL_INTERFACE("6eb22871-8a19-11d0-81b6-00a0c9231c29")
  1495. ICatalogObject : public IDispatch
  1496. {
  1497. public:
  1498. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  1499. /* [in] */ BSTR bstrPropName,
  1500. /* [retval][out] */ VARIANT *pvarRetVal) = 0;
  1501. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  1502. /* [in] */ BSTR bstrPropName,
  1503. /* [in] */ VARIANT val) = 0;
  1504. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Key(
  1505. /* [retval][out] */ VARIANT *pvarRetVal) = 0;
  1506. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1507. /* [retval][out] */ VARIANT *pvarRetVal) = 0;
  1508. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsPropertyReadOnly(
  1509. /* [in] */ BSTR bstrPropName,
  1510. /* [retval][out] */ VARIANT_BOOL *pbRetVal) = 0;
  1511. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Valid(
  1512. /* [retval][out] */ VARIANT_BOOL *pbRetVal) = 0;
  1513. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IsPropertyWriteOnly(
  1514. /* [in] */ BSTR bstrPropName,
  1515. /* [retval][out] */ VARIANT_BOOL *pbRetVal) = 0;
  1516. };
  1517. #else /* C style interface */
  1518. typedef struct ICatalogObjectVtbl
  1519. {
  1520. BEGIN_INTERFACE
  1521. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1522. ICatalogObject * This,
  1523. /* [in] */ REFIID riid,
  1524. /* [iid_is][out] */ void **ppvObject);
  1525. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1526. ICatalogObject * This);
  1527. ULONG ( STDMETHODCALLTYPE *Release )(
  1528. ICatalogObject * This);
  1529. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1530. ICatalogObject * This,
  1531. /* [out] */ UINT *pctinfo);
  1532. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1533. ICatalogObject * This,
  1534. /* [in] */ UINT iTInfo,
  1535. /* [in] */ LCID lcid,
  1536. /* [out] */ ITypeInfo **ppTInfo);
  1537. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1538. ICatalogObject * This,
  1539. /* [in] */ REFIID riid,
  1540. /* [size_is][in] */ LPOLESTR *rgszNames,
  1541. /* [in] */ UINT cNames,
  1542. /* [in] */ LCID lcid,
  1543. /* [size_is][out] */ DISPID *rgDispId);
  1544. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1545. ICatalogObject * This,
  1546. /* [in] */ DISPID dispIdMember,
  1547. /* [in] */ REFIID riid,
  1548. /* [in] */ LCID lcid,
  1549. /* [in] */ WORD wFlags,
  1550. /* [out][in] */ DISPPARAMS *pDispParams,
  1551. /* [out] */ VARIANT *pVarResult,
  1552. /* [out] */ EXCEPINFO *pExcepInfo,
  1553. /* [out] */ UINT *puArgErr);
  1554. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  1555. ICatalogObject * This,
  1556. /* [in] */ BSTR bstrPropName,
  1557. /* [retval][out] */ VARIANT *pvarRetVal);
  1558. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  1559. ICatalogObject * This,
  1560. /* [in] */ BSTR bstrPropName,
  1561. /* [in] */ VARIANT val);
  1562. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Key )(
  1563. ICatalogObject * This,
  1564. /* [retval][out] */ VARIANT *pvarRetVal);
  1565. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1566. ICatalogObject * This,
  1567. /* [retval][out] */ VARIANT *pvarRetVal);
  1568. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsPropertyReadOnly )(
  1569. ICatalogObject * This,
  1570. /* [in] */ BSTR bstrPropName,
  1571. /* [retval][out] */ VARIANT_BOOL *pbRetVal);
  1572. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Valid )(
  1573. ICatalogObject * This,
  1574. /* [retval][out] */ VARIANT_BOOL *pbRetVal);
  1575. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *IsPropertyWriteOnly )(
  1576. ICatalogObject * This,
  1577. /* [in] */ BSTR bstrPropName,
  1578. /* [retval][out] */ VARIANT_BOOL *pbRetVal);
  1579. END_INTERFACE
  1580. } ICatalogObjectVtbl;
  1581. interface ICatalogObject
  1582. {
  1583. CONST_VTBL struct ICatalogObjectVtbl *lpVtbl;
  1584. };
  1585. #ifdef COBJMACROS
  1586. #define ICatalogObject_QueryInterface(This,riid,ppvObject) \
  1587. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1588. #define ICatalogObject_AddRef(This) \
  1589. (This)->lpVtbl -> AddRef(This)
  1590. #define ICatalogObject_Release(This) \
  1591. (This)->lpVtbl -> Release(This)
  1592. #define ICatalogObject_GetTypeInfoCount(This,pctinfo) \
  1593. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1594. #define ICatalogObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1595. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1596. #define ICatalogObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1597. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1598. #define ICatalogObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1599. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1600. #define ICatalogObject_get_Value(This,bstrPropName,pvarRetVal) \
  1601. (This)->lpVtbl -> get_Value(This,bstrPropName,pvarRetVal)
  1602. #define ICatalogObject_put_Value(This,bstrPropName,val) \
  1603. (This)->lpVtbl -> put_Value(This,bstrPropName,val)
  1604. #define ICatalogObject_get_Key(This,pvarRetVal) \
  1605. (This)->lpVtbl -> get_Key(This,pvarRetVal)
  1606. #define ICatalogObject_get_Name(This,pvarRetVal) \
  1607. (This)->lpVtbl -> get_Name(This,pvarRetVal)
  1608. #define ICatalogObject_IsPropertyReadOnly(This,bstrPropName,pbRetVal) \
  1609. (This)->lpVtbl -> IsPropertyReadOnly(This,bstrPropName,pbRetVal)
  1610. #define ICatalogObject_get_Valid(This,pbRetVal) \
  1611. (This)->lpVtbl -> get_Valid(This,pbRetVal)
  1612. #define ICatalogObject_IsPropertyWriteOnly(This,bstrPropName,pbRetVal) \
  1613. (This)->lpVtbl -> IsPropertyWriteOnly(This,bstrPropName,pbRetVal)
  1614. #endif /* COBJMACROS */
  1615. #endif /* C style interface */
  1616. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogObject_get_Value_Proxy(
  1617. ICatalogObject * This,
  1618. /* [in] */ BSTR bstrPropName,
  1619. /* [retval][out] */ VARIANT *pvarRetVal);
  1620. void __RPC_STUB ICatalogObject_get_Value_Stub(
  1621. IRpcStubBuffer *This,
  1622. IRpcChannelBuffer *_pRpcChannelBuffer,
  1623. PRPC_MESSAGE _pRpcMessage,
  1624. DWORD *_pdwStubPhase);
  1625. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ICatalogObject_put_Value_Proxy(
  1626. ICatalogObject * This,
  1627. /* [in] */ BSTR bstrPropName,
  1628. /* [in] */ VARIANT val);
  1629. void __RPC_STUB ICatalogObject_put_Value_Stub(
  1630. IRpcStubBuffer *This,
  1631. IRpcChannelBuffer *_pRpcChannelBuffer,
  1632. PRPC_MESSAGE _pRpcMessage,
  1633. DWORD *_pdwStubPhase);
  1634. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogObject_get_Key_Proxy(
  1635. ICatalogObject * This,
  1636. /* [retval][out] */ VARIANT *pvarRetVal);
  1637. void __RPC_STUB ICatalogObject_get_Key_Stub(
  1638. IRpcStubBuffer *This,
  1639. IRpcChannelBuffer *_pRpcChannelBuffer,
  1640. PRPC_MESSAGE _pRpcMessage,
  1641. DWORD *_pdwStubPhase);
  1642. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogObject_get_Name_Proxy(
  1643. ICatalogObject * This,
  1644. /* [retval][out] */ VARIANT *pvarRetVal);
  1645. void __RPC_STUB ICatalogObject_get_Name_Stub(
  1646. IRpcStubBuffer *This,
  1647. IRpcChannelBuffer *_pRpcChannelBuffer,
  1648. PRPC_MESSAGE _pRpcMessage,
  1649. DWORD *_pdwStubPhase);
  1650. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalogObject_IsPropertyReadOnly_Proxy(
  1651. ICatalogObject * This,
  1652. /* [in] */ BSTR bstrPropName,
  1653. /* [retval][out] */ VARIANT_BOOL *pbRetVal);
  1654. void __RPC_STUB ICatalogObject_IsPropertyReadOnly_Stub(
  1655. IRpcStubBuffer *This,
  1656. IRpcChannelBuffer *_pRpcChannelBuffer,
  1657. PRPC_MESSAGE _pRpcMessage,
  1658. DWORD *_pdwStubPhase);
  1659. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogObject_get_Valid_Proxy(
  1660. ICatalogObject * This,
  1661. /* [retval][out] */ VARIANT_BOOL *pbRetVal);
  1662. void __RPC_STUB ICatalogObject_get_Valid_Stub(
  1663. IRpcStubBuffer *This,
  1664. IRpcChannelBuffer *_pRpcChannelBuffer,
  1665. PRPC_MESSAGE _pRpcMessage,
  1666. DWORD *_pdwStubPhase);
  1667. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalogObject_IsPropertyWriteOnly_Proxy(
  1668. ICatalogObject * This,
  1669. /* [in] */ BSTR bstrPropName,
  1670. /* [retval][out] */ VARIANT_BOOL *pbRetVal);
  1671. void __RPC_STUB ICatalogObject_IsPropertyWriteOnly_Stub(
  1672. IRpcStubBuffer *This,
  1673. IRpcChannelBuffer *_pRpcChannelBuffer,
  1674. PRPC_MESSAGE _pRpcMessage,
  1675. DWORD *_pdwStubPhase);
  1676. #endif /* __ICatalogObject_INTERFACE_DEFINED__ */
  1677. #ifndef __ICatalogCollection_INTERFACE_DEFINED__
  1678. #define __ICatalogCollection_INTERFACE_DEFINED__
  1679. /* interface ICatalogCollection */
  1680. /* [unique][helpstring][dual][uuid][object] */
  1681. EXTERN_C const IID IID_ICatalogCollection;
  1682. #if defined(__cplusplus) && !defined(CINTERFACE)
  1683. MIDL_INTERFACE("6eb22872-8a19-11d0-81b6-00a0c9231c29")
  1684. ICatalogCollection : public IDispatch
  1685. {
  1686. public:
  1687. virtual /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  1688. /* [retval][out] */ IUnknown **ppEnumVariant) = 0;
  1689. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  1690. /* [in] */ long lIndex,
  1691. /* [retval][out] */ IDispatch **ppCatalogObject) = 0;
  1692. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  1693. /* [retval][out] */ long *plObjectCount) = 0;
  1694. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Remove(
  1695. /* [in] */ long lIndex) = 0;
  1696. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Add(
  1697. /* [retval][out] */ IDispatch **ppCatalogObject) = 0;
  1698. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Populate( void) = 0;
  1699. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SaveChanges(
  1700. /* [retval][out] */ long *pcChanges) = 0;
  1701. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCollection(
  1702. /* [in] */ BSTR bstrCollName,
  1703. /* [in] */ VARIANT varObjectKey,
  1704. /* [retval][out] */ IDispatch **ppCatalogCollection) = 0;
  1705. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1706. /* [retval][out] */ VARIANT *pVarNamel) = 0;
  1707. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AddEnabled(
  1708. /* [retval][out] */ VARIANT_BOOL *pVarBool) = 0;
  1709. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RemoveEnabled(
  1710. /* [retval][out] */ VARIANT_BOOL *pVarBool) = 0;
  1711. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetUtilInterface(
  1712. /* [retval][out] */ IDispatch **ppIDispatch) = 0;
  1713. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DataStoreMajorVersion(
  1714. /* [retval][out] */ long *plMajorVersion) = 0;
  1715. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DataStoreMinorVersion(
  1716. /* [retval][out] */ long *plMinorVersionl) = 0;
  1717. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PopulateByKey(
  1718. /* [in] */ SAFEARRAY * psaKeys) = 0;
  1719. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PopulateByQuery(
  1720. /* [in] */ BSTR bstrQueryString,
  1721. /* [in] */ long lQueryType) = 0;
  1722. };
  1723. #else /* C style interface */
  1724. typedef struct ICatalogCollectionVtbl
  1725. {
  1726. BEGIN_INTERFACE
  1727. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1728. ICatalogCollection * This,
  1729. /* [in] */ REFIID riid,
  1730. /* [iid_is][out] */ void **ppvObject);
  1731. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1732. ICatalogCollection * This);
  1733. ULONG ( STDMETHODCALLTYPE *Release )(
  1734. ICatalogCollection * This);
  1735. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1736. ICatalogCollection * This,
  1737. /* [out] */ UINT *pctinfo);
  1738. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1739. ICatalogCollection * This,
  1740. /* [in] */ UINT iTInfo,
  1741. /* [in] */ LCID lcid,
  1742. /* [out] */ ITypeInfo **ppTInfo);
  1743. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1744. ICatalogCollection * This,
  1745. /* [in] */ REFIID riid,
  1746. /* [size_is][in] */ LPOLESTR *rgszNames,
  1747. /* [in] */ UINT cNames,
  1748. /* [in] */ LCID lcid,
  1749. /* [size_is][out] */ DISPID *rgDispId);
  1750. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1751. ICatalogCollection * This,
  1752. /* [in] */ DISPID dispIdMember,
  1753. /* [in] */ REFIID riid,
  1754. /* [in] */ LCID lcid,
  1755. /* [in] */ WORD wFlags,
  1756. /* [out][in] */ DISPPARAMS *pDispParams,
  1757. /* [out] */ VARIANT *pVarResult,
  1758. /* [out] */ EXCEPINFO *pExcepInfo,
  1759. /* [out] */ UINT *puArgErr);
  1760. /* [id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  1761. ICatalogCollection * This,
  1762. /* [retval][out] */ IUnknown **ppEnumVariant);
  1763. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  1764. ICatalogCollection * This,
  1765. /* [in] */ long lIndex,
  1766. /* [retval][out] */ IDispatch **ppCatalogObject);
  1767. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  1768. ICatalogCollection * This,
  1769. /* [retval][out] */ long *plObjectCount);
  1770. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  1771. ICatalogCollection * This,
  1772. /* [in] */ long lIndex);
  1773. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  1774. ICatalogCollection * This,
  1775. /* [retval][out] */ IDispatch **ppCatalogObject);
  1776. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Populate )(
  1777. ICatalogCollection * This);
  1778. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SaveChanges )(
  1779. ICatalogCollection * This,
  1780. /* [retval][out] */ long *pcChanges);
  1781. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetCollection )(
  1782. ICatalogCollection * This,
  1783. /* [in] */ BSTR bstrCollName,
  1784. /* [in] */ VARIANT varObjectKey,
  1785. /* [retval][out] */ IDispatch **ppCatalogCollection);
  1786. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1787. ICatalogCollection * This,
  1788. /* [retval][out] */ VARIANT *pVarNamel);
  1789. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddEnabled )(
  1790. ICatalogCollection * This,
  1791. /* [retval][out] */ VARIANT_BOOL *pVarBool);
  1792. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RemoveEnabled )(
  1793. ICatalogCollection * This,
  1794. /* [retval][out] */ VARIANT_BOOL *pVarBool);
  1795. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetUtilInterface )(
  1796. ICatalogCollection * This,
  1797. /* [retval][out] */ IDispatch **ppIDispatch);
  1798. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DataStoreMajorVersion )(
  1799. ICatalogCollection * This,
  1800. /* [retval][out] */ long *plMajorVersion);
  1801. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DataStoreMinorVersion )(
  1802. ICatalogCollection * This,
  1803. /* [retval][out] */ long *plMinorVersionl);
  1804. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PopulateByKey )(
  1805. ICatalogCollection * This,
  1806. /* [in] */ SAFEARRAY * psaKeys);
  1807. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PopulateByQuery )(
  1808. ICatalogCollection * This,
  1809. /* [in] */ BSTR bstrQueryString,
  1810. /* [in] */ long lQueryType);
  1811. END_INTERFACE
  1812. } ICatalogCollectionVtbl;
  1813. interface ICatalogCollection
  1814. {
  1815. CONST_VTBL struct ICatalogCollectionVtbl *lpVtbl;
  1816. };
  1817. #ifdef COBJMACROS
  1818. #define ICatalogCollection_QueryInterface(This,riid,ppvObject) \
  1819. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1820. #define ICatalogCollection_AddRef(This) \
  1821. (This)->lpVtbl -> AddRef(This)
  1822. #define ICatalogCollection_Release(This) \
  1823. (This)->lpVtbl -> Release(This)
  1824. #define ICatalogCollection_GetTypeInfoCount(This,pctinfo) \
  1825. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1826. #define ICatalogCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1827. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1828. #define ICatalogCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1829. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1830. #define ICatalogCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1831. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1832. #define ICatalogCollection_get__NewEnum(This,ppEnumVariant) \
  1833. (This)->lpVtbl -> get__NewEnum(This,ppEnumVariant)
  1834. #define ICatalogCollection_get_Item(This,lIndex,ppCatalogObject) \
  1835. (This)->lpVtbl -> get_Item(This,lIndex,ppCatalogObject)
  1836. #define ICatalogCollection_get_Count(This,plObjectCount) \
  1837. (This)->lpVtbl -> get_Count(This,plObjectCount)
  1838. #define ICatalogCollection_Remove(This,lIndex) \
  1839. (This)->lpVtbl -> Remove(This,lIndex)
  1840. #define ICatalogCollection_Add(This,ppCatalogObject) \
  1841. (This)->lpVtbl -> Add(This,ppCatalogObject)
  1842. #define ICatalogCollection_Populate(This) \
  1843. (This)->lpVtbl -> Populate(This)
  1844. #define ICatalogCollection_SaveChanges(This,pcChanges) \
  1845. (This)->lpVtbl -> SaveChanges(This,pcChanges)
  1846. #define ICatalogCollection_GetCollection(This,bstrCollName,varObjectKey,ppCatalogCollection) \
  1847. (This)->lpVtbl -> GetCollection(This,bstrCollName,varObjectKey,ppCatalogCollection)
  1848. #define ICatalogCollection_get_Name(This,pVarNamel) \
  1849. (This)->lpVtbl -> get_Name(This,pVarNamel)
  1850. #define ICatalogCollection_get_AddEnabled(This,pVarBool) \
  1851. (This)->lpVtbl -> get_AddEnabled(This,pVarBool)
  1852. #define ICatalogCollection_get_RemoveEnabled(This,pVarBool) \
  1853. (This)->lpVtbl -> get_RemoveEnabled(This,pVarBool)
  1854. #define ICatalogCollection_GetUtilInterface(This,ppIDispatch) \
  1855. (This)->lpVtbl -> GetUtilInterface(This,ppIDispatch)
  1856. #define ICatalogCollection_get_DataStoreMajorVersion(This,plMajorVersion) \
  1857. (This)->lpVtbl -> get_DataStoreMajorVersion(This,plMajorVersion)
  1858. #define ICatalogCollection_get_DataStoreMinorVersion(This,plMinorVersionl) \
  1859. (This)->lpVtbl -> get_DataStoreMinorVersion(This,plMinorVersionl)
  1860. #define ICatalogCollection_PopulateByKey(This,psaKeys) \
  1861. (This)->lpVtbl -> PopulateByKey(This,psaKeys)
  1862. #define ICatalogCollection_PopulateByQuery(This,bstrQueryString,lQueryType) \
  1863. (This)->lpVtbl -> PopulateByQuery(This,bstrQueryString,lQueryType)
  1864. #endif /* COBJMACROS */
  1865. #endif /* C style interface */
  1866. /* [id][restricted][propget] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_get__NewEnum_Proxy(
  1867. ICatalogCollection * This,
  1868. /* [retval][out] */ IUnknown **ppEnumVariant);
  1869. void __RPC_STUB ICatalogCollection_get__NewEnum_Stub(
  1870. IRpcStubBuffer *This,
  1871. IRpcChannelBuffer *_pRpcChannelBuffer,
  1872. PRPC_MESSAGE _pRpcMessage,
  1873. DWORD *_pdwStubPhase);
  1874. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_get_Item_Proxy(
  1875. ICatalogCollection * This,
  1876. /* [in] */ long lIndex,
  1877. /* [retval][out] */ IDispatch **ppCatalogObject);
  1878. void __RPC_STUB ICatalogCollection_get_Item_Stub(
  1879. IRpcStubBuffer *This,
  1880. IRpcChannelBuffer *_pRpcChannelBuffer,
  1881. PRPC_MESSAGE _pRpcMessage,
  1882. DWORD *_pdwStubPhase);
  1883. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_get_Count_Proxy(
  1884. ICatalogCollection * This,
  1885. /* [retval][out] */ long *plObjectCount);
  1886. void __RPC_STUB ICatalogCollection_get_Count_Stub(
  1887. IRpcStubBuffer *This,
  1888. IRpcChannelBuffer *_pRpcChannelBuffer,
  1889. PRPC_MESSAGE _pRpcMessage,
  1890. DWORD *_pdwStubPhase);
  1891. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_Remove_Proxy(
  1892. ICatalogCollection * This,
  1893. /* [in] */ long lIndex);
  1894. void __RPC_STUB ICatalogCollection_Remove_Stub(
  1895. IRpcStubBuffer *This,
  1896. IRpcChannelBuffer *_pRpcChannelBuffer,
  1897. PRPC_MESSAGE _pRpcMessage,
  1898. DWORD *_pdwStubPhase);
  1899. /* [helpstring] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_Add_Proxy(
  1900. ICatalogCollection * This,
  1901. /* [retval][out] */ IDispatch **ppCatalogObject);
  1902. void __RPC_STUB ICatalogCollection_Add_Stub(
  1903. IRpcStubBuffer *This,
  1904. IRpcChannelBuffer *_pRpcChannelBuffer,
  1905. PRPC_MESSAGE _pRpcMessage,
  1906. DWORD *_pdwStubPhase);
  1907. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_Populate_Proxy(
  1908. ICatalogCollection * This);
  1909. void __RPC_STUB ICatalogCollection_Populate_Stub(
  1910. IRpcStubBuffer *This,
  1911. IRpcChannelBuffer *_pRpcChannelBuffer,
  1912. PRPC_MESSAGE _pRpcMessage,
  1913. DWORD *_pdwStubPhase);
  1914. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_SaveChanges_Proxy(
  1915. ICatalogCollection * This,
  1916. /* [retval][out] */ long *pcChanges);
  1917. void __RPC_STUB ICatalogCollection_SaveChanges_Stub(
  1918. IRpcStubBuffer *This,
  1919. IRpcChannelBuffer *_pRpcChannelBuffer,
  1920. PRPC_MESSAGE _pRpcMessage,
  1921. DWORD *_pdwStubPhase);
  1922. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_GetCollection_Proxy(
  1923. ICatalogCollection * This,
  1924. /* [in] */ BSTR bstrCollName,
  1925. /* [in] */ VARIANT varObjectKey,
  1926. /* [retval][out] */ IDispatch **ppCatalogCollection);
  1927. void __RPC_STUB ICatalogCollection_GetCollection_Stub(
  1928. IRpcStubBuffer *This,
  1929. IRpcChannelBuffer *_pRpcChannelBuffer,
  1930. PRPC_MESSAGE _pRpcMessage,
  1931. DWORD *_pdwStubPhase);
  1932. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_get_Name_Proxy(
  1933. ICatalogCollection * This,
  1934. /* [retval][out] */ VARIANT *pVarNamel);
  1935. void __RPC_STUB ICatalogCollection_get_Name_Stub(
  1936. IRpcStubBuffer *This,
  1937. IRpcChannelBuffer *_pRpcChannelBuffer,
  1938. PRPC_MESSAGE _pRpcMessage,
  1939. DWORD *_pdwStubPhase);
  1940. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_get_AddEnabled_Proxy(
  1941. ICatalogCollection * This,
  1942. /* [retval][out] */ VARIANT_BOOL *pVarBool);
  1943. void __RPC_STUB ICatalogCollection_get_AddEnabled_Stub(
  1944. IRpcStubBuffer *This,
  1945. IRpcChannelBuffer *_pRpcChannelBuffer,
  1946. PRPC_MESSAGE _pRpcMessage,
  1947. DWORD *_pdwStubPhase);
  1948. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_get_RemoveEnabled_Proxy(
  1949. ICatalogCollection * This,
  1950. /* [retval][out] */ VARIANT_BOOL *pVarBool);
  1951. void __RPC_STUB ICatalogCollection_get_RemoveEnabled_Stub(
  1952. IRpcStubBuffer *This,
  1953. IRpcChannelBuffer *_pRpcChannelBuffer,
  1954. PRPC_MESSAGE _pRpcMessage,
  1955. DWORD *_pdwStubPhase);
  1956. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_GetUtilInterface_Proxy(
  1957. ICatalogCollection * This,
  1958. /* [retval][out] */ IDispatch **ppIDispatch);
  1959. void __RPC_STUB ICatalogCollection_GetUtilInterface_Stub(
  1960. IRpcStubBuffer *This,
  1961. IRpcChannelBuffer *_pRpcChannelBuffer,
  1962. PRPC_MESSAGE _pRpcMessage,
  1963. DWORD *_pdwStubPhase);
  1964. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_get_DataStoreMajorVersion_Proxy(
  1965. ICatalogCollection * This,
  1966. /* [retval][out] */ long *plMajorVersion);
  1967. void __RPC_STUB ICatalogCollection_get_DataStoreMajorVersion_Stub(
  1968. IRpcStubBuffer *This,
  1969. IRpcChannelBuffer *_pRpcChannelBuffer,
  1970. PRPC_MESSAGE _pRpcMessage,
  1971. DWORD *_pdwStubPhase);
  1972. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_get_DataStoreMinorVersion_Proxy(
  1973. ICatalogCollection * This,
  1974. /* [retval][out] */ long *plMinorVersionl);
  1975. void __RPC_STUB ICatalogCollection_get_DataStoreMinorVersion_Stub(
  1976. IRpcStubBuffer *This,
  1977. IRpcChannelBuffer *_pRpcChannelBuffer,
  1978. PRPC_MESSAGE _pRpcMessage,
  1979. DWORD *_pdwStubPhase);
  1980. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_PopulateByKey_Proxy(
  1981. ICatalogCollection * This,
  1982. /* [in] */ SAFEARRAY * psaKeys);
  1983. void __RPC_STUB ICatalogCollection_PopulateByKey_Stub(
  1984. IRpcStubBuffer *This,
  1985. IRpcChannelBuffer *_pRpcChannelBuffer,
  1986. PRPC_MESSAGE _pRpcMessage,
  1987. DWORD *_pdwStubPhase);
  1988. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICatalogCollection_PopulateByQuery_Proxy(
  1989. ICatalogCollection * This,
  1990. /* [in] */ BSTR bstrQueryString,
  1991. /* [in] */ long lQueryType);
  1992. void __RPC_STUB ICatalogCollection_PopulateByQuery_Stub(
  1993. IRpcStubBuffer *This,
  1994. IRpcChannelBuffer *_pRpcChannelBuffer,
  1995. PRPC_MESSAGE _pRpcMessage,
  1996. DWORD *_pdwStubPhase);
  1997. #endif /* __ICatalogCollection_INTERFACE_DEFINED__ */
  1998. #ifndef __COMAdmin_LIBRARY_DEFINED__
  1999. #define __COMAdmin_LIBRARY_DEFINED__
  2000. /* library COMAdmin */
  2001. /* [helpstring][version][uuid] */
  2002. typedef /* [helpstring] */
  2003. enum COMAdminComponentType
  2004. { COMAdmin32BitComponent = 0x1,
  2005. COMAdmin64BitComponent = 0x2
  2006. } COMAdminComponentType;
  2007. typedef /* [helpstring] */
  2008. enum COMAdminApplicationInstallOptions
  2009. { COMAdminInstallNoUsers = 0,
  2010. COMAdminInstallUsers = 1,
  2011. COMAdminInstallForceOverwriteOfFiles = 2
  2012. } COMAdminApplicationInstallOptions;
  2013. typedef /* [helpstring] */
  2014. enum COMAdminApplicationExportOptions
  2015. { COMAdminExportNoUsers = 0,
  2016. COMAdminExportUsers = 1,
  2017. COMAdminExportApplicationProxy = 2,
  2018. COMAdminExportForceOverwriteOfFiles = 4,
  2019. COMAdminExportIn10Format = 16
  2020. } COMAdminApplicationExportOptions;
  2021. typedef /* [helpstring] */
  2022. enum COMAdminThreadingModels
  2023. { COMAdminThreadingModelApartment = 0,
  2024. COMAdminThreadingModelFree = 1,
  2025. COMAdminThreadingModelMain = 2,
  2026. COMAdminThreadingModelBoth = 3,
  2027. COMAdminThreadingModelNeutral = 4,
  2028. COMAdminThreadingModelNotSpecified = 5
  2029. } COMAdminThreadingModels;
  2030. typedef /* [helpstring] */
  2031. enum COMAdminTransactionOptions
  2032. { COMAdminTransactionIgnored = 0,
  2033. COMAdminTransactionNone = 1,
  2034. COMAdminTransactionSupported = 2,
  2035. COMAdminTransactionRequired = 3,
  2036. COMAdminTransactionRequiresNew = 4
  2037. } COMAdminTransactionOptions;
  2038. typedef /* [helpstring] */
  2039. enum COMAdminTxIsolationLevelOptions
  2040. { COMAdminTxIsolationLevelAny = 0,
  2041. COMAdminTxIsolationLevelReadUnCommitted = COMAdminTxIsolationLevelAny + 1,
  2042. COMAdminTxIsolationLevelReadCommitted = COMAdminTxIsolationLevelReadUnCommitted + 1,
  2043. COMAdminTxIsolationLevelRepeatableRead = COMAdminTxIsolationLevelReadCommitted + 1,
  2044. COMAdminTxIsolationLevelSerializable = COMAdminTxIsolationLevelRepeatableRead + 1
  2045. } COMAdminTxIsolationLevelOptions;
  2046. typedef /* [helpstring] */
  2047. enum COMAdminSynchronizationOptions
  2048. { COMAdminSynchronizationIgnored = 0,
  2049. COMAdminSynchronizationNone = 1,
  2050. COMAdminSynchronizationSupported = 2,
  2051. COMAdminSynchronizationRequired = 3,
  2052. COMAdminSynchronizationRequiresNew = 4
  2053. } COMAdminSynchronizationOptions;
  2054. typedef /* [helpstring] */
  2055. enum COMAdminActivationOptions
  2056. { COMAdminActivationInproc = 0,
  2057. COMAdminActivationLocal = 1
  2058. } COMAdminActivationOptions;
  2059. typedef /* [helpstring] */
  2060. enum COMAdminAccessChecksLevelOptions
  2061. { COMAdminAccessChecksApplicationLevel = 0,
  2062. COMAdminAccessChecksApplicationComponentLevel = 1
  2063. } COMAdminAccessChecksLevelOptions;
  2064. typedef /* [helpstring] */
  2065. enum COMAdminAuthenticationLevelOptions
  2066. { COMAdminAuthenticationDefault = 0,
  2067. COMAdminAuthenticationNone = 1,
  2068. COMAdminAuthenticationConnect = 2,
  2069. COMAdminAuthenticationCall = 3,
  2070. COMAdminAuthenticationPacket = 4,
  2071. COMAdminAuthenticationIntegrity = 5,
  2072. COMAdminAuthenticationPrivacy = 6
  2073. } COMAdminAuthenticationLevelOptions;
  2074. typedef /* [helpstring] */
  2075. enum COMAdminImpersonationLevelOptions
  2076. { COMAdminImpersonationAnonymous = 1,
  2077. COMAdminImpersonationIdentify = 2,
  2078. COMAdminImpersonationImpersonate = 3,
  2079. COMAdminImpersonationDelegate = 4
  2080. } COMAdminImpersonationLevelOptions;
  2081. typedef /* [helpstring] */
  2082. enum COMAdminAuthenticationCapabilitiesOptions
  2083. { COMAdminAuthenticationCapabilitiesNone = 0,
  2084. COMAdminAuthenticationCapabilitiesSecureReference = 0x2,
  2085. COMAdminAuthenticationCapabilitiesStaticCloaking = 0x20,
  2086. COMAdminAuthenticationCapabilitiesDynamicCloaking = 0x40
  2087. } COMAdminAuthenticationCapabilitiesOptions;
  2088. typedef /* [helpstring] */
  2089. enum COMAdminOS
  2090. { COMAdminOSNotInitialized = 0,
  2091. COMAdminOSWindows3_1 = 1,
  2092. COMAdminOSWindows9x = 2,
  2093. COMAdminOSWindows2000 = 3,
  2094. COMAdminOSWindows2000AdvancedServer = 4,
  2095. COMAdminOSWindows2000Unknown = 5,
  2096. COMAdminOSUnknown = 6,
  2097. COMAdminOSWindowsXPPersonal = 11,
  2098. COMAdminOSWindowsXPProfessional = 12,
  2099. COMAdminOSWindowsNETStandardServer = 13,
  2100. COMAdminOSWindowsNETEnterpriseServer = 14,
  2101. COMAdminOSWindowsNETDatacenterServer = 15,
  2102. COMAdminOSWindowsNETWebServer = 16,
  2103. COMAdminOSWindowsLonghornPersonal = 17,
  2104. COMAdminOSWindowsLonghornProfessional = 18,
  2105. COMAdminOSWindowsLonghornStandardServer = 19,
  2106. COMAdminOSWindowsLonghornEnterpriseServer = 20,
  2107. COMAdminOSWindowsLonghornDatacenterServer = 21,
  2108. COMAdminOSWindowsLonghornWebServer = 22
  2109. } COMAdminOS;
  2110. typedef /* [helpstring] */
  2111. enum COMAdminServiceOptions
  2112. { COMAdminServiceLoadBalanceRouter = 1
  2113. } COMAdminServiceOptions;
  2114. typedef /* [helpstring] */
  2115. enum COMAdminServiceStatusOptions
  2116. { COMAdminServiceStopped = 0,
  2117. COMAdminServiceStartPending = COMAdminServiceStopped + 1,
  2118. COMAdminServiceStopPending = COMAdminServiceStartPending + 1,
  2119. COMAdminServiceRunning = COMAdminServiceStopPending + 1,
  2120. COMAdminServiceContinuePending = COMAdminServiceRunning + 1,
  2121. COMAdminServicePausePending = COMAdminServiceContinuePending + 1,
  2122. COMAdminServicePaused = COMAdminServicePausePending + 1,
  2123. COMAdminServiceUnknownState = COMAdminServicePaused + 1
  2124. } COMAdminServiceStatusOptions;
  2125. typedef /* [helpstring] */
  2126. enum COMAdminQCMessageAuthenticateOptions
  2127. { COMAdminQCMessageAuthenticateSecureApps = 0,
  2128. COMAdminQCMessageAuthenticateOff = 1,
  2129. COMAdminQCMessageAuthenticateOn = 2
  2130. } COMAdminQCMessageAuthenticateOptions;
  2131. typedef /* [helpstring] */
  2132. enum COMAdminFileFlags
  2133. { COMAdminFileFlagLoadable = 0x1,
  2134. COMAdminFileFlagCOM = 0x2,
  2135. COMAdminFileFlagContainsPS = 0x4,
  2136. COMAdminFileFlagContainsComp = 0x8,
  2137. COMAdminFileFlagContainsTLB = 0x10,
  2138. COMAdminFileFlagSelfReg = 0x20,
  2139. COMAdminFileFlagSelfUnReg = 0x40,
  2140. COMAdminFileFlagUnloadableDLL = 0x80,
  2141. COMAdminFileFlagDoesNotExist = 0x100,
  2142. COMAdminFileFlagAlreadyInstalled = 0x200,
  2143. COMAdminFileFlagBadTLB = 0x400,
  2144. COMAdminFileFlagGetClassObjFailed = 0x800,
  2145. COMAdminFileFlagClassNotAvailable = 0x1000,
  2146. COMAdminFileFlagRegistrar = 0x2000,
  2147. COMAdminFileFlagNoRegistrar = 0x4000,
  2148. COMAdminFileFlagDLLRegsvrFailed = 0x8000,
  2149. COMAdminFileFlagRegTLBFailed = 0x10000,
  2150. COMAdminFileFlagRegistrarFailed = 0x20000,
  2151. COMAdminFileFlagError = 0x40000
  2152. } COMAdminFileFlags;
  2153. typedef /* [helpstring] */
  2154. enum COMAdminComponentFlags
  2155. { COMAdminCompFlagTypeInfoFound = 0x1,
  2156. COMAdminCompFlagCOMPlusPropertiesFound = 0x2,
  2157. COMAdminCompFlagProxyFound = 0x4,
  2158. COMAdminCompFlagInterfacesFound = 0x8,
  2159. COMAdminCompFlagAlreadyInstalled = 0x10,
  2160. COMAdminCompFlagNotInApplication = 0x20
  2161. } COMAdminComponentFlags;
  2162. #define COMAdminCollectionRoot ( "Root" )
  2163. #define COMAdminCollectionApplications ( "Applications" )
  2164. #define COMAdminCollectionComponents ( "Components" )
  2165. #define COMAdminCollectionComputerList ( "ComputerList" )
  2166. #define COMAdminCollectionApplicationCluster ( "ApplicationCluster" )
  2167. #define COMAdminCollectionLocalComputer ( "LocalComputer" )
  2168. #define COMAdminCollectionInprocServers ( "InprocServers" )
  2169. #define COMAdminCollectionRelatedCollectionInfo ( "RelatedCollectionInfo" )
  2170. #define COMAdminCollectionPropertyInfo ( "PropertyInfo" )
  2171. #define COMAdminCollectionRoles ( "Roles" )
  2172. #define COMAdminCollectionErrorInfo ( "ErrorInfo" )
  2173. #define COMAdminCollectionInterfacesForComponent ( "InterfacesForComponent" )
  2174. #define COMAdminCollectionRolesForComponent ( "RolesForComponent" )
  2175. #define COMAdminCollectionMethodsForInterface ( "MethodsForInterface" )
  2176. #define COMAdminCollectionRolesForInterface ( "RolesForInterface" )
  2177. #define COMAdminCollectionRolesForMethod ( "RolesForMethod" )
  2178. #define COMAdminCollectionUsersInRole ( "UsersInRole" )
  2179. #define COMAdminCollectionDCOMProtocols ( "DCOMProtocols" )
  2180. #define COMAdminCollectionPartitions ( "Partitions" )
  2181. typedef /* [helpstring] */
  2182. enum COMAdminErrorCodes
  2183. { COMAdminErrObjectErrors = ( HRESULT )0x80110401L,
  2184. COMAdminErrObjectInvalid = ( HRESULT )0x80110402L,
  2185. COMAdminErrKeyMissing = ( HRESULT )0x80110403L,
  2186. COMAdminErrAlreadyInstalled = ( HRESULT )0x80110404L,
  2187. COMAdminErrAppFileWriteFail = ( HRESULT )0x80110407L,
  2188. COMAdminErrAppFileReadFail = ( HRESULT )0x80110408L,
  2189. COMAdminErrAppFileVersion = ( HRESULT )0x80110409L,
  2190. COMAdminErrBadPath = ( HRESULT )0x8011040aL,
  2191. COMAdminErrApplicationExists = ( HRESULT )0x8011040bL,
  2192. COMAdminErrRoleExists = ( HRESULT )0x8011040cL,
  2193. COMAdminErrCantCopyFile = ( HRESULT )0x8011040dL,
  2194. COMAdminErrNoUser = ( HRESULT )0x8011040fL,
  2195. COMAdminErrInvalidUserids = ( HRESULT )0x80110410L,
  2196. COMAdminErrNoRegistryCLSID = ( HRESULT )0x80110411L,
  2197. COMAdminErrBadRegistryProgID = ( HRESULT )0x80110412L,
  2198. COMAdminErrAuthenticationLevel = ( HRESULT )0x80110413L,
  2199. COMAdminErrUserPasswdNotValid = ( HRESULT )0x80110414L,
  2200. COMAdminErrCLSIDOrIIDMismatch = ( HRESULT )0x80110418L,
  2201. COMAdminErrRemoteInterface = ( HRESULT )0x80110419L,
  2202. COMAdminErrDllRegisterServer = ( HRESULT )0x8011041aL,
  2203. COMAdminErrNoServerShare = ( HRESULT )0x8011041bL,
  2204. COMAdminErrDllLoadFailed = ( HRESULT )0x8011041dL,
  2205. COMAdminErrBadRegistryLibID = ( HRESULT )0x8011041eL,
  2206. COMAdminErrAppDirNotFound = ( HRESULT )0x8011041fL,
  2207. COMAdminErrRegistrarFailed = ( HRESULT )0x80110423L,
  2208. COMAdminErrCompFileDoesNotExist = ( HRESULT )0x80110424L,
  2209. COMAdminErrCompFileLoadDLLFail = ( HRESULT )0x80110425L,
  2210. COMAdminErrCompFileGetClassObj = ( HRESULT )0x80110426L,
  2211. COMAdminErrCompFileClassNotAvail = ( HRESULT )0x80110427L,
  2212. COMAdminErrCompFileBadTLB = ( HRESULT )0x80110428L,
  2213. COMAdminErrCompFileNotInstallable = ( HRESULT )0x80110429L,
  2214. COMAdminErrNotChangeable = ( HRESULT )0x8011042aL,
  2215. COMAdminErrNotDeletable = ( HRESULT )0x8011042bL,
  2216. COMAdminErrSession = ( HRESULT )0x8011042cL,
  2217. COMAdminErrCompMoveLocked = ( HRESULT )0x8011042dL,
  2218. COMAdminErrCompMoveBadDest = ( HRESULT )0x8011042eL,
  2219. COMAdminErrRegisterTLB = ( HRESULT )0x80110430L,
  2220. COMAdminErrSystemApp = ( HRESULT )0x80110433L,
  2221. COMAdminErrCompFileNoRegistrar = ( HRESULT )0x80110434L,
  2222. COMAdminErrCoReqCompInstalled = ( HRESULT )0x80110435L,
  2223. COMAdminErrServiceNotInstalled = ( HRESULT )0x80110436L,
  2224. COMAdminErrPropertySaveFailed = ( HRESULT )0x80110437L,
  2225. COMAdminErrObjectExists = ( HRESULT )0x80110438L,
  2226. COMAdminErrComponentExists = ( HRESULT )0x80110439L,
  2227. COMAdminErrRegFileCorrupt = ( HRESULT )0x8011043bL,
  2228. COMAdminErrPropertyOverflow = ( HRESULT )0x8011043cL,
  2229. COMAdminErrNotInRegistry = ( HRESULT )0x8011043eL,
  2230. COMAdminErrObjectNotPoolable = ( HRESULT )0x8011043fL,
  2231. COMAdminErrApplidMatchesClsid = ( HRESULT )0x80110446L,
  2232. COMAdminErrRoleDoesNotExist = ( HRESULT )0x80110447L,
  2233. COMAdminErrStartAppNeedsComponents = ( HRESULT )0x80110448L,
  2234. COMAdminErrRequiresDifferentPlatform = ( HRESULT )0x80110449L,
  2235. COMAdminErrQueuingServiceNotAvailable = ( HRESULT )0x80110602L,
  2236. COMAdminErrObjectParentMissing = ( HRESULT )0x80110808L,
  2237. COMAdminErrObjectDoesNotExist = ( HRESULT )0x80110809L,
  2238. COMAdminErrCanNotExportAppProxy = ( HRESULT )0x8011044aL,
  2239. COMAdminErrCanNotStartApp = ( HRESULT )0x8011044bL,
  2240. COMAdminErrCanNotExportSystemApp = ( HRESULT )0x8011044cL,
  2241. COMAdminErrCanNotSubscribeToComponent = ( HRESULT )0x8011044dL,
  2242. COMAdminErrAppNotRunning = ( HRESULT )0x8011080aL,
  2243. COMAdminErrEventClassCannotBeSubscriber = ( HRESULT )0x8011044eL,
  2244. COMAdminErrLibAppProxyIncompatible = ( HRESULT )0x8011044fL,
  2245. COMAdminErrBasePartitionOnly = ( HRESULT )0x80110450L,
  2246. COMAdminErrDuplicatePartitionName = ( HRESULT )0x80110457L,
  2247. COMAdminErrPartitionInUse = ( HRESULT )0x80110459L,
  2248. COMAdminErrImportedComponentsNotAllowed = ( HRESULT )0x8011045bL,
  2249. COMAdminErrRegdbNotInitialized = ( HRESULT )0x80110472L,
  2250. COMAdminErrRegdbNotOpen = ( HRESULT )0x80110473L,
  2251. COMAdminErrRegdbSystemErr = ( HRESULT )0x80110474L,
  2252. COMAdminErrRegdbAlreadyRunning = ( HRESULT )0x80110475L,
  2253. COMAdminErrMigVersionNotSupported = ( HRESULT )0x80110480L,
  2254. COMAdminErrMigSchemaNotFound = ( HRESULT )0x80110481L,
  2255. COMAdminErrCatBitnessMismatch = ( HRESULT )0x80110482L,
  2256. COMAdminErrCatUnacceptableBitness = ( HRESULT )0x80110483L,
  2257. COMAdminErrCatWrongAppBitnessBitness = ( HRESULT )0x80110484L,
  2258. COMAdminErrCatPauseResumeNotSupported = ( HRESULT )0x80110485L,
  2259. COMAdminErrCatServerFault = ( HRESULT )0x80110486L,
  2260. COMAdminErrCantRecycleLibraryApps = ( HRESULT )0x8011080fL,
  2261. COMAdminErrCantRecycleServiceApps = ( HRESULT )0x80110811L,
  2262. COMAdminErrProcessAlreadyRecycled = ( HRESULT )0x80110812L,
  2263. COMAdminErrPausedProcessMayNotBeRecycled = ( HRESULT )0x80110813L,
  2264. COMAdminErrInvalidPartition = ( HRESULT )0x8011080bL,
  2265. COMAdminErrPartitionMsiOnly = ( HRESULT )0x80110819L,
  2266. COMAdminErrStartAppDisabled = ( HRESULT )0x80110451L,
  2267. COMAdminErrCompMoveSource = ( HRESULT )0x8011081cL,
  2268. COMAdminErrCompMoveDest = ( HRESULT )0x8011081dL,
  2269. COMAdminErrCompMovePrivate = ( HRESULT )0x8011081eL,
  2270. COMAdminErrCannotCopyEventClass = ( HRESULT )0x80110820L
  2271. } ;
  2272. EXTERN_C const IID LIBID_COMAdmin;
  2273. EXTERN_C const CLSID CLSID_COMAdminCatalog;
  2274. #ifdef __cplusplus
  2275. class DECLSPEC_UUID("F618C514-DFB8-11d1-A2CF-00805FC79235")
  2276. COMAdminCatalog;
  2277. #endif
  2278. EXTERN_C const CLSID CLSID_COMAdminCatalogObject;
  2279. #ifdef __cplusplus
  2280. class DECLSPEC_UUID("F618C515-DFB8-11d1-A2CF-00805FC79235")
  2281. COMAdminCatalogObject;
  2282. #endif
  2283. EXTERN_C const CLSID CLSID_COMAdminCatalogCollection;
  2284. #ifdef __cplusplus
  2285. class DECLSPEC_UUID("F618C516-DFB8-11d1-A2CF-00805FC79235")
  2286. COMAdminCatalogCollection;
  2287. #endif
  2288. #endif /* __COMAdmin_LIBRARY_DEFINED__ */
  2289. /* Additional Prototypes for ALL interfaces */
  2290. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  2291. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  2292. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  2293. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  2294. unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
  2295. unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
  2296. unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
  2297. void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
  2298. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  2299. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  2300. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  2301. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  2302. /* end of Additional Prototypes */
  2303. #ifdef __cplusplus
  2304. }
  2305. #endif
  2306. #endif