#define global IID_IDirectMusicSynth "{09823661-5C85-11D2-AFA6-00AA0024D8B6}"
#usecom global IDirectMusicSynth IID_IDirectMusicSynth "{58C2B4D0-46E7-11D1-89AC-00A0C9054129}"
#comfunc global IDirectMusicSynth_Open 3 var
#comfunc global IDirectMusicSynth_Close 4
#comfunc global IDirectMusicSynth_SetNumChannelGroups 5 int
#comfunc global IDirectMusicSynth_Download 6 sptr,sptr,var
#comfunc global IDirectMusicSynth_Unload 7 sptr,sptr,sptr
#comfunc global IDirectMusicSynth_PlayBuffer 8 int64,var,int
#comfunc global IDirectMusicSynth_GetRunningStats 9 var
#comfunc global IDirectMusicSynth_GetPortCaps 10 var
#comfunc global IDirectMusicSynth_SetMasterClock 11 sptr
#comfunc global IDirectMusicSynth_GetLatencyClock 12 sptr
#comfunc global IDirectMusicSynth_Activate 13 int
#comfunc global IDirectMusicSynth_SetSynthSink 14 sptr
#comfunc global IDirectMusicSynth_Render 15 var,int,int64
#comfunc global IDirectMusicSynth_SetChannelPriority 16 int,int,int
#comfunc global IDirectMusicSynth_GetChannelPriority 17 int,int,var
#comfunc global IDirectMusicSynth_GetFormat 18 var,var
#comfunc global IDirectMusicSynth_GetAppend 19 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IDirectMusicSynth "{09823661-5C85-11D2-AFA6-00AA0024D8B6}"
#usecom global IDirectMusicSynth IID_IDirectMusicSynth "{58C2B4D0-46E7-11D1-89AC-00A0C9054129}"
#comfunc global IDirectMusicSynth_Open 3 sptr
#comfunc global IDirectMusicSynth_Close 4
#comfunc global IDirectMusicSynth_SetNumChannelGroups 5 int
#comfunc global IDirectMusicSynth_Download 6 sptr,sptr,sptr
#comfunc global IDirectMusicSynth_Unload 7 sptr,sptr,sptr
#comfunc global IDirectMusicSynth_PlayBuffer 8 int64,sptr,int
#comfunc global IDirectMusicSynth_GetRunningStats 9 sptr
#comfunc global IDirectMusicSynth_GetPortCaps 10 sptr
#comfunc global IDirectMusicSynth_SetMasterClock 11 sptr
#comfunc global IDirectMusicSynth_GetLatencyClock 12 sptr
#comfunc global IDirectMusicSynth_Activate 13 int
#comfunc global IDirectMusicSynth_SetSynthSink 14 sptr
#comfunc global IDirectMusicSynth_Render 15 sptr,int,int64
#comfunc global IDirectMusicSynth_SetChannelPriority 16 int,int,int
#comfunc global IDirectMusicSynth_GetChannelPriority 17 int,int,sptr
#comfunc global IDirectMusicSynth_GetFormat 18 sptr,sptr
#comfunc global IDirectMusicSynth_GetAppend 19 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。