#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IVisualTreeService "{A593B11A-D17F-48BB-8F66-83910731C8A5}"
#usecom global IVisualTreeService IID_IVisualTreeService "{}"
#comfunc global IVisualTreeService_AdviseVisualTreeChange 3 sptr
#comfunc global IVisualTreeService_UnadviseVisualTreeChange 4 sptr
#comfunc global IVisualTreeService_GetEnums 5 var,var
#comfunc global IVisualTreeService_CreateInstance 6 wstr,wstr,var
#comfunc global IVisualTreeService_GetPropertyValuesChain 7 int64,var,var,var,var
#comfunc global IVisualTreeService_SetProperty 8 int64,int64,int
#comfunc global IVisualTreeService_ClearProperty 9 int64,int
#comfunc global IVisualTreeService_GetCollectionCount 10 int64,var
#comfunc global IVisualTreeService_GetCollectionElements 11 int64,int,var,var
#comfunc global IVisualTreeService_AddChild 12 int64,int64,int
#comfunc global IVisualTreeService_RemoveChild 13 int64,int
#comfunc global IVisualTreeService_ClearChildren 14 int64
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IVisualTreeService "{A593B11A-D17F-48BB-8F66-83910731C8A5}"
#usecom global IVisualTreeService IID_IVisualTreeService "{}"
#comfunc global IVisualTreeService_AdviseVisualTreeChange 3 sptr
#comfunc global IVisualTreeService_UnadviseVisualTreeChange 4 sptr
#comfunc global IVisualTreeService_GetEnums 5 sptr,sptr
#comfunc global IVisualTreeService_CreateInstance 6 wstr,wstr,sptr
#comfunc global IVisualTreeService_GetPropertyValuesChain 7 int64,sptr,sptr,sptr,sptr
#comfunc global IVisualTreeService_SetProperty 8 int64,int64,int
#comfunc global IVisualTreeService_ClearProperty 9 int64,int
#comfunc global IVisualTreeService_GetCollectionCount 10 int64,sptr
#comfunc global IVisualTreeService_GetCollectionElements 11 int64,int,sptr,sptr
#comfunc global IVisualTreeService_AddChild 12 int64,int64,int
#comfunc global IVisualTreeService_RemoveChild 13 int64,int
#comfunc global IVisualTreeService_ClearChildren 14 int64
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。