pub trait ICoreWebView2Environment_Impl: Sized {
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
sourcefn CreateCoreWebView2Controller(
fn CreateCoreWebView2Controller(
&self,
parentwindow: HWND,
handler: &Option<ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>
) -> Result<()>
sourcefn CreateWebResourceResponse(
fn CreateWebResourceResponse(
&self,
content: &Option<IStream>,
statuscode: i32,
reasonphrase: &PCWSTR,
headers: &PCWSTR
) -> Result<ICoreWebView2WebResourceResponse>
sourcefn add_NewBrowserVersionAvailable(
fn add_NewBrowserVersionAvailable(
&self,
eventhandler: &Option<ICoreWebView2NewBrowserVersionAvailableEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>
sourcefn remove_NewBrowserVersionAvailable(