Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2_7 [−][src]
#[repr(transparent)]pub struct ICoreWebView2_7(pub IUnknown);
Tuple Fields
0: IUnknown
Implementations
pub unsafe fn ContentLoading<'a, Param0: IntoParam<'a, ICoreWebView2ContentLoadingEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveContentLoading<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn SourceChanged<'a, Param0: IntoParam<'a, ICoreWebView2SourceChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveSourceChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn HistoryChanged<'a, Param0: IntoParam<'a, ICoreWebView2HistoryChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveHistoryChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn ScriptDialogOpening<'a, Param0: IntoParam<'a, ICoreWebView2ScriptDialogOpeningEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveScriptDialogOpening<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn PermissionRequested<'a, Param0: IntoParam<'a, ICoreWebView2PermissionRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemovePermissionRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn ProcessFailed<'a, Param0: IntoParam<'a, ICoreWebView2ProcessFailedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveProcessFailed<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn AddScriptToExecuteOnDocumentCreated<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler>>(
&self,
javascript: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn RemoveScriptToExecuteOnDocumentCreated<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
id: Param0
) -> Result<()>
pub unsafe fn ExecuteScript<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, ICoreWebView2ExecuteScriptCompletedHandler>>(
&self,
javascript: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn CapturePreview<'a, Param1: IntoParam<'a, IStream>, Param2: IntoParam<'a, ICoreWebView2CapturePreviewCompletedHandler>>(
&self,
imageformat: COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT,
imagestream: Param1,
handler: Param2
) -> Result<()>
pub unsafe fn PostWebMessageAsJson<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
webmessageasjson: Param0
) -> Result<()>
pub unsafe fn PostWebMessageAsString<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
webmessageasstring: Param0
) -> Result<()>
pub unsafe fn WebMessageReceived<'a, Param0: IntoParam<'a, ICoreWebView2WebMessageReceivedEventHandler>>(
&self,
handler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveWebMessageReceived<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn CallDevToolsProtocolMethod<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, PWSTR>, Param2: IntoParam<'a, ICoreWebView2CallDevToolsProtocolMethodCompletedHandler>>(
&self,
methodname: Param0,
parametersasjson: Param1,
handler: Param2
) -> Result<()>
pub unsafe fn GetDevToolsProtocolEventReceiver<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
eventname: Param0
) -> Result<ICoreWebView2DevToolsProtocolEventReceiver>
pub unsafe fn NewWindowRequested<'a, Param0: IntoParam<'a, ICoreWebView2NewWindowRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveNewWindowRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn DocumentTitleChanged<'a, Param0: IntoParam<'a, ICoreWebView2DocumentTitleChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveDocumentTitleChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn AddHostObjectToScript<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
name: Param0,
object: *mut VARIANT
) -> Result<()>
pub unsafe fn RemoveHostObjectFromScript<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
name: Param0
) -> Result<()>
pub unsafe fn ContainsFullScreenElementChanged<'a, Param0: IntoParam<'a, ICoreWebView2ContainsFullScreenElementChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveContainsFullScreenElementChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn ContainsFullScreenElement(
&self,
containsfullscreenelement: *mut BOOL
) -> Result<()>
pub unsafe fn WebResourceRequested<'a, Param0: IntoParam<'a, ICoreWebView2WebResourceRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveWebResourceRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn AddWebResourceRequestedFilter<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
uri: Param0,
resourcecontext: COREWEBVIEW2_WEB_RESOURCE_CONTEXT
) -> Result<()>
pub unsafe fn RemoveWebResourceRequestedFilter<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
uri: Param0,
resourcecontext: COREWEBVIEW2_WEB_RESOURCE_CONTEXT
) -> Result<()>
pub unsafe fn WindowCloseRequested<'a, Param0: IntoParam<'a, ICoreWebView2WindowCloseRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveWindowCloseRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn WebResourceResponseReceived<'a, Param0: IntoParam<'a, ICoreWebView2WebResourceResponseReceivedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveWebResourceResponseReceived<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn DOMContentLoaded<'a, Param0: IntoParam<'a, ICoreWebView2DOMContentLoadedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveDOMContentLoaded<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn TrySuspend<'a, Param0: IntoParam<'a, ICoreWebView2TrySuspendCompletedHandler>>(
&self,
handler: Param0
) -> Result<()>
pub unsafe fn SetVirtualHostNameToFolderMapping<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, PWSTR>>(
&self,
hostname: Param0,
folderpath: Param1,
accesskind: COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND
) -> Result<()>
pub unsafe fn ClearVirtualHostNameToFolderMapping<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
hostname: Param0
) -> Result<()>
pub unsafe fn FrameCreated<'a, Param0: IntoParam<'a, ICoreWebView2FrameCreatedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveFrameCreated<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn DownloadStarting<'a, Param0: IntoParam<'a, ICoreWebView2DownloadStartingEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveDownloadStarting<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn ClientCertificateRequested<'a, Param0: IntoParam<'a, ICoreWebView2ClientCertificateRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn RemoveClientCertificateRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn PrintToPdf<'a, Param0: IntoParam<'a, PWSTR>, Param1: IntoParam<'a, ICoreWebView2PrintSettings>, Param2: IntoParam<'a, ICoreWebView2PrintToPdfCompletedHandler>>(
&self,
resultfilepath: Param0,
printsettings: Param1,
handler: Param2
) -> Result<()>
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.
Performs the conversion.
Performs the conversion.
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2_7
impl !Send for ICoreWebView2_7
impl !Sync for ICoreWebView2_7
impl Unpin for ICoreWebView2_7
impl UnwindSafe for ICoreWebView2_7
Blanket Implementations
Mutably borrows from an owned value. Read more
type DefaultType = Option<T>
Safety