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§

source

fn CreateCoreWebView2Controller( &self, parentwindow: HWND, handler: Option<&ICoreWebView2CreateCoreWebView2ControllerCompletedHandler>, ) -> Result<()>

source

fn CreateWebResourceResponse( &self, content: Option<&IStream>, statuscode: i32, reasonphrase: &PCWSTR, headers: &PCWSTR, ) -> Result<ICoreWebView2WebResourceResponse>

source

fn BrowserVersionString(&self, versioninfo: *mut PWSTR) -> Result<()>

source

fn add_NewBrowserVersionAvailable( &self, eventhandler: Option<&ICoreWebView2NewBrowserVersionAvailableEventHandler>, token: *mut EventRegistrationToken, ) -> Result<()>

source

fn remove_NewBrowserVersionAvailable( &self, token: &EventRegistrationToken, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§