#define global IID_ITextFont "{8CC497C3-A1DF-11CE-8098-00AA0047BE5D}"
#usecom global ITextFont IID_ITextFont "{}"
#comfunc global ITextFont_GetDuplicate 7 sptr
#comfunc global ITextFont_SetDuplicate 8 sptr
#comfunc global ITextFont_CanChange 9 var
#comfunc global ITextFont_IsEqual 10 sptr,var
#comfunc global ITextFont_Reset 11 int
#comfunc global ITextFont_GetStyle 12 var
#comfunc global ITextFont_SetStyle 13 int
#comfunc global ITextFont_GetAllCaps 14 var
#comfunc global ITextFont_SetAllCaps 15 int
#comfunc global ITextFont_GetAnimation 16 var
#comfunc global ITextFont_SetAnimation 17 int
#comfunc global ITextFont_GetBackColor 18 var
#comfunc global ITextFont_SetBackColor 19 int
#comfunc global ITextFont_GetBold 20 var
#comfunc global ITextFont_SetBold 21 int
#comfunc global ITextFont_GetEmboss 22 var
#comfunc global ITextFont_SetEmboss 23 int
#comfunc global ITextFont_GetForeColor 24 var
#comfunc global ITextFont_SetForeColor 25 int
#comfunc global ITextFont_GetHidden 26 var
#comfunc global ITextFont_SetHidden 27 int
#comfunc global ITextFont_GetEngrave 28 var
#comfunc global ITextFont_SetEngrave 29 int
#comfunc global ITextFont_GetItalic 30 var
#comfunc global ITextFont_SetItalic 31 int
#comfunc global ITextFont_GetKerning 32 var
#comfunc global ITextFont_SetKerning 33 float
#comfunc global ITextFont_GetLanguageID 34 var
#comfunc global ITextFont_SetLanguageID 35 int
#comfunc global ITextFont_GetName 36 var
#comfunc global ITextFont_SetName 37 wstr
#comfunc global ITextFont_GetOutline 38 var
#comfunc global ITextFont_SetOutline 39 int
#comfunc global ITextFont_GetPosition 40 var
#comfunc global ITextFont_SetPosition 41 float
#comfunc global ITextFont_GetProtected 42 var
#comfunc global ITextFont_SetProtected 43 int
#comfunc global ITextFont_GetShadow 44 var
#comfunc global ITextFont_SetShadow 45 int
#comfunc global ITextFont_GetSize 46 var
#comfunc global ITextFont_SetSize 47 float
#comfunc global ITextFont_GetSmallCaps 48 var
#comfunc global ITextFont_SetSmallCaps 49 int
#comfunc global ITextFont_GetSpacing 50 var
#comfunc global ITextFont_SetSpacing 51 float
#comfunc global ITextFont_GetStrikeThrough 52 var
#comfunc global ITextFont_SetStrikeThrough 53 int
#comfunc global ITextFont_GetSubscript 54 var
#comfunc global ITextFont_SetSubscript 55 int
#comfunc global ITextFont_GetSuperscript 56 var
#comfunc global ITextFont_SetSuperscript 57 int
#comfunc global ITextFont_GetUnderline 58 var
#comfunc global ITextFont_SetUnderline 59 int
#comfunc global ITextFont_GetWeight 60 var
#comfunc global ITextFont_SetWeight 61 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_ITextFont "{8CC497C3-A1DF-11CE-8098-00AA0047BE5D}"
#usecom global ITextFont IID_ITextFont "{}"
#comfunc global ITextFont_GetDuplicate 7 sptr
#comfunc global ITextFont_SetDuplicate 8 sptr
#comfunc global ITextFont_CanChange 9 sptr
#comfunc global ITextFont_IsEqual 10 sptr,sptr
#comfunc global ITextFont_Reset 11 int
#comfunc global ITextFont_GetStyle 12 sptr
#comfunc global ITextFont_SetStyle 13 int
#comfunc global ITextFont_GetAllCaps 14 sptr
#comfunc global ITextFont_SetAllCaps 15 int
#comfunc global ITextFont_GetAnimation 16 sptr
#comfunc global ITextFont_SetAnimation 17 int
#comfunc global ITextFont_GetBackColor 18 sptr
#comfunc global ITextFont_SetBackColor 19 int
#comfunc global ITextFont_GetBold 20 sptr
#comfunc global ITextFont_SetBold 21 int
#comfunc global ITextFont_GetEmboss 22 sptr
#comfunc global ITextFont_SetEmboss 23 int
#comfunc global ITextFont_GetForeColor 24 sptr
#comfunc global ITextFont_SetForeColor 25 int
#comfunc global ITextFont_GetHidden 26 sptr
#comfunc global ITextFont_SetHidden 27 int
#comfunc global ITextFont_GetEngrave 28 sptr
#comfunc global ITextFont_SetEngrave 29 int
#comfunc global ITextFont_GetItalic 30 sptr
#comfunc global ITextFont_SetItalic 31 int
#comfunc global ITextFont_GetKerning 32 sptr
#comfunc global ITextFont_SetKerning 33 float
#comfunc global ITextFont_GetLanguageID 34 sptr
#comfunc global ITextFont_SetLanguageID 35 int
#comfunc global ITextFont_GetName 36 sptr
#comfunc global ITextFont_SetName 37 wstr
#comfunc global ITextFont_GetOutline 38 sptr
#comfunc global ITextFont_SetOutline 39 int
#comfunc global ITextFont_GetPosition 40 sptr
#comfunc global ITextFont_SetPosition 41 float
#comfunc global ITextFont_GetProtected 42 sptr
#comfunc global ITextFont_SetProtected 43 int
#comfunc global ITextFont_GetShadow 44 sptr
#comfunc global ITextFont_SetShadow 45 int
#comfunc global ITextFont_GetSize 46 sptr
#comfunc global ITextFont_SetSize 47 float
#comfunc global ITextFont_GetSmallCaps 48 sptr
#comfunc global ITextFont_SetSmallCaps 49 int
#comfunc global ITextFont_GetSpacing 50 sptr
#comfunc global ITextFont_SetSpacing 51 float
#comfunc global ITextFont_GetStrikeThrough 52 sptr
#comfunc global ITextFont_SetStrikeThrough 53 int
#comfunc global ITextFont_GetSubscript 54 sptr
#comfunc global ITextFont_SetSubscript 55 int
#comfunc global ITextFont_GetSuperscript 56 sptr
#comfunc global ITextFont_SetSuperscript 57 int
#comfunc global ITextFont_GetUnderline 58 sptr
#comfunc global ITextFont_SetUnderline 59 int
#comfunc global ITextFont_GetWeight 60 sptr
#comfunc global ITextFont_SetWeight 61 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。