#define global IID_IHTMLAppBehavior "{3050F5CA-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLAppBehavior IID_IHTMLAppBehavior "{3050F5CB-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLAppBehavior_put_applicationName 7 wstr
#comfunc global IHTMLAppBehavior_get_applicationName 8 var
#comfunc global IHTMLAppBehavior_put_version 9 wstr
#comfunc global IHTMLAppBehavior_get_version 10 var
#comfunc global IHTMLAppBehavior_put_icon 11 wstr
#comfunc global IHTMLAppBehavior_get_icon 12 var
#comfunc global IHTMLAppBehavior_put_singleInstance 13 wstr
#comfunc global IHTMLAppBehavior_get_singleInstance 14 var
#comfunc global IHTMLAppBehavior_put_minimizeButton 15 wstr
#comfunc global IHTMLAppBehavior_get_minimizeButton 16 var
#comfunc global IHTMLAppBehavior_put_maximizeButton 17 wstr
#comfunc global IHTMLAppBehavior_get_maximizeButton 18 var
#comfunc global IHTMLAppBehavior_put_border 19 wstr
#comfunc global IHTMLAppBehavior_get_border 20 var
#comfunc global IHTMLAppBehavior_put_borderStyle 21 wstr
#comfunc global IHTMLAppBehavior_get_borderStyle 22 var
#comfunc global IHTMLAppBehavior_put_sysMenu 23 wstr
#comfunc global IHTMLAppBehavior_get_sysMenu 24 var
#comfunc global IHTMLAppBehavior_put_caption 25 wstr
#comfunc global IHTMLAppBehavior_get_caption 26 var
#comfunc global IHTMLAppBehavior_put_windowState 27 wstr
#comfunc global IHTMLAppBehavior_get_windowState 28 var
#comfunc global IHTMLAppBehavior_put_showInTaskBar 29 wstr
#comfunc global IHTMLAppBehavior_get_showInTaskBar 30 var
#comfunc global IHTMLAppBehavior_get_commandLine 31 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLAppBehavior "{3050F5CA-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLAppBehavior IID_IHTMLAppBehavior "{3050F5CB-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLAppBehavior_put_applicationName 7 wstr
#comfunc global IHTMLAppBehavior_get_applicationName 8 sptr
#comfunc global IHTMLAppBehavior_put_version 9 wstr
#comfunc global IHTMLAppBehavior_get_version 10 sptr
#comfunc global IHTMLAppBehavior_put_icon 11 wstr
#comfunc global IHTMLAppBehavior_get_icon 12 sptr
#comfunc global IHTMLAppBehavior_put_singleInstance 13 wstr
#comfunc global IHTMLAppBehavior_get_singleInstance 14 sptr
#comfunc global IHTMLAppBehavior_put_minimizeButton 15 wstr
#comfunc global IHTMLAppBehavior_get_minimizeButton 16 sptr
#comfunc global IHTMLAppBehavior_put_maximizeButton 17 wstr
#comfunc global IHTMLAppBehavior_get_maximizeButton 18 sptr
#comfunc global IHTMLAppBehavior_put_border 19 wstr
#comfunc global IHTMLAppBehavior_get_border 20 sptr
#comfunc global IHTMLAppBehavior_put_borderStyle 21 wstr
#comfunc global IHTMLAppBehavior_get_borderStyle 22 sptr
#comfunc global IHTMLAppBehavior_put_sysMenu 23 wstr
#comfunc global IHTMLAppBehavior_get_sysMenu 24 sptr
#comfunc global IHTMLAppBehavior_put_caption 25 wstr
#comfunc global IHTMLAppBehavior_get_caption 26 sptr
#comfunc global IHTMLAppBehavior_put_windowState 27 wstr
#comfunc global IHTMLAppBehavior_get_windowState 28 sptr
#comfunc global IHTMLAppBehavior_put_showInTaskBar 29 wstr
#comfunc global IHTMLAppBehavior_get_showInTaskBar 30 sptr
#comfunc global IHTMLAppBehavior_get_commandLine 31 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。