#define global IID_ISpVoice "{6C44DF74-72B9-4992-A1EC-EF996E0422D4}"
#usecom global ISpVoice IID_ISpVoice "{96749377-3391-11D2-9EE3-00C04F797396}"
#comfunc global ISpVoice_SetOutput 13 sptr,int
#comfunc global ISpVoice_GetOutputObjectToken 14 sptr
#comfunc global ISpVoice_GetOutputStream 15 sptr
#comfunc global ISpVoice_Pause 16
#comfunc global ISpVoice_Resume 17
#comfunc global ISpVoice_SetVoice 18 sptr
#comfunc global ISpVoice_GetVoice 19 sptr
#comfunc global ISpVoice_Speak 20 wstr,int,var
#comfunc global ISpVoice_SpeakStream 21 sptr,int,var
#comfunc global ISpVoice_GetStatus 22 var,var
#comfunc global ISpVoice_Skip 23 wstr,int,var
#comfunc global ISpVoice_SetPriority 24 int
#comfunc global ISpVoice_GetPriority 25 var
#comfunc global ISpVoice_SetAlertBoundary 26 int
#comfunc global ISpVoice_GetAlertBoundary 27 var
#comfunc global ISpVoice_SetRate 28 int
#comfunc global ISpVoice_GetRate 29 var
#comfunc global ISpVoice_SetVolume 30 int
#comfunc global ISpVoice_GetVolume 31 var
#comfunc global ISpVoice_WaitUntilDone 32 int
#comfunc global ISpVoice_SetSyncSpeakTimeout 33 int
#comfunc global ISpVoice_GetSyncSpeakTimeout 34 var
#comfunc global ISpVoice_SpeakCompleteEvent 35
#comfunc global ISpVoice_IsUISupported 36 wstr,sptr,int,var
#comfunc global ISpVoice_DisplayUI 37 sptr,wstr,wstr,sptr,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ISpVoice "{6C44DF74-72B9-4992-A1EC-EF996E0422D4}"
#usecom global ISpVoice IID_ISpVoice "{96749377-3391-11D2-9EE3-00C04F797396}"
#comfunc global ISpVoice_SetOutput 13 sptr,int
#comfunc global ISpVoice_GetOutputObjectToken 14 sptr
#comfunc global ISpVoice_GetOutputStream 15 sptr
#comfunc global ISpVoice_Pause 16
#comfunc global ISpVoice_Resume 17
#comfunc global ISpVoice_SetVoice 18 sptr
#comfunc global ISpVoice_GetVoice 19 sptr
#comfunc global ISpVoice_Speak 20 wstr,int,sptr
#comfunc global ISpVoice_SpeakStream 21 sptr,int,sptr
#comfunc global ISpVoice_GetStatus 22 sptr,sptr
#comfunc global ISpVoice_Skip 23 wstr,int,sptr
#comfunc global ISpVoice_SetPriority 24 int
#comfunc global ISpVoice_GetPriority 25 sptr
#comfunc global ISpVoice_SetAlertBoundary 26 int
#comfunc global ISpVoice_GetAlertBoundary 27 sptr
#comfunc global ISpVoice_SetRate 28 int
#comfunc global ISpVoice_GetRate 29 sptr
#comfunc global ISpVoice_SetVolume 30 int
#comfunc global ISpVoice_GetVolume 31 sptr
#comfunc global ISpVoice_WaitUntilDone 32 int
#comfunc global ISpVoice_SetSyncSpeakTimeout 33 int
#comfunc global ISpVoice_GetSyncSpeakTimeout 34 sptr
#comfunc global ISpVoice_SpeakCompleteEvent 35
#comfunc global ISpVoice_IsUISupported 36 wstr,sptr,int,sptr
#comfunc global ISpVoice_DisplayUI 37 sptr,wstr,wstr,sptr,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。