Struct webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2_3 [−][src]
#[repr(transparent)]pub struct ICoreWebView2_3(_);
Implementations
pub unsafe fn ContentLoading<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2ContentLoadingEventHandler>,
pub unsafe fn RemoveContentLoading<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn SourceChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2SourceChangedEventHandler>,
pub unsafe fn RemoveSourceChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn HistoryChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2HistoryChangedEventHandler>,
pub unsafe fn RemoveHistoryChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn ScriptDialogOpening<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2ScriptDialogOpeningEventHandler>,
pub unsafe fn RemoveScriptDialogOpening<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn PermissionRequested<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2PermissionRequestedEventHandler>,
pub unsafe fn RemovePermissionRequested<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn ProcessFailed<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2ProcessFailedEventHandler>,
pub unsafe fn RemoveProcessFailed<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn AddScriptToExecuteOnDocumentCreated<'a, Param0, Param1>(
&self,
javascript: Param0,
handler: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler>,
pub unsafe fn RemoveScriptToExecuteOnDocumentCreated<'a, Param0>(
&self,
id: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn ExecuteScript<'a, Param0, Param1>(
&self,
javascript: Param0,
handler: Param1
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, ICoreWebView2ExecuteScriptCompletedHandler>,
pub unsafe fn CapturePreview<'a, Param1, Param2>(
&self,
imageformat: i32,
imagestream: Param1,
handler: Param2
) -> Result<(), Error> where
Param1: IntoParam<'a, IStream>,
Param2: IntoParam<'a, ICoreWebView2CapturePreviewCompletedHandler>,
pub unsafe fn PostWebMessageAsJson<'a, Param0>(
&self,
webmessageasjson: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn PostWebMessageAsString<'a, Param0>(
&self,
webmessageasstring: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn WebMessageReceived<'a, Param0>(
&self,
handler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2WebMessageReceivedEventHandler>,
pub unsafe fn RemoveWebMessageReceived<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn CallDevToolsProtocolMethod<'a, Param0, Param1, Param2>(
&self,
methodname: Param0,
parametersasjson: Param1,
handler: Param2
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
Param1: IntoParam<'a, PWSTR>,
Param2: IntoParam<'a, ICoreWebView2CallDevToolsProtocolMethodCompletedHandler>,
pub unsafe fn GetDevToolsProtocolEventReceiver<'a, Param0>(
&self,
eventname: Param0
) -> Result<ICoreWebView2DevToolsProtocolEventReceiver, Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn NewWindowRequested<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2NewWindowRequestedEventHandler>,
pub unsafe fn RemoveNewWindowRequested<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn DocumentTitleChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2DocumentTitleChangedEventHandler>,
pub unsafe fn RemoveDocumentTitleChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn AddHostObjectToScript<'a, Param0>(
&self,
name: Param0,
object: *mut VARIANT
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn RemoveHostObjectFromScript<'a, Param0>(
&self,
name: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn ContainsFullScreenElementChanged<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2ContainsFullScreenElementChangedEventHandler>,
pub unsafe fn RemoveContainsFullScreenElementChanged<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn ContainsFullScreenElement(
&self,
containsfullscreenelement: *mut BOOL
) -> Result<(), Error>
pub unsafe fn WebResourceRequested<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2WebResourceRequestedEventHandler>,
pub unsafe fn RemoveWebResourceRequested<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn AddWebResourceRequestedFilter<'a, Param0>(
&self,
uri: Param0,
resourcecontext: i32
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn RemoveWebResourceRequestedFilter<'a, Param0>(
&self,
uri: Param0,
resourcecontext: i32
) -> Result<(), Error> where
Param0: IntoParam<'a, PWSTR>,
pub unsafe fn WindowCloseRequested<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2WindowCloseRequestedEventHandler>,
pub unsafe fn RemoveWindowCloseRequested<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn WebResourceResponseReceived<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2WebResourceResponseReceivedEventHandler>,
pub unsafe fn RemoveWebResourceResponseReceived<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn DOMContentLoaded<'a, Param0>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2DOMContentLoadedEventHandler>,
pub unsafe fn RemoveDOMContentLoaded<'a, Param0>(
&self,
token: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, EventRegistrationToken>,
pub unsafe fn TrySuspend<'a, Param0>(
&self,
handler: Param0
) -> Result<(), Error> where
Param0: IntoParam<'a, ICoreWebView2TrySuspendCompletedHandler>,
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2_3
impl !Send for ICoreWebView2_3
impl !Sync for ICoreWebView2_3
impl Unpin for ICoreWebView2_3
impl UnwindSafe for ICoreWebView2_3
Blanket Implementations
Mutably borrows from an owned value. Read more
type DefaultType = Option<T>
Safety