#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IXpsOMCanvas "{221D1452-331E-47C6-87E9-6CCEFB9B5BA3}"
#usecom global IXpsOMCanvas IID_IXpsOMCanvas "{}"
#comfunc global IXpsOMCanvas_GetVisuals 30 sptr
#comfunc global IXpsOMCanvas_GetUseAliasedEdgeMode 31 var
#comfunc global IXpsOMCanvas_SetUseAliasedEdgeMode 32 int
#comfunc global IXpsOMCanvas_GetAccessibilityShortDescription 33 var
#comfunc global IXpsOMCanvas_SetAccessibilityShortDescription 34 wstr
#comfunc global IXpsOMCanvas_GetAccessibilityLongDescription 35 var
#comfunc global IXpsOMCanvas_SetAccessibilityLongDescription 36 wstr
#comfunc global IXpsOMCanvas_GetDictionary 37 sptr
#comfunc global IXpsOMCanvas_GetDictionaryLocal 38 sptr
#comfunc global IXpsOMCanvas_SetDictionaryLocal 39 sptr
#comfunc global IXpsOMCanvas_GetDictionaryResource 40 sptr
#comfunc global IXpsOMCanvas_SetDictionaryResource 41 sptr
#comfunc global IXpsOMCanvas_Clone 42 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IXpsOMCanvas "{221D1452-331E-47C6-87E9-6CCEFB9B5BA3}"
#usecom global IXpsOMCanvas IID_IXpsOMCanvas "{}"
#comfunc global IXpsOMCanvas_GetVisuals 30 sptr
#comfunc global IXpsOMCanvas_GetUseAliasedEdgeMode 31 sptr
#comfunc global IXpsOMCanvas_SetUseAliasedEdgeMode 32 int
#comfunc global IXpsOMCanvas_GetAccessibilityShortDescription 33 sptr
#comfunc global IXpsOMCanvas_SetAccessibilityShortDescription 34 wstr
#comfunc global IXpsOMCanvas_GetAccessibilityLongDescription 35 sptr
#comfunc global IXpsOMCanvas_SetAccessibilityLongDescription 36 wstr
#comfunc global IXpsOMCanvas_GetDictionary 37 sptr
#comfunc global IXpsOMCanvas_GetDictionaryLocal 38 sptr
#comfunc global IXpsOMCanvas_SetDictionaryLocal 39 sptr
#comfunc global IXpsOMCanvas_GetDictionaryResource 40 sptr
#comfunc global IXpsOMCanvas_SetDictionaryResource 41 sptr
#comfunc global IXpsOMCanvas_Clone 42 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。