ICoreWebView2SaveFileSecurityCheckStartingEventArgs
COMメソッド 8
vtbl = vtable インデックス(0始まり)。HSP等からインデックス指定でCOMメソッドを呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT get_CancelSave(BOOL* value)
| value | BOOL* | out | ファイル保存をキャンセルするかどうかを受け取る出力先へのポインタである。 |
vtbl 4 HRESULT put_CancelSave(BOOL value)
| value | BOOL | in | ファイル保存をキャンセルするかどうかを指定する。 |
vtbl 5 HRESULT get_DocumentOriginUri(LPWSTR* value)
| value | LPWSTR* | out | 保存を要求したドキュメントのオリジン URI を受け取る出力先へのポインタである。 |
vtbl 6 HRESULT get_FileExtension(LPWSTR* value)
| value | LPWSTR* | out | 保存対象ファイルの拡張子を受け取る出力先へのポインタである。 |
vtbl 7 HRESULT get_FilePath(LPWSTR* value)
| value | LPWSTR* | out | 保存対象ファイルのパスを受け取る出力先へのポインタである。 |
vtbl 8 HRESULT get_SuppressDefaultPolicy(BOOL* value)
| value | BOOL* | out | 既定のセキュリティポリシーによるチェックを抑制するかどうかを受け取る出力先へのポインタである。 |
vtbl 9 HRESULT put_SuppressDefaultPolicy(BOOL value)
| value | BOOL | in | 既定のセキュリティポリシーによるチェックを抑制するかどうかを指定する。 |
vtbl 10 HRESULT GetDeferral(ICoreWebView2Deferral** value)
| value | ICoreWebView2Deferral** | out | イベントを非同期に処理するための遅延(Deferral)オブジェクトを受け取る出力先へのポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。WebView2 のインターフェースは環境/ローダ経由で取得するため #usecom 末尾は "{}"。
出力引数:
#define global IID_ICoreWebView2SaveFileSecurityCheckStartingEventArgs "{CF4FF1D1-5A67-5660-8D63-EF699881EA65}" #usecom global ICoreWebView2SaveFileSecurityCheckStartingEventArgs IID_ICoreWebView2SaveFileSecurityCheckStartingEventArgs "{}" #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_CancelSave 3 var #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_put_CancelSave 4 int #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_DocumentOriginUri 5 var #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_FileExtension 6 var #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_FilePath 7 var #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_SuppressDefaultPolicy 8 var #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_put_SuppressDefaultPolicy 9 int #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_GetDeferral 10 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ICoreWebView2SaveFileSecurityCheckStartingEventArgs "{CF4FF1D1-5A67-5660-8D63-EF699881EA65}" #usecom global ICoreWebView2SaveFileSecurityCheckStartingEventArgs IID_ICoreWebView2SaveFileSecurityCheckStartingEventArgs "{}" #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_CancelSave 3 sptr #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_put_CancelSave 4 int #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_DocumentOriginUri 5 sptr #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_FileExtension 6 sptr #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_FilePath 7 sptr #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_get_SuppressDefaultPolicy 8 sptr #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_put_SuppressDefaultPolicy 9 int #comfunc global ICoreWebView2SaveFileSecurityCheckStartingEventArgs_GetDeferral 10 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。