Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2ScriptDialogOpeningEventArgs
source · #[repr(transparent)]pub struct ICoreWebView2ScriptDialogOpeningEventArgs(_);
Implementations§
source§impl ICoreWebView2ScriptDialogOpeningEventArgs
impl ICoreWebView2ScriptDialogOpeningEventArgs
pub unsafe fn Uri(&self, uri: *mut PWSTR) -> Result<()>
pub unsafe fn Kind( &self, kind: *mut COREWEBVIEW2_SCRIPT_DIALOG_KIND ) -> Result<()>
pub unsafe fn Message(&self, message: *mut PWSTR) -> Result<()>
pub unsafe fn Accept(&self) -> Result<()>
pub unsafe fn DefaultText(&self, defaulttext: *mut PWSTR) -> Result<()>
pub unsafe fn ResultText(&self, resulttext: *mut PWSTR) -> Result<()>
pub unsafe fn SetResultText<P0>(&self, resulttext: P0) -> Result<()>where P0: Into<InParam<PCWSTR>>,
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>
Trait Implementations§
source§impl From<&ICoreWebView2ScriptDialogOpeningEventArgs> for &IUnknown
impl From<&ICoreWebView2ScriptDialogOpeningEventArgs> for &IUnknown
source§fn from(value: &ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
fn from(value: &ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
Converts to this type from the input type.
source§impl From<&ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
impl From<&ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
source§fn from(value: &ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
fn from(value: &ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
Converts to this type from the input type.
source§impl From<ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
impl From<ICoreWebView2ScriptDialogOpeningEventArgs> for IUnknown
source§fn from(value: ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
fn from(value: ICoreWebView2ScriptDialogOpeningEventArgs) -> Self
Converts to this type from the input type.
source§impl Interface for ICoreWebView2ScriptDialogOpeningEventArgs
impl Interface for ICoreWebView2ScriptDialogOpeningEventArgs
source§impl PartialEq<ICoreWebView2ScriptDialogOpeningEventArgs> for ICoreWebView2ScriptDialogOpeningEventArgs
impl PartialEq<ICoreWebView2ScriptDialogOpeningEventArgs> for ICoreWebView2ScriptDialogOpeningEventArgs
source§impl Vtable for ICoreWebView2ScriptDialogOpeningEventArgs
impl Vtable for ICoreWebView2ScriptDialogOpeningEventArgs
type Vtable = ICoreWebView2ScriptDialogOpeningEventArgs_Vtbl
source§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.source§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.