Trait webview2_sys::ICoreWebView2NavigationCompletedEventArgs[][src]

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

Event args for the NavigationCompleted event.

Required methods

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

TRUE when the navigation is successful. 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 may also be FALSE for additional scenarios such as window.stop() run on navigated page.

unsafe fn get_web_error_status(
    &self,
    web_error_status: *mut WebErrorStatus
) -> HRESULT
[src]

The error code if the navigation failed.

unsafe fn get_navigation_id(&self, navigation_id: *mut u64) -> HRESULT[src]

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...