#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IWMMutualExclusion2 "{0302B57D-89D1-4BA2-85C9-166F2C53EB91}"
#usecom global IWMMutualExclusion2 IID_IWMMutualExclusion2 "{}"
#comfunc global IWMMutualExclusion2_GetName 8 var,var
#comfunc global IWMMutualExclusion2_SetName 9 wstr
#comfunc global IWMMutualExclusion2_GetRecordCount 10 var
#comfunc global IWMMutualExclusion2_AddRecord 11
#comfunc global IWMMutualExclusion2_RemoveRecord 12 int
#comfunc global IWMMutualExclusion2_GetRecordName 13 int,var,var
#comfunc global IWMMutualExclusion2_SetRecordName 14 int,wstr
#comfunc global IWMMutualExclusion2_GetStreamsForRecord 15 int,var,var
#comfunc global IWMMutualExclusion2_AddStreamForRecord 16 int,int
#comfunc global IWMMutualExclusion2_RemoveStreamForRecord 17 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IWMMutualExclusion2 "{0302B57D-89D1-4BA2-85C9-166F2C53EB91}"
#usecom global IWMMutualExclusion2 IID_IWMMutualExclusion2 "{}"
#comfunc global IWMMutualExclusion2_GetName 8 sptr,sptr
#comfunc global IWMMutualExclusion2_SetName 9 wstr
#comfunc global IWMMutualExclusion2_GetRecordCount 10 sptr
#comfunc global IWMMutualExclusion2_AddRecord 11
#comfunc global IWMMutualExclusion2_RemoveRecord 12 int
#comfunc global IWMMutualExclusion2_GetRecordName 13 int,sptr,sptr
#comfunc global IWMMutualExclusion2_SetRecordName 14 int,wstr
#comfunc global IWMMutualExclusion2_GetStreamsForRecord 15 int,sptr,sptr
#comfunc global IWMMutualExclusion2_AddStreamForRecord 16 int,int
#comfunc global IWMMutualExclusion2_RemoveStreamForRecord 17 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。