ComAdmin.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:122k
源码类别:

模拟服务器

开发平台:

C/C++

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