vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IAccessible "{618736E0-3C3D-11CF-810C-00AA00389B71}"
#usecom global IAccessible IID_IAccessible "{}"
#comfunc global IAccessible_get_accParent 7 sptr
#comfunc global IAccessible_get_accChildCount 8 var
#comfunc global IAccessible_get_accChild 9 int,sptr
#comfunc global IAccessible_get_accName 10 int,var
#comfunc global IAccessible_get_accValue 11 int,var
#comfunc global IAccessible_get_accDescription 12 int,var
#comfunc global IAccessible_get_accRole 13 int,var
#comfunc global IAccessible_get_accState 14 int,var
#comfunc global IAccessible_get_accHelp 15 int,var
#comfunc global IAccessible_get_accHelpTopic 16 var,int,var
#comfunc global IAccessible_get_accKeyboardShortcut 17 int,var
#comfunc global IAccessible_get_accFocus 18 var
#comfunc global IAccessible_get_accSelection 19 var
#comfunc global IAccessible_get_accDefaultAction 20 int,var
#comfunc global IAccessible_accSelect 21 int,int
#comfunc global IAccessible_accLocation 22 var,var,var,var,int
#comfunc global IAccessible_accNavigate 23 int,int,var
#comfunc global IAccessible_accHitTest 24 int,int,var
#comfunc global IAccessible_accDoDefaultAction 25 int
#comfunc global IAccessible_put_accName 26 int,wstr
#comfunc global IAccessible_put_accValue 27 int,wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IAccessible "{618736E0-3C3D-11CF-810C-00AA00389B71}"
#usecom global IAccessible IID_IAccessible "{}"
#comfunc global IAccessible_get_accParent 7 sptr
#comfunc global IAccessible_get_accChildCount 8 sptr
#comfunc global IAccessible_get_accChild 9 int,sptr
#comfunc global IAccessible_get_accName 10 int,sptr
#comfunc global IAccessible_get_accValue 11 int,sptr
#comfunc global IAccessible_get_accDescription 12 int,sptr
#comfunc global IAccessible_get_accRole 13 int,sptr
#comfunc global IAccessible_get_accState 14 int,sptr
#comfunc global IAccessible_get_accHelp 15 int,sptr
#comfunc global IAccessible_get_accHelpTopic 16 sptr,int,sptr
#comfunc global IAccessible_get_accKeyboardShortcut 17 int,sptr
#comfunc global IAccessible_get_accFocus 18 sptr
#comfunc global IAccessible_get_accSelection 19 sptr
#comfunc global IAccessible_get_accDefaultAction 20 int,sptr
#comfunc global IAccessible_accSelect 21 int,int
#comfunc global IAccessible_accLocation 22 sptr,sptr,sptr,sptr,int
#comfunc global IAccessible_accNavigate 23 int,int,sptr
#comfunc global IAccessible_accHitTest 24 int,int,sptr
#comfunc global IAccessible_accDoDefaultAction 25 int
#comfunc global IAccessible_put_accName 26 int,wstr
#comfunc global IAccessible_put_accValue 27 int,wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。