#define global IID_IWebBrowserApp "{0002DF05-0000-0000-C000-000000000046}"
#usecom global IWebBrowserApp IID_IWebBrowserApp "{}"
#comfunc global IWebBrowserApp_Quit 32
#comfunc global IWebBrowserApp_ClientToWindow 33 var,var
#comfunc global IWebBrowserApp_PutProperty 34 wstr,int
#comfunc global IWebBrowserApp_GetProperty 35 wstr,var
#comfunc global IWebBrowserApp_get_Name 36 var
#comfunc global IWebBrowserApp_get_HWND 37 var
#comfunc global IWebBrowserApp_get_FullName 38 var
#comfunc global IWebBrowserApp_get_Path 39 var
#comfunc global IWebBrowserApp_get_Visible 40 var
#comfunc global IWebBrowserApp_put_Visible 41 int
#comfunc global IWebBrowserApp_get_StatusBar 42 var
#comfunc global IWebBrowserApp_put_StatusBar 43 int
#comfunc global IWebBrowserApp_get_StatusText 44 var
#comfunc global IWebBrowserApp_put_StatusText 45 wstr
#comfunc global IWebBrowserApp_get_ToolBar 46 var
#comfunc global IWebBrowserApp_put_ToolBar 47 int
#comfunc global IWebBrowserApp_get_MenuBar 48 var
#comfunc global IWebBrowserApp_put_MenuBar 49 int
#comfunc global IWebBrowserApp_get_FullScreen 50 var
#comfunc global IWebBrowserApp_put_FullScreen 51 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IWebBrowserApp "{0002DF05-0000-0000-C000-000000000046}"
#usecom global IWebBrowserApp IID_IWebBrowserApp "{}"
#comfunc global IWebBrowserApp_Quit 32
#comfunc global IWebBrowserApp_ClientToWindow 33 sptr,sptr
#comfunc global IWebBrowserApp_PutProperty 34 wstr,int
#comfunc global IWebBrowserApp_GetProperty 35 wstr,sptr
#comfunc global IWebBrowserApp_get_Name 36 sptr
#comfunc global IWebBrowserApp_get_HWND 37 sptr
#comfunc global IWebBrowserApp_get_FullName 38 sptr
#comfunc global IWebBrowserApp_get_Path 39 sptr
#comfunc global IWebBrowserApp_get_Visible 40 sptr
#comfunc global IWebBrowserApp_put_Visible 41 int
#comfunc global IWebBrowserApp_get_StatusBar 42 sptr
#comfunc global IWebBrowserApp_put_StatusBar 43 int
#comfunc global IWebBrowserApp_get_StatusText 44 sptr
#comfunc global IWebBrowserApp_put_StatusText 45 wstr
#comfunc global IWebBrowserApp_get_ToolBar 46 sptr
#comfunc global IWebBrowserApp_put_ToolBar 47 int
#comfunc global IWebBrowserApp_get_MenuBar 48 sptr
#comfunc global IWebBrowserApp_put_MenuBar 49 int
#comfunc global IWebBrowserApp_get_FullScreen 50 sptr
#comfunc global IWebBrowserApp_put_FullScreen 51 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。