#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IWMProfile "{96406BDB-2B2B-11D3-B36B-00C04F6108FF}"
#usecom global IWMProfile IID_IWMProfile "{}"
#comfunc global IWMProfile_GetVersion 3 var
#comfunc global IWMProfile_GetName 4 var,var
#comfunc global IWMProfile_SetName 5 wstr
#comfunc global IWMProfile_GetDescription 6 var,var
#comfunc global IWMProfile_SetDescription 7 wstr
#comfunc global IWMProfile_GetStreamCount 8 var
#comfunc global IWMProfile_GetStream 9 int,sptr
#comfunc global IWMProfile_GetStreamByNumber 10 int,sptr
#comfunc global IWMProfile_RemoveStream 11 sptr
#comfunc global IWMProfile_RemoveStreamByNumber 12 int
#comfunc global IWMProfile_AddStream 13 sptr
#comfunc global IWMProfile_ReconfigStream 14 sptr
#comfunc global IWMProfile_CreateNewStream 15 var,sptr
#comfunc global IWMProfile_GetMutualExclusionCount 16 var
#comfunc global IWMProfile_GetMutualExclusion 17 int,sptr
#comfunc global IWMProfile_RemoveMutualExclusion 18 sptr
#comfunc global IWMProfile_AddMutualExclusion 19 sptr
#comfunc global IWMProfile_CreateNewMutualExclusion 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IWMProfile "{96406BDB-2B2B-11D3-B36B-00C04F6108FF}"
#usecom global IWMProfile IID_IWMProfile "{}"
#comfunc global IWMProfile_GetVersion 3 sptr
#comfunc global IWMProfile_GetName 4 sptr,sptr
#comfunc global IWMProfile_SetName 5 wstr
#comfunc global IWMProfile_GetDescription 6 sptr,sptr
#comfunc global IWMProfile_SetDescription 7 wstr
#comfunc global IWMProfile_GetStreamCount 8 sptr
#comfunc global IWMProfile_GetStream 9 int,sptr
#comfunc global IWMProfile_GetStreamByNumber 10 int,sptr
#comfunc global IWMProfile_RemoveStream 11 sptr
#comfunc global IWMProfile_RemoveStreamByNumber 12 int
#comfunc global IWMProfile_AddStream 13 sptr
#comfunc global IWMProfile_ReconfigStream 14 sptr
#comfunc global IWMProfile_CreateNewStream 15 sptr,sptr
#comfunc global IWMProfile_GetMutualExclusionCount 16 sptr
#comfunc global IWMProfile_GetMutualExclusion 17 int,sptr
#comfunc global IWMProfile_RemoveMutualExclusion 18 sptr
#comfunc global IWMProfile_AddMutualExclusion 19 sptr
#comfunc global IWMProfile_CreateNewMutualExclusion 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。