📄 comadmin.h
字号:
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.03.0268 */
/* at Wed Aug 04 16:39:07 1999
*/
/* Compiler settings for comadmin.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __comadmin_h__
#define __comadmin_h__
/* Forward Declarations */
#ifndef __ICOMAdminCatalog_FWD_DEFINED__
#define __ICOMAdminCatalog_FWD_DEFINED__
typedef interface ICOMAdminCatalog ICOMAdminCatalog;
#endif /* __ICOMAdminCatalog_FWD_DEFINED__ */
#ifndef __ICatalogObject_FWD_DEFINED__
#define __ICatalogObject_FWD_DEFINED__
typedef interface ICatalogObject ICatalogObject;
#endif /* __ICatalogObject_FWD_DEFINED__ */
#ifndef __ICatalogCollection_FWD_DEFINED__
#define __ICatalogCollection_FWD_DEFINED__
typedef interface ICatalogCollection ICatalogCollection;
#endif /* __ICatalogCollection_FWD_DEFINED__ */
#ifndef __COMAdminCatalog_FWD_DEFINED__
#define __COMAdminCatalog_FWD_DEFINED__
#ifdef __cplusplus
typedef class COMAdminCatalog COMAdminCatalog;
#else
typedef struct COMAdminCatalog COMAdminCatalog;
#endif /* __cplusplus */
#endif /* __COMAdminCatalog_FWD_DEFINED__ */
#ifndef __COMAdminCatalogObject_FWD_DEFINED__
#define __COMAdminCatalogObject_FWD_DEFINED__
#ifdef __cplusplus
typedef class COMAdminCatalogObject COMAdminCatalogObject;
#else
typedef struct COMAdminCatalogObject COMAdminCatalogObject;
#endif /* __cplusplus */
#endif /* __COMAdminCatalogObject_FWD_DEFINED__ */
#ifndef __COMAdminCatalogCollection_FWD_DEFINED__
#define __COMAdminCatalogCollection_FWD_DEFINED__
#ifdef __cplusplus
typedef class COMAdminCatalogCollection COMAdminCatalogCollection;
#else
typedef struct COMAdminCatalogCollection COMAdminCatalogCollection;
#endif /* __cplusplus */
#endif /* __COMAdminCatalogCollection_FWD_DEFINED__ */
/* header files for imported files */
#include "unknwn.h"
#include "oaidl.h"
#ifdef __cplusplus
extern "C"{
#endif
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/* interface __MIDL_itf_comadmin_0000 */
/* [local] */
// -----------------------------------------------------------------------
// comadmin.h -- COM Administration Programming Interfaces
//
// This file provides the prototypes for the APIs and COM interfaces
// used by Microsoft COM applications.
//
// Copyright (c) 1995-1999 Microsoft Corporation. All Rights Reserved.
// -----------------------------------------------------------------------
#include <objbase.h>
#ifndef DECLSPEC_UUID
#if _MSC_VER >= 1100
#define DECLSPEC_UUID(x) __declspec(uuid(x))
#else
#define DECLSPEC_UUID(x)
#endif
#endif
extern RPC_IF_HANDLE __MIDL_itf_comadmin_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_comadmin_0000_v0_0_s_ifspec;
#ifndef __ICOMAdminCatalog_INTERFACE_DEFINED__
#define __ICOMAdminCatalog_INTERFACE_DEFINED__
/* interface ICOMAdminCatalog */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ICOMAdminCatalog;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("DD662187-DFC2-11d1-A2CF-00805FC79235")
ICOMAdminCatalog : public IDispatch
{
public:
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCollection(
/* [in] */ BSTR bstrCollName,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Connect(
/* [in] */ BSTR bstrConnectString,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MajorVersion(
/* [retval][out] */ long __RPC_FAR *retval) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MinorVersion(
/* [retval][out] */ long __RPC_FAR *retval) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCollectionByQuery(
/* [in] */ BSTR bstrCollName,
/* [in] */ SAFEARRAY __RPC_FAR * __RPC_FAR *aQuery,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ImportComponent(
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ BSTR bstrCLSIDOrProgId) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallComponent(
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ BSTR bstrDLL,
/* [in] */ BSTR bstrTLB,
/* [in] */ BSTR bstrPSDLL) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ShutdownApplication(
/* [in] */ BSTR bstrApplIdOrName) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ExportApplication(
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ BSTR bstrApplicationFile,
/* [in] */ long lOptions) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallApplication(
/* [in] */ BSTR bstrApplicationFile,
/* [optional][in] */ BSTR bstrDestinationDirectory,
/* [optional][in] */ long lOptions,
/* [optional][in] */ BSTR bstrUserId,
/* [optional][in] */ BSTR bstrPassword,
/* [optional][in] */ BSTR bstrRSN) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopRouter( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RefreshRouter( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartRouter( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopIMDB( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartIMDB( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallMultipleComponents(
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varFileNames,
/* [in] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varCLSIDS) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetMultipleComponentsInfo(
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varFileNames,
/* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varCLSIDs,
/* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varClassNames,
/* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varFileFlags,
/* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varComponentFlags) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RefreshComponents( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BackupREGDB(
/* [in] */ BSTR bstrBackupFilePath) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RestoreREGDB(
/* [in] */ BSTR bstrBackupFilePath) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryApplicationFile(
/* [in] */ BSTR bstrApplicationFile,
/* [out] */ BSTR __RPC_FAR *bstrApplicationName,
/* [out] */ BSTR __RPC_FAR *bstrApplicationDescription,
/* [out] */ VARIANT_BOOL __RPC_FAR *bHasUsers,
/* [out] */ VARIANT_BOOL __RPC_FAR *bIsProxy,
/* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varFileNames) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartApplication(
/* [in] */ BSTR bstrApplIdOrName) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ServiceCheck(
/* [in] */ long lService,
/* [retval][out] */ long __RPC_FAR *pulStatus) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallMultipleEventClasses(
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varFileNames,
/* [in] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varCLSIDS) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InstallEventClass(
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ BSTR bstrDLL,
/* [in] */ BSTR bstrTLB,
/* [in] */ BSTR bstrPSDLL) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetEventClassesForIID(
/* [in] */ BSTR bstrIID,
/* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varCLSIDs,
/* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varProgIDs,
/* [out] */ SAFEARRAY __RPC_FAR * __RPC_FAR *varDescriptions) = 0;
};
#else /* C style interface */
typedef struct ICOMAdminCatalogVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ICOMAdminCatalog __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ICOMAdminCatalog __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ICOMAdminCatalog __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCollection )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ BSTR bstrCollName,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Connect )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ BSTR bstrConnectString,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MajorVersion )(
ICOMAdminCatalog __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *retval);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_MinorVersion )(
ICOMAdminCatalog __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *retval);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCollectionByQuery )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ BSTR bstrCollName,
/* [in] */ SAFEARRAY __RPC_FAR * __RPC_FAR *aQuery,
/* [retval][out] */ IDispatch __RPC_FAR *__RPC_FAR *ppCatalogCollection);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ImportComponent )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ BSTR bstrCLSIDOrProgId);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InstallComponent )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ BSTR bstrApplIdOrName,
/* [in] */ BSTR bstrDLL,
/* [in] */ BSTR bstrTLB,
/* [in] */ BSTR bstrPSDLL);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShutdownApplication )(
ICOMAdminCatalog __RPC_FAR * This,
/* [in] */ BSTR bstrApplIdOrName);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -