#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IWiaPropertyStorage "{98B5E8A0-29CC-491A-AAC0-E6DB4FDCCEB6}"
#usecom global IWiaPropertyStorage IID_IWiaPropertyStorage "{}"
#comfunc global IWiaPropertyStorage_ReadMultiple 3 int,var,var
#comfunc global IWiaPropertyStorage_WriteMultiple 4 int,var,var,int
#comfunc global IWiaPropertyStorage_DeleteMultiple 5 int,var
#comfunc global IWiaPropertyStorage_ReadPropertyNames 6 int,var,var
#comfunc global IWiaPropertyStorage_WritePropertyNames 7 int,var,var
#comfunc global IWiaPropertyStorage_DeletePropertyNames 8 int,var
#comfunc global IWiaPropertyStorage_Commit 9 int
#comfunc global IWiaPropertyStorage_Revert 10
#comfunc global IWiaPropertyStorage_Enum 11 sptr
#comfunc global IWiaPropertyStorage_SetTimes 12 var,var,var
#comfunc global IWiaPropertyStorage_SetClass 13 var
#comfunc global IWiaPropertyStorage_Stat 14 var
#comfunc global IWiaPropertyStorage_GetPropertyAttributes 15 int,var,var,var
#comfunc global IWiaPropertyStorage_GetCount 16 var
#comfunc global IWiaPropertyStorage_GetPropertyStream 17 var,sptr
#comfunc global IWiaPropertyStorage_SetPropertyStream 18 var,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IWiaPropertyStorage "{98B5E8A0-29CC-491A-AAC0-E6DB4FDCCEB6}"
#usecom global IWiaPropertyStorage IID_IWiaPropertyStorage "{}"
#comfunc global IWiaPropertyStorage_ReadMultiple 3 int,sptr,sptr
#comfunc global IWiaPropertyStorage_WriteMultiple 4 int,sptr,sptr,int
#comfunc global IWiaPropertyStorage_DeleteMultiple 5 int,sptr
#comfunc global IWiaPropertyStorage_ReadPropertyNames 6 int,sptr,sptr
#comfunc global IWiaPropertyStorage_WritePropertyNames 7 int,sptr,sptr
#comfunc global IWiaPropertyStorage_DeletePropertyNames 8 int,sptr
#comfunc global IWiaPropertyStorage_Commit 9 int
#comfunc global IWiaPropertyStorage_Revert 10
#comfunc global IWiaPropertyStorage_Enum 11 sptr
#comfunc global IWiaPropertyStorage_SetTimes 12 sptr,sptr,sptr
#comfunc global IWiaPropertyStorage_SetClass 13 sptr
#comfunc global IWiaPropertyStorage_Stat 14 sptr
#comfunc global IWiaPropertyStorage_GetPropertyAttributes 15 int,sptr,sptr,sptr
#comfunc global IWiaPropertyStorage_GetCount 16 sptr
#comfunc global IWiaPropertyStorage_GetPropertyStream 17 sptr,sptr
#comfunc global IWiaPropertyStorage_SetPropertyStream 18 sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。