ホーム › Storage.Xps › IXpsOMColorProfileResourceCollection
IXpsOMColorProfileResourceCollection
COMメソッド 7
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| count | DWORD* | out | コレクション内のカラープロファイルリソース数を受け取る。 |
vtbl 4 HRESULT GetAt(DWORD index, IXpsOMColorProfileResource** object)
| index | DWORD | in | 取得する要素の 0 基点のインデックスを指定する。 |
| object | IXpsOMColorProfileResource** | out | 指定インデックスのカラープロファイルリソースへのポインタを受け取る。 |
vtbl 5 HRESULT InsertAt(DWORD index, IXpsOMColorProfileResource* object)
| index | DWORD | in | 挿入位置を示す 0 基点のインデックスを指定する。 |
| object | IXpsOMColorProfileResource* | in | 挿入するカラープロファイルリソースを指定する。 |
| index | DWORD | in | 削除する要素の 0 基点のインデックスを指定する。 |
vtbl 7 HRESULT SetAt(DWORD index, IXpsOMColorProfileResource* object)
| index | DWORD | in | 置き換える要素の 0 基点のインデックスを指定する。 |
| object | IXpsOMColorProfileResource* | in | 指定位置に設定するカラープロファイルリソースを指定する。 |
vtbl 8 HRESULT Append(IXpsOMColorProfileResource* object)
| object | IXpsOMColorProfileResource* | in | コレクション末尾に追加するカラープロファイルリソースを指定する。 |
vtbl 9 HRESULT GetByPartName(IOpcPartUri* partName, IXpsOMColorProfileResource** part)
| partName | IOpcPartUri* | in | 検索するリソースのパート名を表す OPC パート URI を指定する。 |
| part | IXpsOMColorProfileResource** | 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 指定が可能。#define global IID_IXpsOMColorProfileResourceCollection "{12759630-5FBA-4283-8F7D-CCA849809EDB}" #usecom global IXpsOMColorProfileResourceCollection IID_IXpsOMColorProfileResourceCollection "{}" #comfunc global IXpsOMColorProfileResourceCollection_GetCount 3 sptr #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が無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。