#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IIsdbEventGroupDescriptor "{94B06780-2E2A-44DC-A966-CC56FDABC6C2}"
#usecom global IIsdbEventGroupDescriptor IID_IIsdbEventGroupDescriptor "{}"
#comfunc global IIsdbEventGroupDescriptor_GetTag 3 var
#comfunc global IIsdbEventGroupDescriptor_GetLength 4 var
#comfunc global IIsdbEventGroupDescriptor_GetGroupType 5 var
#comfunc global IIsdbEventGroupDescriptor_GetCountOfRecords 6 var
#comfunc global IIsdbEventGroupDescriptor_GetRecordEvent 7 int,var,var
#comfunc global IIsdbEventGroupDescriptor_GetCountOfRefRecords 8 var
#comfunc global IIsdbEventGroupDescriptor_GetRefRecordEvent 9 int,var,var,var,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IIsdbEventGroupDescriptor "{94B06780-2E2A-44DC-A966-CC56FDABC6C2}"
#usecom global IIsdbEventGroupDescriptor IID_IIsdbEventGroupDescriptor "{}"
#comfunc global IIsdbEventGroupDescriptor_GetTag 3 sptr
#comfunc global IIsdbEventGroupDescriptor_GetLength 4 sptr
#comfunc global IIsdbEventGroupDescriptor_GetGroupType 5 sptr
#comfunc global IIsdbEventGroupDescriptor_GetCountOfRecords 6 sptr
#comfunc global IIsdbEventGroupDescriptor_GetRecordEvent 7 int,sptr,sptr
#comfunc global IIsdbEventGroupDescriptor_GetCountOfRefRecords 8 sptr
#comfunc global IIsdbEventGroupDescriptor_GetRefRecordEvent 9 int,sptr,sptr,sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。