Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2NewWindowRequestedEventArgs_Impl
source · pub trait ICoreWebView2NewWindowRequestedEventArgs_Impl: Sized {
// Required methods
fn Uri(&self, uri: *mut PWSTR) -> Result<()>;
fn SetNewWindow(&self, newwindow: Option<&ICoreWebView2>) -> Result<()>;
fn NewWindow(&self) -> Result<ICoreWebView2>;
fn SetHandled(&self, handled: BOOL) -> Result<()>;
fn Handled(&self, handled: *mut BOOL) -> Result<()>;
fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<()>;
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>;
fn WindowFeatures(&self) -> Result<ICoreWebView2WindowFeatures>;
}
Required Methods§
fn Uri(&self, uri: *mut PWSTR) -> Result<()>
fn SetNewWindow(&self, newwindow: Option<&ICoreWebView2>) -> Result<()>
fn NewWindow(&self) -> Result<ICoreWebView2>
fn SetHandled(&self, handled: BOOL) -> Result<()>
fn Handled(&self, handled: *mut BOOL) -> Result<()>
fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<()>
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>
fn WindowFeatures(&self) -> Result<ICoreWebView2WindowFeatures>
Object Safety§
This trait is not object safe.