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]
&self,
web_error_status: *mut WebErrorStatus
) -> HRESULT
The error code if the navigation failed.
unsafe fn get_navigation_id(&self, navigation_id: *mut u64) -> HRESULT
[src]
The ID of the navigation.
Trait Implementations
Implementations on Foreign Types
impl<T: ICoreWebView2NavigationCompletedEventArgs + ComInterface + ?Sized> ICoreWebView2NavigationCompletedEventArgs for ComRc<T>
[src]
impl<T: ICoreWebView2NavigationCompletedEventArgs + ComInterface + ?Sized> ICoreWebView2NavigationCompletedEventArgs for ComRc<T>
[src]unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT
[src]
unsafe fn get_web_error_status(
&self,
web_error_status: *mut WebErrorStatus
) -> HRESULT
[src]
&self,
web_error_status: *mut WebErrorStatus
) -> HRESULT
unsafe fn get_navigation_id(&self, navigation_id: *mut u64) -> HRESULT
[src]
impl<T: ICoreWebView2NavigationCompletedEventArgs + ComInterface + ?Sized> ICoreWebView2NavigationCompletedEventArgs for ComPtr<T>
[src]
impl<T: ICoreWebView2NavigationCompletedEventArgs + ComInterface + ?Sized> ICoreWebView2NavigationCompletedEventArgs for ComPtr<T>
[src]unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT
[src]
unsafe fn get_web_error_status(
&self,
web_error_status: *mut WebErrorStatus
) -> HRESULT
[src]
&self,
web_error_status: *mut WebErrorStatus
) -> HRESULT