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

IXpsOMPartResources

COM
IIDf4cf7729-4864-4275-99b3-a8717163ecaf継承元IUnknown自前メソッド開始 vtbl3

メソッド 4

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

vtbl 3 HRESULT GetFontResources(IXpsOMFontResourceCollection** fontResources)
fontResourcesIXpsOMFontResourceCollection**outパートに含まれるフォントリソースのコレクションへのポインタを受け取る。
vtbl 4 HRESULT GetImageResources(IXpsOMImageResourceCollection** imageResources)
imageResourcesIXpsOMImageResourceCollection**outパートに含まれる画像リソースのコレクションへのポインタを受け取る。
vtbl 5 HRESULT GetColorProfileResources(IXpsOMColorProfileResourceCollection** colorProfileResources)
colorProfileResourcesIXpsOMColorProfileResourceCollection**outパートに含まれるカラープロファイルリソースのコレクションへのポインタを受け取る。
vtbl 6 HRESULT GetRemoteDictionaryResources(IXpsOMRemoteDictionaryResourceCollection** dictionaryResources)
dictionaryResourcesIXpsOMRemoteDictionaryResourceCollection**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 指定が可能。