Trait webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Environment_Impl
source · [−]pub trait ICoreWebView2Environment_Impl {
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>;
}
Required Methods
sourcefn CreateCoreWebView2Controller(
fn CreateCoreWebView2Controller(
&self,
parentwindow: HWND,
handler: &Option<ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>
) -> Result<(), Error>
sourcefn CreateWebResourceResponse(
fn CreateWebResourceResponse(
&self,
content: &Option<IStream>,
statuscode: i32,
reasonphrase: &PCWSTR,
headers: &PCWSTR
) -> Result<ICoreWebView2WebResourceResponse, Error>
sourcefn add_NewBrowserVersionAvailable(
fn add_NewBrowserVersionAvailable(
&self,
eventhandler: &Option<ICoreWebView2NewBrowserVersionAvailableEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>
sourcefn remove_NewBrowserVersionAvailable(