#define global IID_ISpeechTextSelectionInformation "{3B9C7E7A-6EEE-4DED-9092-11657279ADBE}"
#usecom global ISpeechTextSelectionInformation IID_ISpeechTextSelectionInformation "{}"
#comfunc global ISpeechTextSelectionInformation_put_ActiveOffset 7 int
#comfunc global ISpeechTextSelectionInformation_get_ActiveOffset 8 var
#comfunc global ISpeechTextSelectionInformation_put_ActiveLength 9 int
#comfunc global ISpeechTextSelectionInformation_get_ActiveLength 10 var
#comfunc global ISpeechTextSelectionInformation_put_SelectionOffset 11 int
#comfunc global ISpeechTextSelectionInformation_get_SelectionOffset 12 var
#comfunc global ISpeechTextSelectionInformation_put_SelectionLength 13 int
#comfunc global ISpeechTextSelectionInformation_get_SelectionLength 14 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ISpeechTextSelectionInformation "{3B9C7E7A-6EEE-4DED-9092-11657279ADBE}"
#usecom global ISpeechTextSelectionInformation IID_ISpeechTextSelectionInformation "{}"
#comfunc global ISpeechTextSelectionInformation_put_ActiveOffset 7 int
#comfunc global ISpeechTextSelectionInformation_get_ActiveOffset 8 sptr
#comfunc global ISpeechTextSelectionInformation_put_ActiveLength 9 int
#comfunc global ISpeechTextSelectionInformation_get_ActiveLength 10 sptr
#comfunc global ISpeechTextSelectionInformation_put_SelectionOffset 11 int
#comfunc global ISpeechTextSelectionInformation_get_SelectionOffset 12 sptr
#comfunc global ISpeechTextSelectionInformation_put_SelectionLength 13 int
#comfunc global ISpeechTextSelectionInformation_get_SelectionLength 14 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。