Win32 API 日本語リファレンス
ホームStorage.Packaging.Opc › IOpcRelationshipSelectorSet

IOpcRelationshipSelectorSet

COM
IID6e34c269-a4d3-47c0-b5c4-87ff2b3b6136継承元IUnknown自前メソッド開始 vtbl3

メソッド 3

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT Create(OPC_RELATIONSHIP_SELECTOR selector, LPWSTR selectionCriterion, IOpcRelationshipSelector** relationshipSelector)
selectorOPC_RELATIONSHIP_SELECTORinリレーションシップを Id とタイプのどちらで選択するかを示す OPC_RELATIONSHIP_SELECTOR 値である。
selectionCriterionLPWSTRin選択の基準となる文字列(リレーションシップの Id またはタイプ)を指定する。
relationshipSelectorIOpcRelationshipSelector**out作成されたリレーションシップセレクタを表す IOpcRelationshipSelector を受け取るポインタである。
vtbl 4 HRESULT Delete(IOpcRelationshipSelector* relationshipSelector)
relationshipSelectorIOpcRelationshipSelector*inセットから削除するリレーションシップセレクタを表す IOpcRelationshipSelector である。
vtbl 5 HRESULT GetEnumerator(IOpcRelationshipSelectorEnumerator** relationshipSelectorEnumerator)
relationshipSelectorEnumeratorIOpcRelationshipSelectorEnumerator**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 指定が可能。