#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ITargetFrame "{D5F78C80-5252-11CF-90FA-00AA0042106E}"
#usecom global ITargetFrame IID_ITargetFrame "{}"
#comfunc global ITargetFrame_SetFrameName 3 wstr
#comfunc global ITargetFrame_GetFrameName 4 var
#comfunc global ITargetFrame_GetParentFrame 5 sptr
#comfunc global ITargetFrame_FindFrame 6 wstr,sptr,int,sptr
#comfunc global ITargetFrame_SetFrameSrc 7 wstr
#comfunc global ITargetFrame_GetFrameSrc 8 var
#comfunc global ITargetFrame_GetFramesContainer 9 sptr
#comfunc global ITargetFrame_SetFrameOptions 10 int
#comfunc global ITargetFrame_GetFrameOptions 11 var
#comfunc global ITargetFrame_SetFrameMargins 12 int,int
#comfunc global ITargetFrame_GetFrameMargins 13 var,var
#comfunc global ITargetFrame_RemoteNavigate 14 int,var
#comfunc global ITargetFrame_OnChildFrameActivate 15 sptr
#comfunc global ITargetFrame_OnChildFrameDeactivate 16 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ITargetFrame "{D5F78C80-5252-11CF-90FA-00AA0042106E}"
#usecom global ITargetFrame IID_ITargetFrame "{}"
#comfunc global ITargetFrame_SetFrameName 3 wstr
#comfunc global ITargetFrame_GetFrameName 4 sptr
#comfunc global ITargetFrame_GetParentFrame 5 sptr
#comfunc global ITargetFrame_FindFrame 6 wstr,sptr,int,sptr
#comfunc global ITargetFrame_SetFrameSrc 7 wstr
#comfunc global ITargetFrame_GetFrameSrc 8 sptr
#comfunc global ITargetFrame_GetFramesContainer 9 sptr
#comfunc global ITargetFrame_SetFrameOptions 10 int
#comfunc global ITargetFrame_GetFrameOptions 11 sptr
#comfunc global ITargetFrame_SetFrameMargins 12 int,int
#comfunc global ITargetFrame_GetFrameMargins 13 sptr,sptr
#comfunc global ITargetFrame_RemoteNavigate 14 int,sptr
#comfunc global ITargetFrame_OnChildFrameActivate 15 sptr
#comfunc global ITargetFrame_OnChildFrameDeactivate 16 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。