vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IFeedsManager "{A74029CC-1F1A-4906-88F0-810638D86591}"
#usecom global IFeedsManager IID_IFeedsManager "{FAEB54C4-F66F-4806-83A0-805299F5E3AD}"
#comfunc global IFeedsManager_get_RootFolder 7 sptr
#comfunc global IFeedsManager_IsSubscribed 8 wstr,var
#comfunc global IFeedsManager_ExistsFeed 9 wstr,var
#comfunc global IFeedsManager_GetFeed 10 wstr,sptr
#comfunc global IFeedsManager_GetFeedByUrl 11 wstr,sptr
#comfunc global IFeedsManager_ExistsFolder 12 wstr,var
#comfunc global IFeedsManager_GetFolder 13 wstr,sptr
#comfunc global IFeedsManager_DeleteFeed 14 wstr
#comfunc global IFeedsManager_DeleteFolder 15 wstr
#comfunc global IFeedsManager_BackgroundSync 16 int
#comfunc global IFeedsManager_get_BackgroundSyncStatus 17 var
#comfunc global IFeedsManager_get_DefaultInterval 18 var
#comfunc global IFeedsManager_put_DefaultInterval 19 int
#comfunc global IFeedsManager_AsyncSyncAll 20
#comfunc global IFeedsManager_Normalize 21 wstr,var
#comfunc global IFeedsManager_get_ItemCountLimit 22 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IFeedsManager "{A74029CC-1F1A-4906-88F0-810638D86591}"
#usecom global IFeedsManager IID_IFeedsManager "{FAEB54C4-F66F-4806-83A0-805299F5E3AD}"
#comfunc global IFeedsManager_get_RootFolder 7 sptr
#comfunc global IFeedsManager_IsSubscribed 8 wstr,sptr
#comfunc global IFeedsManager_ExistsFeed 9 wstr,sptr
#comfunc global IFeedsManager_GetFeed 10 wstr,sptr
#comfunc global IFeedsManager_GetFeedByUrl 11 wstr,sptr
#comfunc global IFeedsManager_ExistsFolder 12 wstr,sptr
#comfunc global IFeedsManager_GetFolder 13 wstr,sptr
#comfunc global IFeedsManager_DeleteFeed 14 wstr
#comfunc global IFeedsManager_DeleteFolder 15 wstr
#comfunc global IFeedsManager_BackgroundSync 16 int
#comfunc global IFeedsManager_get_BackgroundSyncStatus 17 sptr
#comfunc global IFeedsManager_get_DefaultInterval 18 sptr
#comfunc global IFeedsManager_put_DefaultInterval 19 int
#comfunc global IFeedsManager_AsyncSyncAll 20
#comfunc global IFeedsManager_Normalize 21 wstr,sptr
#comfunc global IFeedsManager_get_ItemCountLimit 22 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。