[][src]Trait webview2_sys::ICoreWebView2NavigationCompletedEventArgs

pub trait ICoreWebView2NavigationCompletedEventArgs: IUnknown {
    unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT;
unsafe fn get_web_error_status(
        &self,
        core_webview2_web_error_status: *mut WebErrorStatus
    ) -> HRESULT;
unsafe fn get_navigation_id(&self, navigation_id: *mut UINT64) -> HRESULT; }

Event args for the NavigationCompleted event.

Required methods

unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT

True when the navigation is successful. This is false for a navigation that ended up in an error page (failures due to no network, DNS lookup failure, HTTP server responds with 4xx), but could also be false for additional things such as window.stop() called on navigated page.

unsafe fn get_web_error_status(
    &self,
    core_webview2_web_error_status: *mut WebErrorStatus
) -> HRESULT

The error code if the navigation failed.

unsafe fn get_navigation_id(&self, navigation_id: *mut UINT64) -> HRESULT

The ID of the navigation.

Loading content...

Trait Implementations

impl ComInterface for dyn ICoreWebView2NavigationCompletedEventArgs[src]

type VTable = ICoreWebView2NavigationCompletedEventArgsVTable

A COM compatible V-Table

type Super = dyn IUnknown

The interface that this interface inherits from

impl<C: ICoreWebView2NavigationCompletedEventArgs> ProductionComInterface<C> for dyn ICoreWebView2NavigationCompletedEventArgs[src]

Implementations on Foreign Types

impl<T: ICoreWebView2NavigationCompletedEventArgs + ComInterface + ?Sized> ICoreWebView2NavigationCompletedEventArgs for ComRc<T>[src]

impl<T: ICoreWebView2NavigationCompletedEventArgs + ComInterface + ?Sized> ICoreWebView2NavigationCompletedEventArgs for ComPtr<T>[src]

Loading content...

Implementors

Loading content...