#define global IID_ITextHost "{}"
#usecom global ITextHost IID_ITextHost "{}"
#comfunc global ITextHost_TxGetDC 3
#comfunc global ITextHost_TxReleaseDC 4 sptr
#comfunc global ITextHost_TxShowScrollBar 5 int,int
#comfunc global ITextHost_TxEnableScrollBar 6 int,int
#comfunc global ITextHost_TxSetScrollRange 7 int,int,int,int
#comfunc global ITextHost_TxSetScrollPos 8 int,int,int
#comfunc global ITextHost_TxInvalidateRect 9 var,int
#comfunc global ITextHost_TxViewChange 10 int
#comfunc global ITextHost_TxCreateCaret 11 sptr,int,int
#comfunc global ITextHost_TxShowCaret 12 int
#comfunc global ITextHost_TxSetCaretPos 13 int,int
#comfunc global ITextHost_TxSetTimer 14 int,int
#comfunc global ITextHost_TxKillTimer 15 int
#comfunc global ITextHost_TxScrollWindowEx 16 int,int,var,var,sptr,var,int
#comfunc global ITextHost_TxSetCapture 17 int
#comfunc global ITextHost_TxSetFocus 18
#comfunc global ITextHost_TxSetCursor 19 sptr,int
#comfunc global ITextHost_TxScreenToClient 20 var
#comfunc global ITextHost_TxClientToScreen 21 var
#comfunc global ITextHost_TxActivate 22 var
#comfunc global ITextHost_TxDeactivate 23 int
#comfunc global ITextHost_TxGetClientRect 24 var
#comfunc global ITextHost_TxGetViewInset 25 var
#comfunc global ITextHost_TxGetCharFormat 26 var
#comfunc global ITextHost_TxGetParaFormat 27 var
#comfunc global ITextHost_TxGetSysColor 28 int
#comfunc global ITextHost_TxGetBackStyle 29 var
#comfunc global ITextHost_TxGetMaxLength 30 var
#comfunc global ITextHost_TxGetScrollBars 31 var
#comfunc global ITextHost_TxGetPasswordChar 32 var
#comfunc global ITextHost_TxGetAcceleratorPos 33 var
#comfunc global ITextHost_TxGetExtent 34 var
#comfunc global ITextHost_OnTxCharFormatChange 35 var
#comfunc global ITextHost_OnTxParaFormatChange 36 var
#comfunc global ITextHost_TxGetPropertyBits 37 int,var
#comfunc global ITextHost_TxNotify 38 int,sptr
#comfunc global ITextHost_TxImmGetContext 39
#comfunc global ITextHost_TxImmReleaseContext 40 sptr
#comfunc global ITextHost_TxGetSelectionBarWidth 41 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ITextHost "{}"
#usecom global ITextHost IID_ITextHost "{}"
#comfunc global ITextHost_TxGetDC 3
#comfunc global ITextHost_TxReleaseDC 4 sptr
#comfunc global ITextHost_TxShowScrollBar 5 int,int
#comfunc global ITextHost_TxEnableScrollBar 6 int,int
#comfunc global ITextHost_TxSetScrollRange 7 int,int,int,int
#comfunc global ITextHost_TxSetScrollPos 8 int,int,int
#comfunc global ITextHost_TxInvalidateRect 9 sptr,int
#comfunc global ITextHost_TxViewChange 10 int
#comfunc global ITextHost_TxCreateCaret 11 sptr,int,int
#comfunc global ITextHost_TxShowCaret 12 int
#comfunc global ITextHost_TxSetCaretPos 13 int,int
#comfunc global ITextHost_TxSetTimer 14 int,int
#comfunc global ITextHost_TxKillTimer 15 int
#comfunc global ITextHost_TxScrollWindowEx 16 int,int,sptr,sptr,sptr,sptr,int
#comfunc global ITextHost_TxSetCapture 17 int
#comfunc global ITextHost_TxSetFocus 18
#comfunc global ITextHost_TxSetCursor 19 sptr,int
#comfunc global ITextHost_TxScreenToClient 20 sptr
#comfunc global ITextHost_TxClientToScreen 21 sptr
#comfunc global ITextHost_TxActivate 22 sptr
#comfunc global ITextHost_TxDeactivate 23 int
#comfunc global ITextHost_TxGetClientRect 24 sptr
#comfunc global ITextHost_TxGetViewInset 25 sptr
#comfunc global ITextHost_TxGetCharFormat 26 sptr
#comfunc global ITextHost_TxGetParaFormat 27 sptr
#comfunc global ITextHost_TxGetSysColor 28 int
#comfunc global ITextHost_TxGetBackStyle 29 sptr
#comfunc global ITextHost_TxGetMaxLength 30 sptr
#comfunc global ITextHost_TxGetScrollBars 31 sptr
#comfunc global ITextHost_TxGetPasswordChar 32 sptr
#comfunc global ITextHost_TxGetAcceleratorPos 33 sptr
#comfunc global ITextHost_TxGetExtent 34 sptr
#comfunc global ITextHost_OnTxCharFormatChange 35 sptr
#comfunc global ITextHost_OnTxParaFormatChange 36 sptr
#comfunc global ITextHost_TxGetPropertyBits 37 int,sptr
#comfunc global ITextHost_TxNotify 38 int,sptr
#comfunc global ITextHost_TxImmGetContext 39
#comfunc global ITextHost_TxImmReleaseContext 40 sptr
#comfunc global ITextHost_TxGetSelectionBarWidth 41 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。