#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IMbnSmsEvents "{DCBBBAB6-2016-4BBB-AAEE-338E368AF6FA}"
#usecom global IMbnSmsEvents IID_IMbnSmsEvents "{}"
#comfunc global IMbnSmsEvents_OnSmsConfigurationChange 3 sptr
#comfunc global IMbnSmsEvents_OnSetSmsConfigurationComplete 4 sptr,int,int
#comfunc global IMbnSmsEvents_OnSmsSendComplete 5 sptr,int,int
#comfunc global IMbnSmsEvents_OnSmsReadComplete 6 sptr,int,var,int,int,int
#comfunc global IMbnSmsEvents_OnSmsNewClass0Message 7 sptr,int,var
#comfunc global IMbnSmsEvents_OnSmsDeleteComplete 8 sptr,int,int
#comfunc global IMbnSmsEvents_OnSmsStatusChange 9 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IMbnSmsEvents "{DCBBBAB6-2016-4BBB-AAEE-338E368AF6FA}"
#usecom global IMbnSmsEvents IID_IMbnSmsEvents "{}"
#comfunc global IMbnSmsEvents_OnSmsConfigurationChange 3 sptr
#comfunc global IMbnSmsEvents_OnSetSmsConfigurationComplete 4 sptr,int,int
#comfunc global IMbnSmsEvents_OnSmsSendComplete 5 sptr,int,int
#comfunc global IMbnSmsEvents_OnSmsReadComplete 6 sptr,int,sptr,int,int,int
#comfunc global IMbnSmsEvents_OnSmsNewClass0Message 7 sptr,int,sptr
#comfunc global IMbnSmsEvents_OnSmsDeleteComplete 8 sptr,int,int
#comfunc global IMbnSmsEvents_OnSmsStatusChange 9 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。