ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler

Trait ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler 

Source
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§

Source

unsafe fn invoke(&self, error_code: HRESULT, id: LPCWSTR) -> HRESULT

Provide the completion status and result of the corresponding asynchronous method.

Trait Implementations§

Source§

impl ComInterface for dyn ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler

Source§

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

A COM compatible V-Table
Source§

type Super = dyn IUnknown

The interface that this interface inherits from
Source§

fn is_iid_in_inheritance_chain(riid: &GUID) -> bool

Check whether a given IID is in the inheritance hierarchy of this interface
Source§

impl<C: ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler> ProductionComInterface<C> for dyn ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler

Source§

fn vtable<O: Offset>() -> Self::VTable

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

impl<T: ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler + ComInterface + ?Sized> ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler for ComPtr<T>

Source§

unsafe fn invoke(&self, error_code: HRESULT, id: LPCWSTR) -> HRESULT

Source§

impl<T: ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler + ComInterface + ?Sized> ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler for ComRc<T>

Source§

unsafe fn invoke(&self, error_code: HRESULT, id: LPCWSTR) -> HRESULT

Implementors§