Win32 API 日本語リファレンス
ホームSystem.ComponentServices › ICOMAdminCatalog

ICOMAdminCatalog

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IIDdd662187-dfc2-11d1-a2cf-00805fc79235継承元IDispatch呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl7

メソッド 26

vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。

vtblメソッド
7HRESULT GetCollection(LPWSTR bstrCollName, IDispatch** ppCatalogCollection)
8HRESULT Connect(LPWSTR bstrCatalogServerName, IDispatch** ppCatalogCollection)
9HRESULT get_MajorVersion(INT* plMajorVersion)
10HRESULT get_MinorVersion(INT* plMinorVersion)
11HRESULT GetCollectionByQuery(LPWSTR bstrCollName, SAFEARRAY** ppsaVarQuery, IDispatch** ppCatalogCollection)
12HRESULT ImportComponent(LPWSTR bstrApplIDOrName, LPWSTR bstrCLSIDOrProgID)
13HRESULT InstallComponent(LPWSTR bstrApplIDOrName, LPWSTR bstrDLL, LPWSTR bstrTLB, LPWSTR bstrPSDLL)
14HRESULT ShutdownApplication(LPWSTR bstrApplIDOrName)
15HRESULT ExportApplication(LPWSTR bstrApplIDOrName, LPWSTR bstrApplicationFile, COMAdminApplicationExportOptions lOptions)
16HRESULT InstallApplication(LPWSTR bstrApplicationFile, LPWSTR bstrDestinationDirectory, COMAdminApplicationInstallOptions lOptions, LPWSTR bstrUserId, LPWSTR bstrPassword, LPWSTR bstrRSN)
17HRESULT StopRouter()
18HRESULT RefreshRouter()
19HRESULT StartRouter()
20HRESULT Reserved1()
21HRESULT Reserved2()
22HRESULT InstallMultipleComponents(LPWSTR bstrApplIDOrName, SAFEARRAY** ppsaVarFileNames, SAFEARRAY** ppsaVarCLSIDs)
23HRESULT GetMultipleComponentsInfo(LPWSTR bstrApplIdOrName, SAFEARRAY** ppsaVarFileNames, SAFEARRAY** ppsaVarCLSIDs, SAFEARRAY** ppsaVarClassNames, SAFEARRAY** ppsaVarFileFlags, SAFEARRAY** ppsaVarComponentFlags)
24HRESULT RefreshComponents()
25HRESULT BackupREGDB(LPWSTR bstrBackupFilePath)
26HRESULT RestoreREGDB(LPWSTR bstrBackupFilePath)
27HRESULT QueryApplicationFile(LPWSTR bstrApplicationFile, LPWSTR* pbstrApplicationName, LPWSTR* pbstrApplicationDescription, VARIANT_BOOL* pbHasUsers, VARIANT_BOOL* pbIsProxy, SAFEARRAY** ppsaVarFileNames)
28HRESULT StartApplication(LPWSTR bstrApplIdOrName)
29HRESULT ServiceCheck(INT lService, INT* plStatus)
30HRESULT InstallMultipleEventClasses(LPWSTR bstrApplIdOrName, SAFEARRAY** ppsaVarFileNames, SAFEARRAY** ppsaVarCLSIDS)
31HRESULT InstallEventClass(LPWSTR bstrApplIdOrName, LPWSTR bstrDLL, LPWSTR bstrTLB, LPWSTR bstrPSDLL)
32HRESULT GetEventClassesForIID(LPWSTR bstrIID, SAFEARRAY** ppsaVarCLSIDs, SAFEARRAY** ppsaVarProgIDs, SAFEARRAY** ppsaVarDescriptions)