#define global IID_IDirectSoundBuffer "{279AFA85-4981-11CE-A521-0020AF0BE560}"
#usecom global IDirectSoundBuffer IID_IDirectSoundBuffer "{}"
#comfunc global IDirectSoundBuffer_GetCaps 3 var
#comfunc global IDirectSoundBuffer_GetCurrentPosition 4 var,var
#comfunc global IDirectSoundBuffer_GetFormat 5 var,int,var
#comfunc global IDirectSoundBuffer_GetVolume 6 var
#comfunc global IDirectSoundBuffer_GetPan 7 var
#comfunc global IDirectSoundBuffer_GetFrequency 8 var
#comfunc global IDirectSoundBuffer_GetStatus 9 var
#comfunc global IDirectSoundBuffer_Initialize 10 sptr,var
#comfunc global IDirectSoundBuffer_Lock 11 int,int,sptr,var,sptr,var,int
#comfunc global IDirectSoundBuffer_Play 12 int,int,int
#comfunc global IDirectSoundBuffer_SetCurrentPosition 13 int
#comfunc global IDirectSoundBuffer_SetFormat 14 var
#comfunc global IDirectSoundBuffer_SetVolume 15 int
#comfunc global IDirectSoundBuffer_SetPan 16 int
#comfunc global IDirectSoundBuffer_SetFrequency 17 int
#comfunc global IDirectSoundBuffer_Stop 18
#comfunc global IDirectSoundBuffer_Unlock 19 sptr,int,sptr,int
#comfunc global IDirectSoundBuffer_Restore 20
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDirectSoundBuffer "{279AFA85-4981-11CE-A521-0020AF0BE560}"
#usecom global IDirectSoundBuffer IID_IDirectSoundBuffer "{}"
#comfunc global IDirectSoundBuffer_GetCaps 3 sptr
#comfunc global IDirectSoundBuffer_GetCurrentPosition 4 sptr,sptr
#comfunc global IDirectSoundBuffer_GetFormat 5 sptr,int,sptr
#comfunc global IDirectSoundBuffer_GetVolume 6 sptr
#comfunc global IDirectSoundBuffer_GetPan 7 sptr
#comfunc global IDirectSoundBuffer_GetFrequency 8 sptr
#comfunc global IDirectSoundBuffer_GetStatus 9 sptr
#comfunc global IDirectSoundBuffer_Initialize 10 sptr,sptr
#comfunc global IDirectSoundBuffer_Lock 11 int,int,sptr,sptr,sptr,sptr,int
#comfunc global IDirectSoundBuffer_Play 12 int,int,int
#comfunc global IDirectSoundBuffer_SetCurrentPosition 13 int
#comfunc global IDirectSoundBuffer_SetFormat 14 sptr
#comfunc global IDirectSoundBuffer_SetVolume 15 int
#comfunc global IDirectSoundBuffer_SetPan 16 int
#comfunc global IDirectSoundBuffer_SetFrequency 17 int
#comfunc global IDirectSoundBuffer_Stop 18
#comfunc global IDirectSoundBuffer_Unlock 19 sptr,int,sptr,int
#comfunc global IDirectSoundBuffer_Restore 20
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。