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

IXpsOMColorProfileResourceCollection

COM
IID12759630-5fba-4283-8f7d-cca849809edb継承元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, IXpsOMColorProfileResource** object)
indexDWORDin取得する要素の 0 基点のインデックスを指定する。
objectIXpsOMColorProfileResource**out指定インデックスのカラープロファイルリソースへのポインタを受け取る。
vtbl 5 HRESULT InsertAt(DWORD index, IXpsOMColorProfileResource* object)
indexDWORDin挿入位置を示す 0 基点のインデックスを指定する。
objectIXpsOMColorProfileResource*in挿入するカラープロファイルリソースを指定する。
vtbl 6 HRESULT RemoveAt(DWORD index)
indexDWORDin削除する要素の 0 基点のインデックスを指定する。
vtbl 7 HRESULT SetAt(DWORD index, IXpsOMColorProfileResource* object)
indexDWORDin置き換える要素の 0 基点のインデックスを指定する。
objectIXpsOMColorProfileResource*in指定位置に設定するカラープロファイルリソースを指定する。
vtbl 8 HRESULT Append(IXpsOMColorProfileResource* object)
objectIXpsOMColorProfileResource*inコレクション末尾に追加するカラープロファイルリソースを指定する。
vtbl 9 HRESULT GetByPartName(IOpcPartUri* partName, IXpsOMColorProfileResource** part)
partNameIOpcPartUri*in検索するリソースのパート名を表す OPC パート URI を指定する。
partIXpsOMColorProfileResource**outパート名に一致するカラープロファイルリソースへのポインタを受け取る。

HSP用 COM定義

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

出力引数:
#define global IID_IXpsOMColorProfileResourceCollection "{12759630-5FBA-4283-8F7D-CCA849809EDB}"
#usecom global IXpsOMColorProfileResourceCollection IID_IXpsOMColorProfileResourceCollection "{}"
#comfunc global IXpsOMColorProfileResourceCollection_GetCount       3 var
#comfunc global IXpsOMColorProfileResourceCollection_GetAt          4 int,sptr
#comfunc global IXpsOMColorProfileResourceCollection_InsertAt       5 int,sptr
#comfunc global IXpsOMColorProfileResourceCollection_RemoveAt       6 int
#comfunc global IXpsOMColorProfileResourceCollection_SetAt          7 int,sptr
#comfunc global IXpsOMColorProfileResourceCollection_Append         8 sptr
#comfunc global IXpsOMColorProfileResourceCollection_GetByPartName  9 sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。