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