#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IXFeedFolder "{4C963678-3A51-4B88-8531-98B90B6508F2}"
#usecom global IXFeedFolder IID_IXFeedFolder "{}"
#comfunc global IXFeedFolder_Feeds 3 sptr
#comfunc global IXFeedFolder_Subfolders 4 sptr
#comfunc global IXFeedFolder_CreateFeed 5 wstr,wstr,var,sptr
#comfunc global IXFeedFolder_CreateSubfolder 6 wstr,var,sptr
#comfunc global IXFeedFolder_ExistsFeed 7 wstr,var
#comfunc global IXFeedFolder_ExistsSubfolder 8 wstr,var
#comfunc global IXFeedFolder_GetFeed 9 wstr,var,sptr
#comfunc global IXFeedFolder_GetSubfolder 10 wstr,var,sptr
#comfunc global IXFeedFolder_Delete 11
#comfunc global IXFeedFolder_Name 12 var
#comfunc global IXFeedFolder_Rename 13 wstr
#comfunc global IXFeedFolder_Path 14 var
#comfunc global IXFeedFolder_Move 15 wstr
#comfunc global IXFeedFolder_Parent 16 var,sptr
#comfunc global IXFeedFolder_IsRoot 17 var
#comfunc global IXFeedFolder_GetWatcher 18 int,int,var,sptr
#comfunc global IXFeedFolder_TotalUnreadItemCount 19 var
#comfunc global IXFeedFolder_TotalItemCount 20 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IXFeedFolder "{4C963678-3A51-4B88-8531-98B90B6508F2}"
#usecom global IXFeedFolder IID_IXFeedFolder "{}"
#comfunc global IXFeedFolder_Feeds 3 sptr
#comfunc global IXFeedFolder_Subfolders 4 sptr
#comfunc global IXFeedFolder_CreateFeed 5 wstr,wstr,sptr,sptr
#comfunc global IXFeedFolder_CreateSubfolder 6 wstr,sptr,sptr
#comfunc global IXFeedFolder_ExistsFeed 7 wstr,sptr
#comfunc global IXFeedFolder_ExistsSubfolder 8 wstr,sptr
#comfunc global IXFeedFolder_GetFeed 9 wstr,sptr,sptr
#comfunc global IXFeedFolder_GetSubfolder 10 wstr,sptr,sptr
#comfunc global IXFeedFolder_Delete 11
#comfunc global IXFeedFolder_Name 12 sptr
#comfunc global IXFeedFolder_Rename 13 wstr
#comfunc global IXFeedFolder_Path 14 sptr
#comfunc global IXFeedFolder_Move 15 wstr
#comfunc global IXFeedFolder_Parent 16 sptr,sptr
#comfunc global IXFeedFolder_IsRoot 17 sptr
#comfunc global IXFeedFolder_GetWatcher 18 int,int,sptr,sptr
#comfunc global IXFeedFolder_TotalUnreadItemCount 19 sptr
#comfunc global IXFeedFolder_TotalItemCount 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。