Trait webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2CustomSchemeRegistration_Impl
source · pub trait ICoreWebView2CustomSchemeRegistration_Impl: Sized {
// Required methods
fn SchemeName(&self, schemename: *mut PWSTR) -> Result<()>;
fn TreatAsSecure(&self, treatassecure: *mut BOOL) -> Result<()>;
fn SetTreatAsSecure(&self, value: BOOL) -> Result<()>;
fn GetAllowedOrigins(
&self,
allowedoriginscount: *mut u32,
allowedorigins: *mut *mut PWSTR,
) -> Result<()>;
fn SetAllowedOrigins(
&self,
allowedoriginscount: u32,
allowedorigins: *const PCWSTR,
) -> Result<()>;
fn HasAuthorityComponent(
&self,
hasauthoritycomponent: *mut BOOL,
) -> Result<()>;
fn SetHasAuthorityComponent(
&self,
hasauthoritycomponent: BOOL,
) -> Result<()>;
}
Required Methods§
fn SchemeName(&self, schemename: *mut PWSTR) -> Result<()>
fn TreatAsSecure(&self, treatassecure: *mut BOOL) -> Result<()>
fn SetTreatAsSecure(&self, value: BOOL) -> Result<()>
fn GetAllowedOrigins( &self, allowedoriginscount: *mut u32, allowedorigins: *mut *mut PWSTR, ) -> Result<()>
fn SetAllowedOrigins( &self, allowedoriginscount: u32, allowedorigins: *const PCWSTR, ) -> Result<()>
fn HasAuthorityComponent(&self, hasauthoritycomponent: *mut BOOL) -> Result<()>
fn SetHasAuthorityComponent(&self, hasauthoritycomponent: BOOL) -> Result<()>
Object Safety§
This trait is not object safe.