pub trait ICoreWebView2NavigationCompletedEventArgs: IUnknown {
// Required methods
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;
}Expand description
Event args for the NavigationCompleted event.
Required Methods§
Sourceunsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT
unsafe fn get_is_success(&self, is_success: *mut BOOL) -> HRESULT
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.
Sourceunsafe fn get_web_error_status(
&self,
web_error_status: *mut WebErrorStatus,
) -> HRESULT
unsafe fn get_web_error_status( &self, web_error_status: *mut WebErrorStatus, ) -> HRESULT
The error code if the navigation failed.
The ID of the navigation.
Trait Implementations§
Source§const IID: IID = IID_ICORE_WEB_VIEW2_NAVIGATION_COMPLETED_EVENT_ARGS
const IID: IID = IID_ICORE_WEB_VIEW2_NAVIGATION_COMPLETED_EVENT_ARGS
The associated id for this interface
Source§type VTable = ICoreWebView2NavigationCompletedEventArgsVTable
type VTable = ICoreWebView2NavigationCompletedEventArgsVTable
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