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§
Sourceunsafe fn invoke(
&self,
sender: *mut *mut ICoreWebView2VTable,
args: *mut *mut IUnknownVTable,
) -> HRESULT
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
impl ComInterface for dyn ICoreWebView2WindowCloseRequestedEventHandler
Source§const IID: IID = IID_ICORE_WEB_VIEW2_WINDOW_CLOSE_REQUESTED_EVENT_HANDLER
const IID: IID = IID_ICORE_WEB_VIEW2_WINDOW_CLOSE_REQUESTED_EVENT_HANDLER
The associated id for this interface
Source§type VTable = ICoreWebView2WindowCloseRequestedEventHandlerVTable
type VTable = ICoreWebView2WindowCloseRequestedEventHandlerVTable
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