#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IStorageProviderBanners "{5EFB46D7-47C0-4B68-ACDA-DED47C90EC91}"
#usecom global IStorageProviderBanners IID_IStorageProviderBanners "{7CCDF9F4-E576-455A-8BC7-F6EC68D6F063}"
#comfunc global IStorageProviderBanners_SetBanner 3 wstr,wstr,wstr
#comfunc global IStorageProviderBanners_ClearBanner 4 wstr,wstr
#comfunc global IStorageProviderBanners_ClearAllBanners 5 wstr
#comfunc global IStorageProviderBanners_GetBanner 6 wstr,wstr,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IStorageProviderBanners "{5EFB46D7-47C0-4B68-ACDA-DED47C90EC91}"
#usecom global IStorageProviderBanners IID_IStorageProviderBanners "{7CCDF9F4-E576-455A-8BC7-F6EC68D6F063}"
#comfunc global IStorageProviderBanners_SetBanner 3 wstr,wstr,wstr
#comfunc global IStorageProviderBanners_ClearBanner 4 wstr,wstr
#comfunc global IStorageProviderBanners_ClearAllBanners 5 wstr
#comfunc global IStorageProviderBanners_GetBanner 6 wstr,wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。