#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IRichEditOle "{00020D00-0000-0000-C000-000000000046}"
#usecom global IRichEditOle IID_IRichEditOle "{}"
#comfunc global IRichEditOle_GetClientSite 3 sptr
#comfunc global IRichEditOle_GetObjectCount 4
#comfunc global IRichEditOle_GetLinkCount 5
#comfunc global IRichEditOle_GetObject 6 int,var,int
#comfunc global IRichEditOle_InsertObject 7 var
#comfunc global IRichEditOle_ConvertObject 8 int,var,str
#comfunc global IRichEditOle_ActivateAs 9 var,var
#comfunc global IRichEditOle_SetHostNames 10 str,str
#comfunc global IRichEditOle_SetLinkAvailable 11 int,int
#comfunc global IRichEditOle_SetDvaspect 12 int,int
#comfunc global IRichEditOle_HandsOffStorage 13 int
#comfunc global IRichEditOle_SaveCompleted 14 int,sptr
#comfunc global IRichEditOle_InPlaceDeactivate 15
#comfunc global IRichEditOle_ContextSensitiveHelp 16 int
#comfunc global IRichEditOle_GetClipboardData 17 var,int,sptr
#comfunc global IRichEditOle_ImportDataObject 18 sptr,int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IRichEditOle "{00020D00-0000-0000-C000-000000000046}"
#usecom global IRichEditOle IID_IRichEditOle "{}"
#comfunc global IRichEditOle_GetClientSite 3 sptr
#comfunc global IRichEditOle_GetObjectCount 4
#comfunc global IRichEditOle_GetLinkCount 5
#comfunc global IRichEditOle_GetObject 6 int,sptr,int
#comfunc global IRichEditOle_InsertObject 7 sptr
#comfunc global IRichEditOle_ConvertObject 8 int,sptr,str
#comfunc global IRichEditOle_ActivateAs 9 sptr,sptr
#comfunc global IRichEditOle_SetHostNames 10 str,str
#comfunc global IRichEditOle_SetLinkAvailable 11 int,int
#comfunc global IRichEditOle_SetDvaspect 12 int,int
#comfunc global IRichEditOle_HandsOffStorage 13 int
#comfunc global IRichEditOle_SaveCompleted 14 int,sptr
#comfunc global IRichEditOle_InPlaceDeactivate 15
#comfunc global IRichEditOle_ContextSensitiveHelp 16 int
#comfunc global IRichEditOle_GetClipboardData 17 sptr,int,sptr
#comfunc global IRichEditOle_ImportDataObject 18 sptr,int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。