#define global IID_IWMStreamConfig "{96406BDC-2B2B-11D3-B36B-00C04F6108FF}"
#usecom global IWMStreamConfig IID_IWMStreamConfig "{}"
#comfunc global IWMStreamConfig_GetStreamType 3 var
#comfunc global IWMStreamConfig_GetStreamNumber 4 var
#comfunc global IWMStreamConfig_SetStreamNumber 5 int
#comfunc global IWMStreamConfig_GetStreamName 6 var,var
#comfunc global IWMStreamConfig_SetStreamName 7 wstr
#comfunc global IWMStreamConfig_GetConnectionName 8 var,var
#comfunc global IWMStreamConfig_SetConnectionName 9 wstr
#comfunc global IWMStreamConfig_GetBitrate 10 var
#comfunc global IWMStreamConfig_SetBitrate 11 int
#comfunc global IWMStreamConfig_GetBufferWindow 12 var
#comfunc global IWMStreamConfig_SetBufferWindow 13 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IWMStreamConfig "{96406BDC-2B2B-11D3-B36B-00C04F6108FF}"
#usecom global IWMStreamConfig IID_IWMStreamConfig "{}"
#comfunc global IWMStreamConfig_GetStreamType 3 sptr
#comfunc global IWMStreamConfig_GetStreamNumber 4 sptr
#comfunc global IWMStreamConfig_SetStreamNumber 5 int
#comfunc global IWMStreamConfig_GetStreamName 6 sptr,sptr
#comfunc global IWMStreamConfig_SetStreamName 7 wstr
#comfunc global IWMStreamConfig_GetConnectionName 8 sptr,sptr
#comfunc global IWMStreamConfig_SetConnectionName 9 wstr
#comfunc global IWMStreamConfig_GetBitrate 10 sptr
#comfunc global IWMStreamConfig_SetBitrate 11 int
#comfunc global IWMStreamConfig_GetBufferWindow 12 sptr
#comfunc global IWMStreamConfig_SetBufferWindow 13 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。