#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IIsdbSIParameterDescriptor "{F837DC36-867C-426A-9111-F62093951A45}"
#usecom global IIsdbSIParameterDescriptor IID_IIsdbSIParameterDescriptor "{}"
#comfunc global IIsdbSIParameterDescriptor_GetTag 3 var
#comfunc global IIsdbSIParameterDescriptor_GetLength 4 var
#comfunc global IIsdbSIParameterDescriptor_GetParameterVersion 5 var
#comfunc global IIsdbSIParameterDescriptor_GetUpdateTime 6 var
#comfunc global IIsdbSIParameterDescriptor_GetRecordNumberOfTable 7 var
#comfunc global IIsdbSIParameterDescriptor_GetTableId 8 int,var
#comfunc global IIsdbSIParameterDescriptor_GetTableDescriptionLength 9 int,var
#comfunc global IIsdbSIParameterDescriptor_GetTableDescriptionBytes 10 int,var,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IIsdbSIParameterDescriptor "{F837DC36-867C-426A-9111-F62093951A45}"
#usecom global IIsdbSIParameterDescriptor IID_IIsdbSIParameterDescriptor "{}"
#comfunc global IIsdbSIParameterDescriptor_GetTag 3 sptr
#comfunc global IIsdbSIParameterDescriptor_GetLength 4 sptr
#comfunc global IIsdbSIParameterDescriptor_GetParameterVersion 5 sptr
#comfunc global IIsdbSIParameterDescriptor_GetUpdateTime 6 sptr
#comfunc global IIsdbSIParameterDescriptor_GetRecordNumberOfTable 7 sptr
#comfunc global IIsdbSIParameterDescriptor_GetTableId 8 int,sptr
#comfunc global IIsdbSIParameterDescriptor_GetTableDescriptionLength 9 int,sptr
#comfunc global IIsdbSIParameterDescriptor_GetTableDescriptionBytes 10 int,sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。