ICoreWebView2_9
COMメソッド 9
vtbl = vtable インデックス(0始まり)。HSP等からインデックス指定でCOMメソッドを呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 88 HRESULT add_IsDefaultDownloadDialogOpenChanged(ICoreWebView2IsDefaultDownloadDialogOpenChangedEventHandler* handler, EventRegistrationToken* token)
| handler | ICoreWebView2IsDefaultDownloadDialogOpenChangedEventHandler* | in | 既定のダウンロードダイアログの開閉状態が変化した際に呼び出されるイベントハンドラへのポインタを渡す。 |
| token | EventRegistrationToken* | out | 登録したハンドラを後で解除するための EventRegistrationToken を受け取る。 |
vtbl 89 HRESULT remove_IsDefaultDownloadDialogOpenChanged(EventRegistrationToken token)
| token | EventRegistrationToken | in | add_IsDefaultDownloadDialogOpenChanged で取得した登録トークンを渡し、対応するイベントハンドラを解除する。 |
vtbl 90 HRESULT get_IsDefaultDownloadDialogOpen(BOOL* value)
| value | BOOL* | out | 既定のダウンロードダイアログが現在開いているかどうかを示す BOOL を受け取る。 |
vtbl 91 HRESULT OpenDefaultDownloadDialog( void)
| void | in | 引数を取らない。既定のダウンロードダイアログを開く。 |
vtbl 92 HRESULT CloseDefaultDownloadDialog( void)
| void | in | 引数を取らない。既定のダウンロードダイアログを閉じる。 |
vtbl 93 HRESULT get_DefaultDownloadDialogCornerAlignment(COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT* value)
| value | COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT* | out | 既定のダウンロードダイアログを表示する隅の配置を示す COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT 値を受け取る。 |
vtbl 94 HRESULT put_DefaultDownloadDialogCornerAlignment(COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT value)
| value | COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT | in | 既定のダウンロードダイアログを表示する隅の配置を COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT 値で指定する。 |
vtbl 95 HRESULT get_DefaultDownloadDialogMargin(POINT* value)
| value | POINT* | out | 既定のダウンロードダイアログの配置隅からのマージン(オフセット)を示す POINT を受け取る。 |
vtbl 96 HRESULT put_DefaultDownloadDialogMargin(POINT value)
| value | POINT | in | 既定のダウンロードダイアログの配置隅からのマージン(オフセット)を POINT で指定する。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。WebView2 のインターフェースは環境/ローダ経由で取得するため #usecom 末尾は "{}"。
出力引数:
#define global IID_ICoreWebView2_9 "{4D7B2EAB-9FDC-468D-B998-A9260B5ED651}" #usecom global ICoreWebView2_9 IID_ICoreWebView2_9 "{}" #comfunc global ICoreWebView2_9_add_IsDefaultDownloadDialogOpenChanged 88 sptr,var #comfunc global ICoreWebView2_9_remove_IsDefaultDownloadDialogOpenChanged 89 int #comfunc global ICoreWebView2_9_get_IsDefaultDownloadDialogOpen 90 var #comfunc global ICoreWebView2_9_OpenDefaultDownloadDialog 91 int #comfunc global ICoreWebView2_9_CloseDefaultDownloadDialog 92 int #comfunc global ICoreWebView2_9_get_DefaultDownloadDialogCornerAlignment 93 var #comfunc global ICoreWebView2_9_put_DefaultDownloadDialogCornerAlignment 94 int #comfunc global ICoreWebView2_9_get_DefaultDownloadDialogMargin 95 var #comfunc global ICoreWebView2_9_put_DefaultDownloadDialogMargin 96 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ICoreWebView2_9 "{4D7B2EAB-9FDC-468D-B998-A9260B5ED651}" #usecom global ICoreWebView2_9 IID_ICoreWebView2_9 "{}" #comfunc global ICoreWebView2_9_add_IsDefaultDownloadDialogOpenChanged 88 sptr,sptr #comfunc global ICoreWebView2_9_remove_IsDefaultDownloadDialogOpenChanged 89 int #comfunc global ICoreWebView2_9_get_IsDefaultDownloadDialogOpen 90 sptr #comfunc global ICoreWebView2_9_OpenDefaultDownloadDialog 91 int #comfunc global ICoreWebView2_9_CloseDefaultDownloadDialog 92 int #comfunc global ICoreWebView2_9_get_DefaultDownloadDialogCornerAlignment 93 sptr #comfunc global ICoreWebView2_9_put_DefaultDownloadDialogCornerAlignment 94 int #comfunc global ICoreWebView2_9_get_DefaultDownloadDialogMargin 95 sptr #comfunc global ICoreWebView2_9_put_DefaultDownloadDialogMargin 96 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
関連項目
バージョン違い・関連インターフェース
- i ICoreWebView2
- i ICoreWebView2_2
- i ICoreWebView2_3
- i ICoreWebView2_4
- i ICoreWebView2_5
- i ICoreWebView2_6
- i ICoreWebView2_7
- i ICoreWebView2_8
- 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