ICoreWebView2WindowCloseRequestedEventHandler

Trait ICoreWebView2WindowCloseRequestedEventHandler 

Source
pub trait ICoreWebView2WindowCloseRequestedEventHandler: IUnknown {
    // Required method
    unsafe fn invoke(
        &self,
        sender: *mut *mut ICoreWebView2VTable,
        args: *mut *mut IUnknownVTable,
    ) -> HRESULT;
}
Expand description

Receives WindowCloseRequested events.

Required Methods§

Source

unsafe fn invoke( &self, sender: *mut *mut ICoreWebView2VTable, args: *mut *mut IUnknownVTable, ) -> HRESULT

Provides the event args for the corresponding event. No event args exist and the args parameter is set to null.

Trait Implementations§

Source§

impl ComInterface for dyn ICoreWebView2WindowCloseRequestedEventHandler

Source§

const IID: IID = IID_ICORE_WEB_VIEW2_WINDOW_CLOSE_REQUESTED_EVENT_HANDLER

The associated id for this interface
Source§

type VTable = ICoreWebView2WindowCloseRequestedEventHandlerVTable

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

Source§

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

Get the vtable for a particular COM interface

Implementations on Foreign Types§

Source§

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

Source§

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

Implementors§