vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IFeedFolderEvents "{20A59FA6-A844-4630-9E98-175F70B4D55B}"
#usecom global IFeedFolderEvents IID_IFeedFolderEvents "{}"
#comfunc global IFeedFolderEvents_Error 7
#comfunc global IFeedFolderEvents_FolderAdded 8 wstr
#comfunc global IFeedFolderEvents_FolderDeleted 9 wstr
#comfunc global IFeedFolderEvents_FolderRenamed 10 wstr,wstr
#comfunc global IFeedFolderEvents_FolderMovedFrom 11 wstr,wstr
#comfunc global IFeedFolderEvents_FolderMovedTo 12 wstr,wstr
#comfunc global IFeedFolderEvents_FolderItemCountChanged 13 wstr,int
#comfunc global IFeedFolderEvents_FeedAdded 14 wstr
#comfunc global IFeedFolderEvents_FeedDeleted 15 wstr
#comfunc global IFeedFolderEvents_FeedRenamed 16 wstr,wstr
#comfunc global IFeedFolderEvents_FeedUrlChanged 17 wstr
#comfunc global IFeedFolderEvents_FeedMovedFrom 18 wstr,wstr
#comfunc global IFeedFolderEvents_FeedMovedTo 19 wstr,wstr
#comfunc global IFeedFolderEvents_FeedDownloading 20 wstr
#comfunc global IFeedFolderEvents_FeedDownloadCompleted 21 wstr,int
#comfunc global IFeedFolderEvents_FeedItemCountChanged 22 wstr,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。