ICoreWebView2
COMメソッド 58
vtbl = vtable インデックス(0始まり)。HSP等からインデックス指定でCOMメソッドを呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT get_Settings(ICoreWebView2Settings** settings)
| settings | ICoreWebView2Settings** | out | WebView の設定オブジェクト(ICoreWebView2Settings)を受け取るポインタである。 |
vtbl 4 HRESULT get_Source(LPWSTR* uri)
| uri | LPWSTR* | out | 現在表示中のドキュメントの URI 文字列を受け取るポインタである。文字列は呼び出し側が解放する。 |
vtbl 5 HRESULT Navigate(LPWSTR uri)
| uri | LPWSTR | in | ナビゲートする先の URI を指定する。 |
vtbl 6 HRESULT NavigateToString(LPWSTR htmlContent)
| htmlContent | LPWSTR | in | 表示する HTML コンテンツの文字列を指定する。 |
vtbl 7 HRESULT add_NavigationStarting(ICoreWebView2NavigationStartingEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2NavigationStartingEventHandler* | in | ナビゲーション開始イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 8 HRESULT remove_NavigationStarting(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 9 HRESULT add_ContentLoading(ICoreWebView2ContentLoadingEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2ContentLoadingEventHandler* | in | コンテンツ読み込み開始イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 10 HRESULT remove_ContentLoading(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 11 HRESULT add_SourceChanged(ICoreWebView2SourceChangedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2SourceChangedEventHandler* | in | ソース(URI)変更イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 12 HRESULT remove_SourceChanged(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 13 HRESULT add_HistoryChanged(ICoreWebView2HistoryChangedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2HistoryChangedEventHandler* | in | 履歴変更イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 14 HRESULT remove_HistoryChanged(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 15 HRESULT add_NavigationCompleted(ICoreWebView2NavigationCompletedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2NavigationCompletedEventHandler* | in | ナビゲーション完了イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 16 HRESULT remove_NavigationCompleted(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 17 HRESULT add_FrameNavigationStarting(ICoreWebView2NavigationStartingEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2NavigationStartingEventHandler* | in | フレーム内のナビゲーション開始イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 18 HRESULT remove_FrameNavigationStarting(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 19 HRESULT add_FrameNavigationCompleted(ICoreWebView2NavigationCompletedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2NavigationCompletedEventHandler* | in | フレーム内のナビゲーション完了イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 20 HRESULT remove_FrameNavigationCompleted(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 21 HRESULT add_ScriptDialogOpening(ICoreWebView2ScriptDialogOpeningEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2ScriptDialogOpeningEventHandler* | in | スクリプトダイアログ(alert/confirm 等)表示イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 22 HRESULT remove_ScriptDialogOpening(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 23 HRESULT add_PermissionRequested(ICoreWebView2PermissionRequestedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2PermissionRequestedEventHandler* | in | 権限要求イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 24 HRESULT remove_PermissionRequested(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 25 HRESULT add_ProcessFailed(ICoreWebView2ProcessFailedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2ProcessFailedEventHandler* | in | ブラウザプロセスの異常終了イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 26 HRESULT remove_ProcessFailed(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 27 HRESULT AddScriptToExecuteOnDocumentCreated(LPWSTR javaScript, ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler* handler)
| javaScript | LPWSTR | in | 各ドキュメント生成時に実行する JavaScript コードを指定する。 |
| handler | ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler* | in | 登録完了を受け取る完了ハンドラへのポインタである。 |
vtbl 28 HRESULT RemoveScriptToExecuteOnDocumentCreated(LPWSTR id)
| id | LPWSTR | in | 削除対象のスクリプトを識別する ID 文字列を指定する。 |
vtbl 29 HRESULT ExecuteScript(LPWSTR javaScript, ICoreWebView2ExecuteScriptCompletedHandler* handler)
| javaScript | LPWSTR | in | 現在のドキュメント内で実行する JavaScript コードを指定する。 |
| handler | ICoreWebView2ExecuteScriptCompletedHandler* | in | 実行結果(JSON 文字列)を受け取る完了ハンドラへのポインタである。 |
vtbl 30 HRESULT CapturePreview(COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT imageFormat, IStream* imageStream, ICoreWebView2CapturePreviewCompletedHandler* handler)
| imageFormat | COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT | in | 出力する画像の形式を示す COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT 値を指定する。 |
| imageStream | IStream* | in | キャプチャした画像データを書き込む出力先ストリーム(IStream)へのポインタである。 |
| handler | ICoreWebView2CapturePreviewCompletedHandler* | in | キャプチャ完了を受け取る完了ハンドラへのポインタである。 |
vtbl 31 HRESULT Reload( void)
| void | in | 引数はない。 |
vtbl 32 HRESULT PostWebMessageAsJson(LPWSTR webMessageAsJson)
| webMessageAsJson | LPWSTR | in | ページ側スクリプトへ送信する Web メッセージを JSON 形式の文字列で指定する。 |
vtbl 33 HRESULT PostWebMessageAsString(LPWSTR webMessageAsString)
| webMessageAsString | LPWSTR | in | ページ側スクリプトへ送信する Web メッセージを文字列で指定する。 |
vtbl 34 HRESULT add_WebMessageReceived(ICoreWebView2WebMessageReceivedEventHandler* handler, EventRegistrationToken* token)
| handler | ICoreWebView2WebMessageReceivedEventHandler* | in | ページ側からの Web メッセージ受信イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 35 HRESULT remove_WebMessageReceived(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 36 HRESULT CallDevToolsProtocolMethod(LPWSTR methodName, LPWSTR parametersAsJson, ICoreWebView2CallDevToolsProtocolMethodCompletedHandler* handler)
| methodName | LPWSTR | in | 呼び出す DevTools Protocol のメソッド名を指定する。 |
| parametersAsJson | LPWSTR | in | メソッドへ渡すパラメータを JSON 形式の文字列で指定する。 |
| handler | ICoreWebView2CallDevToolsProtocolMethodCompletedHandler* | in | 呼び出し結果を受け取る完了ハンドラへのポインタである。 |
vtbl 37 HRESULT get_BrowserProcessId(DWORD* value)
| value | DWORD* | out | WebView をホストするブラウザプロセスの識別子を受け取るポインタである。 |
vtbl 38 HRESULT get_CanGoBack(BOOL* canGoBack)
| canGoBack | BOOL* | out | 履歴を前(戻る)に移動できるかどうかを示す真偽値を受け取るポインタである。 |
vtbl 39 HRESULT get_CanGoForward(BOOL* canGoForward)
| canGoForward | BOOL* | out | 履歴を後(進む)に移動できるかどうかを示す真偽値を受け取るポインタである。 |
vtbl 40 HRESULT GoBack( void)
| void | in | 引数はない。 |
vtbl 41 HRESULT GoForward( void)
| void | in | 引数はない。 |
vtbl 42 HRESULT GetDevToolsProtocolEventReceiver(LPWSTR eventName, ICoreWebView2DevToolsProtocolEventReceiver** receiver)
| eventName | LPWSTR | in | 受信したい DevTools Protocol のイベント名を指定する。 |
| receiver | ICoreWebView2DevToolsProtocolEventReceiver** | out | 指定イベントの受信オブジェクト(ICoreWebView2DevToolsProtocolEventReceiver)を受け取るポインタである。 |
vtbl 43 HRESULT Stop( void)
| void | in | 引数はない。 |
vtbl 44 HRESULT add_NewWindowRequested(ICoreWebView2NewWindowRequestedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2NewWindowRequestedEventHandler* | in | 新しいウィンドウ要求イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 45 HRESULT remove_NewWindowRequested(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 46 HRESULT add_DocumentTitleChanged(ICoreWebView2DocumentTitleChangedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2DocumentTitleChangedEventHandler* | in | ドキュメントタイトル変更イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 47 HRESULT remove_DocumentTitleChanged(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 48 HRESULT get_DocumentTitle(LPWSTR* title)
| title | LPWSTR* | out | 現在のドキュメントのタイトル文字列を受け取るポインタである。文字列は呼び出し側が解放する。 |
vtbl 49 HRESULT AddHostObjectToScript(LPWSTR name, VARIANT* object)
| name | LPWSTR | in | ページ側スクリプトから参照する際のホストオブジェクトの名前を指定する。 |
| object | VARIANT* | in | スクリプトへ公開するホストオブジェクトを格納した VARIANT へのポインタである。 |
vtbl 50 HRESULT RemoveHostObjectFromScript(LPWSTR name)
| name | LPWSTR | in | スクリプトへの公開を解除するホストオブジェクトの名前を指定する。 |
vtbl 51 HRESULT OpenDevToolsWindow( void)
| void | in | 引数はない。 |
vtbl 52 HRESULT add_ContainsFullScreenElementChanged(ICoreWebView2ContainsFullScreenElementChangedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2ContainsFullScreenElementChangedEventHandler* | in | 全画面要素の有無の変化イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 53 HRESULT remove_ContainsFullScreenElementChanged(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 54 HRESULT get_ContainsFullScreenElement(BOOL* containsFullScreenElement)
| containsFullScreenElement | BOOL* | out | 全画面表示中の要素を含むかどうかを示す真偽値を受け取るポインタである。 |
vtbl 55 HRESULT add_WebResourceRequested(ICoreWebView2WebResourceRequestedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2WebResourceRequestedEventHandler* | in | Web リソース要求イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 56 HRESULT remove_WebResourceRequested(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
vtbl 57 HRESULT AddWebResourceRequestedFilter(LPWSTR uri, COREWEBVIEW2_WEB_RESOURCE_CONTEXT resourceContext)
| uri | LPWSTR | in | リソース要求イベントを発生させる対象 URI のフィルタパターンを指定する。 |
| resourceContext | COREWEBVIEW2_WEB_RESOURCE_CONTEXT | in | フィルタ対象とするリソースの種類を示す COREWEBVIEW2_WEB_RESOURCE_CONTEXT 値を指定する。 |
vtbl 58 HRESULT RemoveWebResourceRequestedFilter(LPWSTR uri, COREWEBVIEW2_WEB_RESOURCE_CONTEXT resourceContext)
| uri | LPWSTR | in | 削除するフィルタの対象 URI パターンを指定する。 |
| resourceContext | COREWEBVIEW2_WEB_RESOURCE_CONTEXT | in | 削除するフィルタのリソース種別を示す COREWEBVIEW2_WEB_RESOURCE_CONTEXT 値を指定する。 |
vtbl 59 HRESULT add_WindowCloseRequested(ICoreWebView2WindowCloseRequestedEventHandler* eventHandler, EventRegistrationToken* token)
| eventHandler | ICoreWebView2WindowCloseRequestedEventHandler* | in | ウィンドウクローズ要求イベントを受け取るイベントハンドラへのポインタである。 |
| token | EventRegistrationToken* | out | 登録したイベントハンドラを後で解除するためのトークンを受け取るポインタである。 |
vtbl 60 HRESULT remove_WindowCloseRequested(EventRegistrationToken token)
| token | EventRegistrationToken | in | 解除対象のイベントハンドラ登録を識別するトークンを指定する。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。WebView2 のインターフェースは環境/ローダ経由で取得するため #usecom 末尾は "{}"。
出力引数:
#define global IID_ICoreWebView2 "{76ECEACB-0462-4D94-AC83-423A6793775E}" #usecom global ICoreWebView2 IID_ICoreWebView2 "{}" #comfunc global ICoreWebView2_get_Settings 3 sptr #comfunc global ICoreWebView2_get_Source 4 var #comfunc global ICoreWebView2_Navigate 5 wstr #comfunc global ICoreWebView2_NavigateToString 6 wstr #comfunc global ICoreWebView2_add_NavigationStarting 7 sptr,var #comfunc global ICoreWebView2_remove_NavigationStarting 8 int #comfunc global ICoreWebView2_add_ContentLoading 9 sptr,var #comfunc global ICoreWebView2_remove_ContentLoading 10 int #comfunc global ICoreWebView2_add_SourceChanged 11 sptr,var #comfunc global ICoreWebView2_remove_SourceChanged 12 int #comfunc global ICoreWebView2_add_HistoryChanged 13 sptr,var #comfunc global ICoreWebView2_remove_HistoryChanged 14 int #comfunc global ICoreWebView2_add_NavigationCompleted 15 sptr,var #comfunc global ICoreWebView2_remove_NavigationCompleted 16 int #comfunc global ICoreWebView2_add_FrameNavigationStarting 17 sptr,var #comfunc global ICoreWebView2_remove_FrameNavigationStarting 18 int #comfunc global ICoreWebView2_add_FrameNavigationCompleted 19 sptr,var #comfunc global ICoreWebView2_remove_FrameNavigationCompleted 20 int #comfunc global ICoreWebView2_add_ScriptDialogOpening 21 sptr,var #comfunc global ICoreWebView2_remove_ScriptDialogOpening 22 int #comfunc global ICoreWebView2_add_PermissionRequested 23 sptr,var #comfunc global ICoreWebView2_remove_PermissionRequested 24 int #comfunc global ICoreWebView2_add_ProcessFailed 25 sptr,var #comfunc global ICoreWebView2_remove_ProcessFailed 26 int #comfunc global ICoreWebView2_AddScriptToExecuteOnDocumentCreated 27 wstr,sptr #comfunc global ICoreWebView2_RemoveScriptToExecuteOnDocumentCreated 28 wstr #comfunc global ICoreWebView2_ExecuteScript 29 wstr,sptr #comfunc global ICoreWebView2_CapturePreview 30 int,sptr,sptr #comfunc global ICoreWebView2_Reload 31 int #comfunc global ICoreWebView2_PostWebMessageAsJson 32 wstr #comfunc global ICoreWebView2_PostWebMessageAsString 33 wstr #comfunc global ICoreWebView2_add_WebMessageReceived 34 sptr,var #comfunc global ICoreWebView2_remove_WebMessageReceived 35 int #comfunc global ICoreWebView2_CallDevToolsProtocolMethod 36 wstr,wstr,sptr #comfunc global ICoreWebView2_get_BrowserProcessId 37 var #comfunc global ICoreWebView2_get_CanGoBack 38 var #comfunc global ICoreWebView2_get_CanGoForward 39 var #comfunc global ICoreWebView2_GoBack 40 int #comfunc global ICoreWebView2_GoForward 41 int #comfunc global ICoreWebView2_GetDevToolsProtocolEventReceiver 42 wstr,sptr #comfunc global ICoreWebView2_Stop 43 int #comfunc global ICoreWebView2_add_NewWindowRequested 44 sptr,var #comfunc global ICoreWebView2_remove_NewWindowRequested 45 int #comfunc global ICoreWebView2_add_DocumentTitleChanged 46 sptr,var #comfunc global ICoreWebView2_remove_DocumentTitleChanged 47 int #comfunc global ICoreWebView2_get_DocumentTitle 48 var #comfunc global ICoreWebView2_AddHostObjectToScript 49 wstr,var #comfunc global ICoreWebView2_RemoveHostObjectFromScript 50 wstr #comfunc global ICoreWebView2_OpenDevToolsWindow 51 int #comfunc global ICoreWebView2_add_ContainsFullScreenElementChanged 52 sptr,var #comfunc global ICoreWebView2_remove_ContainsFullScreenElementChanged 53 int #comfunc global ICoreWebView2_get_ContainsFullScreenElement 54 var #comfunc global ICoreWebView2_add_WebResourceRequested 55 sptr,var #comfunc global ICoreWebView2_remove_WebResourceRequested 56 int #comfunc global ICoreWebView2_AddWebResourceRequestedFilter 57 wstr,int #comfunc global ICoreWebView2_RemoveWebResourceRequestedFilter 58 wstr,int #comfunc global ICoreWebView2_add_WindowCloseRequested 59 sptr,var #comfunc global ICoreWebView2_remove_WindowCloseRequested 60 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ICoreWebView2 "{76ECEACB-0462-4D94-AC83-423A6793775E}" #usecom global ICoreWebView2 IID_ICoreWebView2 "{}" #comfunc global ICoreWebView2_get_Settings 3 sptr #comfunc global ICoreWebView2_get_Source 4 sptr #comfunc global ICoreWebView2_Navigate 5 wstr #comfunc global ICoreWebView2_NavigateToString 6 wstr #comfunc global ICoreWebView2_add_NavigationStarting 7 sptr,sptr #comfunc global ICoreWebView2_remove_NavigationStarting 8 int #comfunc global ICoreWebView2_add_ContentLoading 9 sptr,sptr #comfunc global ICoreWebView2_remove_ContentLoading 10 int #comfunc global ICoreWebView2_add_SourceChanged 11 sptr,sptr #comfunc global ICoreWebView2_remove_SourceChanged 12 int #comfunc global ICoreWebView2_add_HistoryChanged 13 sptr,sptr #comfunc global ICoreWebView2_remove_HistoryChanged 14 int #comfunc global ICoreWebView2_add_NavigationCompleted 15 sptr,sptr #comfunc global ICoreWebView2_remove_NavigationCompleted 16 int #comfunc global ICoreWebView2_add_FrameNavigationStarting 17 sptr,sptr #comfunc global ICoreWebView2_remove_FrameNavigationStarting 18 int #comfunc global ICoreWebView2_add_FrameNavigationCompleted 19 sptr,sptr #comfunc global ICoreWebView2_remove_FrameNavigationCompleted 20 int #comfunc global ICoreWebView2_add_ScriptDialogOpening 21 sptr,sptr #comfunc global ICoreWebView2_remove_ScriptDialogOpening 22 int #comfunc global ICoreWebView2_add_PermissionRequested 23 sptr,sptr #comfunc global ICoreWebView2_remove_PermissionRequested 24 int #comfunc global ICoreWebView2_add_ProcessFailed 25 sptr,sptr #comfunc global ICoreWebView2_remove_ProcessFailed 26 int #comfunc global ICoreWebView2_AddScriptToExecuteOnDocumentCreated 27 wstr,sptr #comfunc global ICoreWebView2_RemoveScriptToExecuteOnDocumentCreated 28 wstr #comfunc global ICoreWebView2_ExecuteScript 29 wstr,sptr #comfunc global ICoreWebView2_CapturePreview 30 int,sptr,sptr #comfunc global ICoreWebView2_Reload 31 int #comfunc global ICoreWebView2_PostWebMessageAsJson 32 wstr #comfunc global ICoreWebView2_PostWebMessageAsString 33 wstr #comfunc global ICoreWebView2_add_WebMessageReceived 34 sptr,sptr #comfunc global ICoreWebView2_remove_WebMessageReceived 35 int #comfunc global ICoreWebView2_CallDevToolsProtocolMethod 36 wstr,wstr,sptr #comfunc global ICoreWebView2_get_BrowserProcessId 37 sptr #comfunc global ICoreWebView2_get_CanGoBack 38 sptr #comfunc global ICoreWebView2_get_CanGoForward 39 sptr #comfunc global ICoreWebView2_GoBack 40 int #comfunc global ICoreWebView2_GoForward 41 int #comfunc global ICoreWebView2_GetDevToolsProtocolEventReceiver 42 wstr,sptr #comfunc global ICoreWebView2_Stop 43 int #comfunc global ICoreWebView2_add_NewWindowRequested 44 sptr,sptr #comfunc global ICoreWebView2_remove_NewWindowRequested 45 int #comfunc global ICoreWebView2_add_DocumentTitleChanged 46 sptr,sptr #comfunc global ICoreWebView2_remove_DocumentTitleChanged 47 int #comfunc global ICoreWebView2_get_DocumentTitle 48 sptr #comfunc global ICoreWebView2_AddHostObjectToScript 49 wstr,sptr #comfunc global ICoreWebView2_RemoveHostObjectFromScript 50 wstr #comfunc global ICoreWebView2_OpenDevToolsWindow 51 int #comfunc global ICoreWebView2_add_ContainsFullScreenElementChanged 52 sptr,sptr #comfunc global ICoreWebView2_remove_ContainsFullScreenElementChanged 53 int #comfunc global ICoreWebView2_get_ContainsFullScreenElement 54 sptr #comfunc global ICoreWebView2_add_WebResourceRequested 55 sptr,sptr #comfunc global ICoreWebView2_remove_WebResourceRequested 56 int #comfunc global ICoreWebView2_AddWebResourceRequestedFilter 57 wstr,int #comfunc global ICoreWebView2_RemoveWebResourceRequestedFilter 58 wstr,int #comfunc global ICoreWebView2_add_WindowCloseRequested 59 sptr,sptr #comfunc global ICoreWebView2_remove_WindowCloseRequested 60 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
関連項目
バージョン違い・関連インターフェース
- i ICoreWebView2_2
- i ICoreWebView2_3
- i ICoreWebView2_4
- i ICoreWebView2_5
- i ICoreWebView2_6
- i ICoreWebView2_7
- i ICoreWebView2_8
- i ICoreWebView2_9
- i ICoreWebView2_10
- i ICoreWebView2_11
- i ICoreWebView2_12
- i ICoreWebView2_13
- i ICoreWebView2_14
- i ICoreWebView2_15
- i ICoreWebView2_16
- i ICoreWebView2_17
- i ICoreWebView2_18
- i ICoreWebView2_19
- i ICoreWebView2_20
- i ICoreWebView2_21
- i ICoreWebView2_22
- i ICoreWebView2_23
- i ICoreWebView2_24
- i ICoreWebView2_25
- i ICoreWebView2_26
- i ICoreWebView2_27
- i ICoreWebView2_28
- i ICoreWebView2_29