Win32 API 日本語リファレンス
ホームStorage.Xps › IXpsOMRemoteDictionaryResourceCollection

IXpsOMRemoteDictionaryResourceCollection

COM
IID5c38db61-7fec-464a-87bd-41e3bef018be継承元IUnknown自前メソッド開始 vtbl3

メソッド 7

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

vtbl 3 HRESULT GetCount(DWORD* count)
countDWORD*outコレクション内のリモートディクショナリリソース数を受け取る。
vtbl 4 HRESULT GetAt(DWORD index, IXpsOMRemoteDictionaryResource** object)
indexDWORDin取得する要素の 0 基点のインデックスを指定する。
objectIXpsOMRemoteDictionaryResource**out指定インデックスのリモートディクショナリリソースへのポインタを受け取る。
vtbl 5 HRESULT InsertAt(DWORD index, IXpsOMRemoteDictionaryResource* object)
indexDWORDin挿入位置を示す 0 基点のインデックスを指定する。
objectIXpsOMRemoteDictionaryResource*in挿入するリモートディクショナリリソースを指定する。
vtbl 6 HRESULT RemoveAt(DWORD index)
indexDWORDin削除する要素の 0 基点のインデックスを指定する。
vtbl 7 HRESULT SetAt(DWORD index, IXpsOMRemoteDictionaryResource* object)
indexDWORDin置き換える要素の 0 基点のインデックスを指定する。
objectIXpsOMRemoteDictionaryResource*in指定位置に設定するリモートディクショナリリソースを指定する。
vtbl 8 HRESULT Append(IXpsOMRemoteDictionaryResource* object)
objectIXpsOMRemoteDictionaryResource*inコレクション末尾に追加するリモートディクショナリリソースを指定する。
vtbl 9 HRESULT GetByPartName(IOpcPartUri* partName, IXpsOMRemoteDictionaryResource** remoteDictionaryResource)
partNameIOpcPartUri*in検索するリソースのパート名を表す OPC パート URI を指定する。
remoteDictionaryResourceIXpsOMRemoteDictionaryResource**outパート名に一致するリモートディクショナリリソースへのポインタを受け取る。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IXpsOMRemoteDictionaryResourceCollection "{5C38DB61-7FEC-464A-87BD-41E3BEF018BE}"
#usecom global IXpsOMRemoteDictionaryResourceCollection IID_IXpsOMRemoteDictionaryResourceCollection "{}"
#comfunc global IXpsOMRemoteDictionaryResourceCollection_GetCount       3 var
#comfunc global IXpsOMRemoteDictionaryResourceCollection_GetAt          4 int,sptr
#comfunc global IXpsOMRemoteDictionaryResourceCollection_InsertAt       5 int,sptr
#comfunc global IXpsOMRemoteDictionaryResourceCollection_RemoveAt       6 int
#comfunc global IXpsOMRemoteDictionaryResourceCollection_SetAt          7 int,sptr
#comfunc global IXpsOMRemoteDictionaryResourceCollection_Append         8 sptr
#comfunc global IXpsOMRemoteDictionaryResourceCollection_GetByPartName  9 sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。