ICoreWebView2ExecuteScriptCompletedHandler

Trait ICoreWebView2ExecuteScriptCompletedHandler 

Source
pub trait ICoreWebView2ExecuteScriptCompletedHandler: IUnknown {
    // Required method
    unsafe fn invoke(
        &self,
        error_code: HRESULT,
        result_object_as_json: LPCWSTR,
    ) -> HRESULT;
}
Expand description

Receives the result of the ExecuteScript method.

Required Methods§

Source

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

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

Trait Implementations§

Source§

impl ComInterface for dyn ICoreWebView2ExecuteScriptCompletedHandler

Source§

const IID: IID = IID_ICORE_WEB_VIEW2_EXECUTE_SCRIPT_COMPLETED_HANDLER

The associated id for this interface
Source§

type VTable = ICoreWebView2ExecuteScriptCompletedHandlerVTable

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: ICoreWebView2ExecuteScriptCompletedHandler> ProductionComInterface<C> for dyn ICoreWebView2ExecuteScriptCompletedHandler

Source§

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

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§