Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2_8
source · [−]#[repr(transparent)]pub struct ICoreWebView2_8(_);
Implementations
sourceimpl ICoreWebView2_8
impl ICoreWebView2_8
pub unsafe fn Settings(&self) -> Result<ICoreWebView2Settings>
pub unsafe fn Source(&self, uri: *mut PWSTR) -> Result<()>
pub unsafe fn add_ContentLoading<'a, Param0: IntoParam<'a, ICoreWebView2ContentLoadingEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_ContentLoading<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_SourceChanged<'a, Param0: IntoParam<'a, ICoreWebView2SourceChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_SourceChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_HistoryChanged<'a, Param0: IntoParam<'a, ICoreWebView2HistoryChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_HistoryChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_ScriptDialogOpening<'a, Param0: IntoParam<'a, ICoreWebView2ScriptDialogOpeningEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_ScriptDialogOpening<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_PermissionRequested<'a, Param0: IntoParam<'a, ICoreWebView2PermissionRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_PermissionRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_ProcessFailed<'a, Param0: IntoParam<'a, ICoreWebView2ProcessFailedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_ProcessFailed<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn AddScriptToExecuteOnDocumentCreated<'a, Param0: IntoParam<'a, PCWSTR>, Param1: IntoParam<'a, ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler>>(
&self,
javascript: Param0,
handler: Param1
) -> Result<()>
pub unsafe fn RemoveScriptToExecuteOnDocumentCreated<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
id: Param0
) -> Result<()>
pub unsafe fn ExecuteScript<'a, Param0: IntoParam<'a, PCWSTR>, 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 Reload(&self) -> Result<()>
pub unsafe fn PostWebMessageAsJson<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
webmessageasjson: Param0
) -> Result<()>
pub unsafe fn PostWebMessageAsString<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
webmessageasstring: Param0
) -> Result<()>
pub unsafe fn add_WebMessageReceived<'a, Param0: IntoParam<'a, ICoreWebView2WebMessageReceivedEventHandler>>(
&self,
handler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_WebMessageReceived<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn CallDevToolsProtocolMethod<'a, Param0: IntoParam<'a, PCWSTR>, Param1: IntoParam<'a, PCWSTR>, Param2: IntoParam<'a, ICoreWebView2CallDevToolsProtocolMethodCompletedHandler>>(
&self,
methodname: Param0,
parametersasjson: Param1,
handler: Param2
) -> Result<()>
pub unsafe fn BrowserProcessId(&self, value: *mut u32) -> Result<()>
pub unsafe fn CanGoBack(&self, cangoback: *mut BOOL) -> Result<()>
pub unsafe fn CanGoForward(&self, cangoforward: *mut BOOL) -> Result<()>
pub unsafe fn GoBack(&self) -> Result<()>
pub unsafe fn GoForward(&self) -> Result<()>
pub unsafe fn GetDevToolsProtocolEventReceiver<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
eventname: Param0
) -> Result<ICoreWebView2DevToolsProtocolEventReceiver>
pub unsafe fn Stop(&self) -> Result<()>
pub unsafe fn add_NewWindowRequested<'a, Param0: IntoParam<'a, ICoreWebView2NewWindowRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_NewWindowRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_DocumentTitleChanged<'a, Param0: IntoParam<'a, ICoreWebView2DocumentTitleChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_DocumentTitleChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn DocumentTitle(&self, title: *mut PWSTR) -> Result<()>
pub unsafe fn AddHostObjectToScript<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
name: Param0,
object: *mut VARIANT
) -> Result<()>
pub unsafe fn RemoveHostObjectFromScript<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
name: Param0
) -> Result<()>
pub unsafe fn OpenDevToolsWindow(&self) -> Result<()>
pub unsafe fn add_ContainsFullScreenElementChanged<'a, Param0: IntoParam<'a, ICoreWebView2ContainsFullScreenElementChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_ContainsFullScreenElementChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn ContainsFullScreenElement(
&self,
containsfullscreenelement: *mut BOOL
) -> Result<()>
pub unsafe fn add_WebResourceRequested<'a, Param0: IntoParam<'a, ICoreWebView2WebResourceRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_WebResourceRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn AddWebResourceRequestedFilter<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
uri: Param0,
resourcecontext: COREWEBVIEW2_WEB_RESOURCE_CONTEXT
) -> Result<()>
pub unsafe fn RemoveWebResourceRequestedFilter<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
uri: Param0,
resourcecontext: COREWEBVIEW2_WEB_RESOURCE_CONTEXT
) -> Result<()>
pub unsafe fn add_WindowCloseRequested<'a, Param0: IntoParam<'a, ICoreWebView2WindowCloseRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_WindowCloseRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_WebResourceResponseReceived<'a, Param0: IntoParam<'a, ICoreWebView2WebResourceResponseReceivedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_WebResourceResponseReceived<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_DOMContentLoaded<'a, Param0: IntoParam<'a, ICoreWebView2DOMContentLoadedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_DOMContentLoaded<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn CookieManager(&self) -> Result<ICoreWebView2CookieManager>
pub unsafe fn Environment(&self) -> Result<ICoreWebView2Environment>
pub unsafe fn TrySuspend<'a, Param0: IntoParam<'a, ICoreWebView2TrySuspendCompletedHandler>>(
&self,
handler: Param0
) -> Result<()>
pub unsafe fn Resume(&self) -> Result<()>
pub unsafe fn IsSuspended(&self, issuspended: *mut BOOL) -> Result<()>
pub unsafe fn SetVirtualHostNameToFolderMapping<'a, Param0: IntoParam<'a, PCWSTR>, Param1: IntoParam<'a, PCWSTR>>(
&self,
hostname: Param0,
folderpath: Param1,
accesskind: COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND
) -> Result<()>
pub unsafe fn ClearVirtualHostNameToFolderMapping<'a, Param0: IntoParam<'a, PCWSTR>>(
&self,
hostname: Param0
) -> Result<()>
pub unsafe fn add_FrameCreated<'a, Param0: IntoParam<'a, ICoreWebView2FrameCreatedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_FrameCreated<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_DownloadStarting<'a, Param0: IntoParam<'a, ICoreWebView2DownloadStartingEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_DownloadStarting<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn add_ClientCertificateRequested<'a, Param0: IntoParam<'a, ICoreWebView2ClientCertificateRequestedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_ClientCertificateRequested<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn OpenTaskManagerWindow(&self) -> Result<()>
pub unsafe fn PrintToPdf<'a, Param0: IntoParam<'a, PCWSTR>, Param1: IntoParam<'a, ICoreWebView2PrintSettings>, Param2: IntoParam<'a, ICoreWebView2PrintToPdfCompletedHandler>>(
&self,
resultfilepath: Param0,
printsettings: Param1,
handler: Param2
) -> Result<()>
pub unsafe fn add_IsMutedChanged<'a, Param0: IntoParam<'a, ICoreWebView2IsMutedChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_IsMutedChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn IsMuted(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn SetIsMuted<'a, Param0: IntoParam<'a, BOOL>>(
&self,
value: Param0
) -> Result<()>
pub unsafe fn add_IsDocumentPlayingAudioChanged<'a, Param0: IntoParam<'a, ICoreWebView2IsDocumentPlayingAudioChangedEventHandler>>(
&self,
eventhandler: Param0,
token: *mut EventRegistrationToken
) -> Result<()>
pub unsafe fn remove_IsDocumentPlayingAudioChanged<'a, Param0: IntoParam<'a, EventRegistrationToken>>(
&self,
token: Param0
) -> Result<()>
pub unsafe fn IsDocumentPlayingAudio(&self, value: *mut BOOL) -> Result<()>
Trait Implementations
sourceimpl Clone for ICoreWebView2_8
impl Clone for ICoreWebView2_8
sourceimpl Debug for ICoreWebView2_8
impl Debug for ICoreWebView2_8
sourceimpl From<&'_ ICoreWebView2_10> for ICoreWebView2_8
impl From<&'_ ICoreWebView2_10> for ICoreWebView2_8
sourcefn from(value: &ICoreWebView2_10) -> Self
fn from(value: &ICoreWebView2_10) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_11> for ICoreWebView2_8
impl From<&'_ ICoreWebView2_11> for ICoreWebView2_8
sourcefn from(value: &ICoreWebView2_11) -> Self
fn from(value: &ICoreWebView2_11) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_12> for ICoreWebView2_8
impl From<&'_ ICoreWebView2_12> for ICoreWebView2_8
sourcefn from(value: &ICoreWebView2_12) -> Self
fn from(value: &ICoreWebView2_12) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_13> for ICoreWebView2_8
impl From<&'_ ICoreWebView2_13> for ICoreWebView2_8
sourcefn from(value: &ICoreWebView2_13) -> Self
fn from(value: &ICoreWebView2_13) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_8> for IUnknown
impl From<&'_ ICoreWebView2_8> for IUnknown
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_8> for ICoreWebView2
impl From<&'_ ICoreWebView2_8> for ICoreWebView2
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_8> for ICoreWebView2_2
impl From<&'_ ICoreWebView2_8> for ICoreWebView2_2
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_8> for ICoreWebView2_3
impl From<&'_ ICoreWebView2_8> for ICoreWebView2_3
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_8> for ICoreWebView2_4
impl From<&'_ ICoreWebView2_8> for ICoreWebView2_4
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_8> for ICoreWebView2_5
impl From<&'_ ICoreWebView2_8> for ICoreWebView2_5
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_8> for ICoreWebView2_6
impl From<&'_ ICoreWebView2_8> for ICoreWebView2_6
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_8> for ICoreWebView2_7
impl From<&'_ ICoreWebView2_8> for ICoreWebView2_7
sourcefn from(value: &ICoreWebView2_8) -> Self
fn from(value: &ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<&'_ ICoreWebView2_9> for ICoreWebView2_8
impl From<&'_ ICoreWebView2_9> for ICoreWebView2_8
sourcefn from(value: &ICoreWebView2_9) -> Self
fn from(value: &ICoreWebView2_9) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_10> for ICoreWebView2_8
impl From<ICoreWebView2_10> for ICoreWebView2_8
sourcefn from(value: ICoreWebView2_10) -> Self
fn from(value: ICoreWebView2_10) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_11> for ICoreWebView2_8
impl From<ICoreWebView2_11> for ICoreWebView2_8
sourcefn from(value: ICoreWebView2_11) -> Self
fn from(value: ICoreWebView2_11) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_12> for ICoreWebView2_8
impl From<ICoreWebView2_12> for ICoreWebView2_8
sourcefn from(value: ICoreWebView2_12) -> Self
fn from(value: ICoreWebView2_12) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_13> for ICoreWebView2_8
impl From<ICoreWebView2_13> for ICoreWebView2_8
sourcefn from(value: ICoreWebView2_13) -> Self
fn from(value: ICoreWebView2_13) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for IUnknown
impl From<ICoreWebView2_8> for IUnknown
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for ICoreWebView2
impl From<ICoreWebView2_8> for ICoreWebView2
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for ICoreWebView2_2
impl From<ICoreWebView2_8> for ICoreWebView2_2
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for ICoreWebView2_3
impl From<ICoreWebView2_8> for ICoreWebView2_3
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for ICoreWebView2_4
impl From<ICoreWebView2_8> for ICoreWebView2_4
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for ICoreWebView2_5
impl From<ICoreWebView2_8> for ICoreWebView2_5
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for ICoreWebView2_6
impl From<ICoreWebView2_8> for ICoreWebView2_6
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_8> for ICoreWebView2_7
impl From<ICoreWebView2_8> for ICoreWebView2_7
sourcefn from(value: ICoreWebView2_8) -> Self
fn from(value: ICoreWebView2_8) -> Self
Converts to this type from the input type.
sourceimpl From<ICoreWebView2_9> for ICoreWebView2_8
impl From<ICoreWebView2_9> for ICoreWebView2_8
sourcefn from(value: ICoreWebView2_9) -> Self
fn from(value: ICoreWebView2_9) -> Self
Converts to this type from the input type.
sourceimpl Interface for ICoreWebView2_8
impl Interface for ICoreWebView2_8
sourceconst IID: GUID = ::windows::core::GUID::from_u128(0xe9632730_6e1e_43ab_b7b8_7b2c9e62e094)
const IID: GUID = ::windows::core::GUID::from_u128(0xe9632730_6e1e_43ab_b7b8_7b2c9e62e094)
A unique identifier representing this interface.
sourceimpl PartialEq<ICoreWebView2_8> for ICoreWebView2_8
impl PartialEq<ICoreWebView2_8> for ICoreWebView2_8
sourceimpl RuntimeName for ICoreWebView2_8
impl RuntimeName for ICoreWebView2_8
impl Eq for ICoreWebView2_8
Auto Trait Implementations
impl RefUnwindSafe for ICoreWebView2_8
impl !Send for ICoreWebView2_8
impl !Sync for ICoreWebView2_8
impl Unpin for ICoreWebView2_8
impl UnwindSafe for ICoreWebView2_8
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more