ホーム › Networking.Clustering › ISClusResType
ISClusResType
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 10
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
vtbl 7 HRESULT get_CommonProperties(ISClusProperties** ppProperties)
| ppProperties | ISClusProperties** | out | リソース種別の共通プロパティ集合を返す出力ポインタ。読み書き可能。 |
vtbl 8 HRESULT get_PrivateProperties(ISClusProperties** ppProperties)
| ppProperties | ISClusProperties** | out | リソース種別固有のプライベートプロパティ集合を返す出力ポインタ。 |
vtbl 9 HRESULT get_CommonROProperties(ISClusProperties** ppProperties)
| ppProperties | ISClusProperties** | out | 読み取り専用の共通プロパティ集合を返す出力ポインタ。 |
vtbl 10 HRESULT get_PrivateROProperties(ISClusProperties** ppProperties)
| ppProperties | ISClusProperties** | out | 読み取り専用のプライベートプロパティ集合を返す出力ポインタ。 |
| pbstrName | LPWSTR* | out | リソース種別名を受け取る出力BSTR文字列。解放は呼び出し側で行う。 |
vtbl 12 HRESULT Delete()
| ppCluster | ISCluster** | out | この種別が属するクラスターISClusterを返す出力ポインタ。 |
vtbl 14 HRESULT get_Resources(ISClusResTypeResources** ppClusterResTypeResources)
| ppClusterResTypeResources | ISClusResTypeResources** | out | この種別に属するリソース集合ISClusResTypeResourcesを返す出力ポインタ。 |
vtbl 15 HRESULT get_PossibleOwnerNodes(ISClusResTypePossibleOwnerNodes** ppOwnerNodes)
| ppOwnerNodes | ISClusResTypePossibleOwnerNodes** | out | この種別を実行可能なノード集合ISClusResTypePossibleOwnerNodesを返す出力ポインタ。 |
vtbl 16 HRESULT get_AvailableDisks(ISClusDisks** ppAvailableDisks)
| ppAvailableDisks | ISClusDisks** | out | この種別が利用可能なディスク集合ISClusDisksを返す出力ポインタ。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ISClusResType "{F2E60710-2631-11D1-89F1-00A0C90D061E}" #usecom global ISClusResType IID_ISClusResType "{}" #comfunc global ISClusResType_get_CommonProperties 7 sptr #comfunc global ISClusResType_get_PrivateProperties 8 sptr #comfunc global ISClusResType_get_CommonROProperties 9 sptr #comfunc global ISClusResType_get_PrivateROProperties 10 sptr #comfunc global ISClusResType_get_Name 11 var #comfunc global ISClusResType_Delete 12 #comfunc global ISClusResType_get_Cluster 13 sptr #comfunc global ISClusResType_get_Resources 14 sptr #comfunc global ISClusResType_get_PossibleOwnerNodes 15 sptr #comfunc global ISClusResType_get_AvailableDisks 16 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ISClusResType "{F2E60710-2631-11D1-89F1-00A0C90D061E}" #usecom global ISClusResType IID_ISClusResType "{}" #comfunc global ISClusResType_get_CommonProperties 7 sptr #comfunc global ISClusResType_get_PrivateProperties 8 sptr #comfunc global ISClusResType_get_CommonROProperties 9 sptr #comfunc global ISClusResType_get_PrivateROProperties 10 sptr #comfunc global ISClusResType_get_Name 11 sptr #comfunc global ISClusResType_Delete 12 #comfunc global ISClusResType_get_Cluster 13 sptr #comfunc global ISClusResType_get_Resources 14 sptr #comfunc global ISClusResType_get_PossibleOwnerNodes 15 sptr #comfunc global ISClusResType_get_AvailableDisks 16 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。