Trait IContextMenuProvider_Impl
pub trait IContextMenuProvider_Impl: IContextMenuCallback_Impl {
// Required methods
fn EmptyMenuList(&self) -> Result<()>;
fn AddPrimaryExtensionItems(
&self,
piextension: Ref<'_, IUnknown>,
pidataobject: Ref<'_, IDataObject>,
) -> Result<()>;
fn AddThirdPartyExtensionItems(
&self,
pidataobject: Ref<'_, IDataObject>,
) -> Result<()>;
fn ShowContextMenu(
&self,
hwndparent: HWND,
xpos: i32,
ypos: i32,
) -> Result<i32>;
}
Required Methods§
fn EmptyMenuList(&self) -> Result<()>
fn AddPrimaryExtensionItems( &self, piextension: Ref<'_, IUnknown>, pidataobject: Ref<'_, IDataObject>, ) -> Result<()>
fn AddThirdPartyExtensionItems( &self, pidataobject: Ref<'_, IDataObject>, ) -> Result<()>
fn ShowContextMenu(&self, hwndparent: HWND, xpos: i32, ypos: i32) -> Result<i32>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.