Win32 API 日本語リファレンス
ホームNetworking.Clustering › ISClusResource

ISClusResource

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

メソッド 32

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

vtblメソッド
7HRESULT get_CommonProperties(ISClusProperties** ppProperties)
8HRESULT get_PrivateProperties(ISClusProperties** ppProperties)
9HRESULT get_CommonROProperties(ISClusProperties** ppProperties)
10HRESULT get_PrivateROProperties(ISClusProperties** ppProperties)
11HRESULT get_Handle(UINT_PTR* phandle)
12HRESULT get_Name(LPWSTR* pbstrName)
13HRESULT put_Name(LPWSTR bstrResourceName)
14HRESULT get_State(CLUSTER_RESOURCE_STATE* dwState)
15HRESULT get_CoreFlag(CLUS_FLAGS* dwCoreFlag)
16HRESULT BecomeQuorumResource(LPWSTR bstrDevicePath, INT lMaxLogSize)
17HRESULT Delete()
18HRESULT Fail()
19HRESULT Online(INT nTimeout, VARIANT* pvarPending)
20HRESULT Offline(INT nTimeout, VARIANT* pvarPending)
21HRESULT ChangeResourceGroup(ISClusResGroup* pResourceGroup)
22HRESULT AddResourceNode(ISClusNode* pNode)
23HRESULT RemoveResourceNode(ISClusNode* pNode)
24HRESULT CanResourceBeDependent(ISClusResource* pResource, VARIANT* pvarDependent)
25HRESULT get_PossibleOwnerNodes(ISClusResPossibleOwnerNodes** ppOwnerNodes)
26HRESULT get_Dependencies(ISClusResDependencies** ppResDependencies)
27HRESULT get_Dependents(ISClusResDependents** ppResDependents)
28HRESULT get_Group(ISClusResGroup** ppResGroup)
29HRESULT get_OwnerNode(ISClusNode** ppOwnerNode)
30HRESULT get_Cluster(ISCluster** ppCluster)
31HRESULT get_ClassInfo(CLUSTER_RESOURCE_CLASS* prcClassInfo)
32HRESULT get_Disk(ISClusDisk** ppDisk)
33HRESULT get_RegistryKeys(ISClusRegistryKeys** ppRegistryKeys)
34HRESULT get_CryptoKeys(ISClusCryptoKeys** ppCryptoKeys)
35HRESULT get_TypeName(LPWSTR* pbstrTypeName)
36HRESULT get_Type(ISClusResType** ppResourceType)
37HRESULT get_MaintenanceMode(BOOL* pbMaintenanceMode)
38HRESULT put_MaintenanceMode(BOOL bMaintenanceMode)