pub trait ICoreWebView2FocusChangedEventHandler: IUnknown {
// Required method
unsafe fn invoke(
&self,
sender: *mut *mut ICoreWebView2ControllerVTable,
args: *mut *mut IUnknownVTable,
) -> HRESULT;
}Expand description
Receives GotFocus and LostFocus events.
Required Methods§
Sourceunsafe fn invoke(
&self,
sender: *mut *mut ICoreWebView2ControllerVTable,
args: *mut *mut IUnknownVTable,
) -> HRESULT
unsafe fn invoke( &self, sender: *mut *mut ICoreWebView2ControllerVTable, 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 ICoreWebView2FocusChangedEventHandler
impl ComInterface for dyn ICoreWebView2FocusChangedEventHandler
Source§const IID: IID = IID_ICORE_WEB_VIEW2_FOCUS_CHANGED_EVENT_HANDLER
const IID: IID = IID_ICORE_WEB_VIEW2_FOCUS_CHANGED_EVENT_HANDLER
The associated id for this interface
Source§type VTable = ICoreWebView2FocusChangedEventHandlerVTable
type VTable = ICoreWebView2FocusChangedEventHandlerVTable
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