#define global IID_ISpeechWaveFormatEx "{7A1EF0D5-1581-4741-88E4-209A49F11A10}"
#usecom global ISpeechWaveFormatEx IID_ISpeechWaveFormatEx "{}"
#comfunc global ISpeechWaveFormatEx_get_FormatTag 7 var
#comfunc global ISpeechWaveFormatEx_put_FormatTag 8 int
#comfunc global ISpeechWaveFormatEx_get_Channels 9 var
#comfunc global ISpeechWaveFormatEx_put_Channels 10 int
#comfunc global ISpeechWaveFormatEx_get_SamplesPerSec 11 var
#comfunc global ISpeechWaveFormatEx_put_SamplesPerSec 12 int
#comfunc global ISpeechWaveFormatEx_get_AvgBytesPerSec 13 var
#comfunc global ISpeechWaveFormatEx_put_AvgBytesPerSec 14 int
#comfunc global ISpeechWaveFormatEx_get_BlockAlign 15 var
#comfunc global ISpeechWaveFormatEx_put_BlockAlign 16 int
#comfunc global ISpeechWaveFormatEx_get_BitsPerSample 17 var
#comfunc global ISpeechWaveFormatEx_put_BitsPerSample 18 int
#comfunc global ISpeechWaveFormatEx_get_ExtraData 19 var
#comfunc global ISpeechWaveFormatEx_put_ExtraData 20 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ISpeechWaveFormatEx "{7A1EF0D5-1581-4741-88E4-209A49F11A10}"
#usecom global ISpeechWaveFormatEx IID_ISpeechWaveFormatEx "{}"
#comfunc global ISpeechWaveFormatEx_get_FormatTag 7 sptr
#comfunc global ISpeechWaveFormatEx_put_FormatTag 8 int
#comfunc global ISpeechWaveFormatEx_get_Channels 9 sptr
#comfunc global ISpeechWaveFormatEx_put_Channels 10 int
#comfunc global ISpeechWaveFormatEx_get_SamplesPerSec 11 sptr
#comfunc global ISpeechWaveFormatEx_put_SamplesPerSec 12 int
#comfunc global ISpeechWaveFormatEx_get_AvgBytesPerSec 13 sptr
#comfunc global ISpeechWaveFormatEx_put_AvgBytesPerSec 14 int
#comfunc global ISpeechWaveFormatEx_get_BlockAlign 15 sptr
#comfunc global ISpeechWaveFormatEx_put_BlockAlign 16 int
#comfunc global ISpeechWaveFormatEx_get_BitsPerSample 17 sptr
#comfunc global ISpeechWaveFormatEx_put_BitsPerSample 18 int
#comfunc global ISpeechWaveFormatEx_get_ExtraData 19 sptr
#comfunc global ISpeechWaveFormatEx_put_ExtraData 20 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。