Struct webview2_com_sys::Microsoft::Web::WebView2::Win32::ICoreWebView2ContextMenuRequestedEventArgs
source · #[repr(transparent)]pub struct ICoreWebView2ContextMenuRequestedEventArgs(_);
Implementations§
source§impl ICoreWebView2ContextMenuRequestedEventArgs
impl ICoreWebView2ContextMenuRequestedEventArgs
pub unsafe fn MenuItems(&self) -> Result<ICoreWebView2ContextMenuItemCollection>
pub unsafe fn ContextMenuTarget(&self) -> Result<ICoreWebView2ContextMenuTarget>
pub unsafe fn Location(&self, value: *mut POINT) -> Result<()>
pub unsafe fn SetSelectedCommandId(&self, value: i32) -> Result<()>
pub unsafe fn SelectedCommandId(&self, value: *mut i32) -> Result<()>
pub unsafe fn SetHandled<P0>(&self, value: P0) -> Result<()>where P0: IntoParam<BOOL>,
pub unsafe fn Handled(&self, value: *mut BOOL) -> Result<()>
pub unsafe fn GetDeferral(&self) -> Result<ICoreWebView2Deferral>
Trait Implementations§
source§impl ComInterface for ICoreWebView2ContextMenuRequestedEventArgs
impl ComInterface for ICoreWebView2ContextMenuRequestedEventArgs
source§impl Interface for ICoreWebView2ContextMenuRequestedEventArgs
impl Interface for ICoreWebView2ContextMenuRequestedEventArgs
type Vtable = ICoreWebView2ContextMenuRequestedEventArgs_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.