#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ISpellChecker "{B6FD0B71-E2BC-4653-8D05-F197E412770B}"
#usecom global ISpellChecker IID_ISpellChecker "{}"
#comfunc global ISpellChecker_get_LanguageTag 3 var
#comfunc global ISpellChecker_Check 4 wstr,sptr
#comfunc global ISpellChecker_Suggest 5 wstr,sptr
#comfunc global ISpellChecker_Add 6 wstr
#comfunc global ISpellChecker_Ignore 7 wstr
#comfunc global ISpellChecker_AutoCorrect 8 wstr,wstr
#comfunc global ISpellChecker_GetOptionValue 9 wstr,var
#comfunc global ISpellChecker_get_OptionIds 10 sptr
#comfunc global ISpellChecker_get_Id 11 var
#comfunc global ISpellChecker_get_LocalizedName 12 var
#comfunc global ISpellChecker_add_SpellCheckerChanged 13 sptr,var
#comfunc global ISpellChecker_remove_SpellCheckerChanged 14 int
#comfunc global ISpellChecker_GetOptionDescription 15 wstr,sptr
#comfunc global ISpellChecker_ComprehensiveCheck 16 wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ISpellChecker "{B6FD0B71-E2BC-4653-8D05-F197E412770B}"
#usecom global ISpellChecker IID_ISpellChecker "{}"
#comfunc global ISpellChecker_get_LanguageTag 3 sptr
#comfunc global ISpellChecker_Check 4 wstr,sptr
#comfunc global ISpellChecker_Suggest 5 wstr,sptr
#comfunc global ISpellChecker_Add 6 wstr
#comfunc global ISpellChecker_Ignore 7 wstr
#comfunc global ISpellChecker_AutoCorrect 8 wstr,wstr
#comfunc global ISpellChecker_GetOptionValue 9 wstr,sptr
#comfunc global ISpellChecker_get_OptionIds 10 sptr
#comfunc global ISpellChecker_get_Id 11 sptr
#comfunc global ISpellChecker_get_LocalizedName 12 sptr
#comfunc global ISpellChecker_add_SpellCheckerChanged 13 sptr,sptr
#comfunc global ISpellChecker_remove_SpellCheckerChanged 14 int
#comfunc global ISpellChecker_GetOptionDescription 15 wstr,sptr
#comfunc global ISpellChecker_ComprehensiveCheck 16 wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。