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