ホーム › Storage.Packaging.Opc › IOpcRelationshipSelectorSet
IOpcRelationshipSelectorSet
COMメソッド 3
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT Create(OPC_RELATIONSHIP_SELECTOR selector, LPWSTR selectionCriterion, IOpcRelationshipSelector** relationshipSelector)
| selector | OPC_RELATIONSHIP_SELECTOR | in | リレーションシップを Id とタイプのどちらで選択するかを示す OPC_RELATIONSHIP_SELECTOR 値である。 |
| selectionCriterion | LPWSTR | in | 選択の基準となる文字列(リレーションシップの Id またはタイプ)を指定する。 |
| relationshipSelector | IOpcRelationshipSelector** | out | 作成されたリレーションシップセレクタを表す IOpcRelationshipSelector を受け取るポインタである。 |
vtbl 4 HRESULT Delete(IOpcRelationshipSelector* relationshipSelector)
| relationshipSelector | IOpcRelationshipSelector* | in | セットから削除するリレーションシップセレクタを表す IOpcRelationshipSelector である。 |
vtbl 5 HRESULT GetEnumerator(IOpcRelationshipSelectorEnumerator** relationshipSelectorEnumerator)
| relationshipSelectorEnumerator | IOpcRelationshipSelectorEnumerator** | out | このセットに含まれるリレーションシップセレクタを列挙する IOpcRelationshipSelectorEnumerator を受け取るポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IOpcRelationshipSelectorSet "{6E34C269-A4D3-47C0-B5C4-87FF2B3B6136}"
#usecom global IOpcRelationshipSelectorSet IID_IOpcRelationshipSelectorSet "{}"
#comfunc global IOpcRelationshipSelectorSet_Create 3 int,wstr,sptr
#comfunc global IOpcRelationshipSelectorSet_Delete 4 sptr
#comfunc global IOpcRelationshipSelectorSet_GetEnumerator 5 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。