pub trait ICoreWebView2Environment_Impl: Sized {
// Required methods
fn CreateCoreWebView2Controller(
&self,
parentwindow: HWND,
handler: Option<&ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>,
) -> Result<()>;
fn CreateWebResourceResponse(
&self,
content: Option<&IStream>,
statuscode: i32,
reasonphrase: &PCWSTR,
headers: &PCWSTR,
) -> Result<ICoreWebView2WebResourceResponse>;
fn BrowserVersionString(&self, versioninfo: *mut PWSTR) -> Result<()>;
fn add_NewBrowserVersionAvailable(
&self,
eventhandler: Option<&ICoreWebView2NewBrowserVersionAvailableEventHandler>,
token: *mut EventRegistrationToken,
) -> Result<()>;
fn remove_NewBrowserVersionAvailable(
&self,
token: &EventRegistrationToken,
) -> Result<()>;
}
Required Methods§
fn CreateCoreWebView2Controller( &self, parentwindow: HWND, handler: Option<&ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>, ) -> Result<()>
fn CreateWebResourceResponse( &self, content: Option<&IStream>, statuscode: i32, reasonphrase: &PCWSTR, headers: &PCWSTR, ) -> Result<ICoreWebView2WebResourceResponse>
fn BrowserVersionString(&self, versioninfo: *mut PWSTR) -> Result<()>
fn add_NewBrowserVersionAvailable( &self, eventhandler: Option<&ICoreWebView2NewBrowserVersionAvailableEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>
fn remove_NewBrowserVersionAvailable( &self, token: &EventRegistrationToken, ) -> Result<()>
Object Safety§
This trait is not object safe.