pub trait ICoreWebView2ContextMenuItem_Impl: Sized {
Show 13 methods
// Required methods
fn Name(&self, value: *mut PWSTR) -> Result<()>;
fn Label(&self, value: *mut PWSTR) -> Result<()>;
fn CommandId(&self, value: *mut i32) -> Result<()>;
fn ShortcutKeyDescription(&self, value: *mut PWSTR) -> Result<()>;
fn Icon(&self) -> Result<IStream>;
fn Kind(
&self,
value: *mut COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND
) -> Result<()>;
fn SetIsEnabled(&self, value: BOOL) -> Result<()>;
fn IsEnabled(&self, value: *mut BOOL) -> Result<()>;
fn SetIsChecked(&self, value: BOOL) -> Result<()>;
fn IsChecked(&self, value: *mut BOOL) -> Result<()>;
fn Children(&self) -> Result<ICoreWebView2ContextMenuItemCollection>;
fn add_CustomItemSelected(
&self,
eventhandler: Option<&ICoreWebView2CustomItemSelectedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>;
fn remove_CustomItemSelected(
&self,
token: &EventRegistrationToken
) -> Result<()>;
}