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

ICOMAdminCatalog2

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IID790c6e0b-9194-4cc9-9426-a48a63185696継承元ICOMAdminCatalog呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl33

メソッド 31

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

vtblメソッド
33HRESULT GetCollectionByQuery2(LPWSTR bstrCollectionName, VARIANT* pVarQueryStrings, IDispatch** ppCatalogCollection)
34HRESULT GetApplicationInstanceIDFromProcessID(INT lProcessID, LPWSTR* pbstrApplicationInstanceID)
35HRESULT ShutdownApplicationInstances(VARIANT* pVarApplicationInstanceID)
36HRESULT PauseApplicationInstances(VARIANT* pVarApplicationInstanceID)
37HRESULT ResumeApplicationInstances(VARIANT* pVarApplicationInstanceID)
38HRESULT RecycleApplicationInstances(VARIANT* pVarApplicationInstanceID, INT lReasonCode)
39HRESULT AreApplicationInstancesPaused(VARIANT* pVarApplicationInstanceID, VARIANT_BOOL* pVarBoolPaused)
40HRESULT DumpApplicationInstance(LPWSTR bstrApplicationInstanceID, LPWSTR bstrDirectory, INT lMaxImages, LPWSTR* pbstrDumpFile)
41HRESULT get_IsApplicationInstanceDumpSupported(VARIANT_BOOL* pVarBoolDumpSupported)
42HRESULT CreateServiceForApplication(LPWSTR bstrApplicationIDOrName, LPWSTR bstrServiceName, LPWSTR bstrStartType, LPWSTR bstrErrorControl, LPWSTR bstrDependencies, LPWSTR bstrRunAs, LPWSTR bstrPassword, VARIANT_BOOL bDesktopOk)
43HRESULT DeleteServiceForApplication(LPWSTR bstrApplicationIDOrName)
44HRESULT GetPartitionID(LPWSTR bstrApplicationIDOrName, LPWSTR* pbstrPartitionID)
45HRESULT GetPartitionName(LPWSTR bstrApplicationIDOrName, LPWSTR* pbstrPartitionName)
46HRESULT put_CurrentPartition(LPWSTR bstrPartitionIDOrName)
47HRESULT get_CurrentPartitionID(LPWSTR* pbstrPartitionID)
48HRESULT get_CurrentPartitionName(LPWSTR* pbstrPartitionName)
49HRESULT get_GlobalPartitionID(LPWSTR* pbstrGlobalPartitionID)
50HRESULT FlushPartitionCache()
51HRESULT CopyApplications(LPWSTR bstrSourcePartitionIDOrName, VARIANT* pVarApplicationID, LPWSTR bstrDestinationPartitionIDOrName)
52HRESULT CopyComponents(LPWSTR bstrSourceApplicationIDOrName, VARIANT* pVarCLSIDOrProgID, LPWSTR bstrDestinationApplicationIDOrName)
53HRESULT MoveComponents(LPWSTR bstrSourceApplicationIDOrName, VARIANT* pVarCLSIDOrProgID, LPWSTR bstrDestinationApplicationIDOrName)
54HRESULT AliasComponent(LPWSTR bstrSrcApplicationIDOrName, LPWSTR bstrCLSIDOrProgID, LPWSTR bstrDestApplicationIDOrName, LPWSTR bstrNewProgId, LPWSTR bstrNewClsid)
55HRESULT IsSafeToDelete(LPWSTR bstrDllName, COMAdminInUse* pCOMAdminInUse)
56HRESULT ImportUnconfiguredComponents(LPWSTR bstrApplicationIDOrName, VARIANT* pVarCLSIDOrProgID, VARIANT* pVarComponentType)
57HRESULT PromoteUnconfiguredComponents(LPWSTR bstrApplicationIDOrName, VARIANT* pVarCLSIDOrProgID, VARIANT* pVarComponentType)
58HRESULT ImportComponents(LPWSTR bstrApplicationIDOrName, VARIANT* pVarCLSIDOrProgID, VARIANT* pVarComponentType)
59HRESULT get_Is64BitCatalogServer(VARIANT_BOOL* pbIs64Bit)
60HRESULT ExportPartition(LPWSTR bstrPartitionIDOrName, LPWSTR bstrPartitionFileName, COMAdminApplicationExportOptions lOptions)
61HRESULT InstallPartition(LPWSTR bstrFileName, LPWSTR bstrDestDirectory, COMAdminApplicationInstallOptions lOptions, LPWSTR bstrUserID, LPWSTR bstrPassword, LPWSTR bstrRSN)
62HRESULT QueryApplicationFile2(LPWSTR bstrApplicationFile, IDispatch** ppFilesForImport)
63HRESULT GetComponentVersionCount(LPWSTR bstrCLSIDOrProgID, INT* plVersionCount)