pub trait ICoreWebView2StateChangedEventHandler: IUnknown {
// Required method
unsafe fn invoke(
&self,
sender: *mut *mut ICoreWebView2DownloadOperationVTable,
args: *mut *mut IUnknownVTable,
) -> HRESULT;
}Expand description
Implements the interface to receive StateChanged event. Use the
ICoreWebView2DownloadOperation.State property to get the current state,
which can be in progress, interrupted, or completed. Use the
ICoreWebView2DownloadOperation.InterruptReason property to get the
interrupt reason if the download is interrupted.
Required Methods§
Sourceunsafe fn invoke(
&self,
sender: *mut *mut ICoreWebView2DownloadOperationVTable,
args: *mut *mut IUnknownVTable,
) -> HRESULT
unsafe fn invoke( &self, sender: *mut *mut ICoreWebView2DownloadOperationVTable, 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 ICoreWebView2StateChangedEventHandler
impl ComInterface for dyn ICoreWebView2StateChangedEventHandler
Source§const IID: IID = IID_ICORE_WEB_VIEW2_STATE_CHANGED_EVENT_HANDLER
const IID: IID = IID_ICORE_WEB_VIEW2_STATE_CHANGED_EVENT_HANDLER
The associated id for this interface
Source§type VTable = ICoreWebView2StateChangedEventHandlerVTable
type VTable = ICoreWebView2StateChangedEventHandlerVTable
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