pub trait ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler: IUnknown {
// Required method
unsafe fn invoke(&self, error_code: HRESULT, id: LPCWSTR) -> HRESULT;
}
Expand description
Receives the result of the AddScriptToExecuteOnDocumentCreated
method.
Required Methods§
Trait Implementations§
Source§impl ComInterface for dyn ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler
impl ComInterface for dyn ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler
Source§const IID: IID = IID_ICORE_WEB_VIEW2_ADD_SCRIPT_TO_EXECUTE_ON_DOCUMENT_CREATED_COMPLETED_HANDLER
const IID: IID = IID_ICORE_WEB_VIEW2_ADD_SCRIPT_TO_EXECUTE_ON_DOCUMENT_CREATED_COMPLETED_HANDLER
The associated id for this interface
Source§type VTable = ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandlerVTable
type VTable = ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandlerVTable
A COM compatible V-Table
Source§fn is_iid_in_inheritance_chain(riid: &GUID) -> bool
fn is_iid_in_inheritance_chain(riid: &GUID) -> bool
Check whether a given IID is in the inheritance hierarchy of this interface