ホーム › Storage.Xps › IXpsOMPartResources
IXpsOMPartResources
COMメソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT GetFontResources(IXpsOMFontResourceCollection** fontResources)
| fontResources | IXpsOMFontResourceCollection** | out | パートに含まれるフォントリソースのコレクションへのポインタを受け取る。 |
vtbl 4 HRESULT GetImageResources(IXpsOMImageResourceCollection** imageResources)
| imageResources | IXpsOMImageResourceCollection** | out | パートに含まれる画像リソースのコレクションへのポインタを受け取る。 |
vtbl 5 HRESULT GetColorProfileResources(IXpsOMColorProfileResourceCollection** colorProfileResources)
| colorProfileResources | IXpsOMColorProfileResourceCollection** | out | パートに含まれるカラープロファイルリソースのコレクションへのポインタを受け取る。 |
vtbl 6 HRESULT GetRemoteDictionaryResources(IXpsOMRemoteDictionaryResourceCollection** dictionaryResources)
| dictionaryResources | IXpsOMRemoteDictionaryResourceCollection** | out | パートに含まれるリモートディクショナリリソースのコレクションへのポインタを受け取る。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IXpsOMPartResources "{F4CF7729-4864-4275-99B3-A8717163ECAF}"
#usecom global IXpsOMPartResources IID_IXpsOMPartResources "{}"
#comfunc global IXpsOMPartResources_GetFontResources 3 sptr
#comfunc global IXpsOMPartResources_GetImageResources 4 sptr
#comfunc global IXpsOMPartResources_GetColorProfileResources 5 sptr
#comfunc global IXpsOMPartResources_GetRemoteDictionaryResources 6 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。