windows::Win32::System::Mmc

Trait IExtendContextMenu_Impl

pub trait IExtendContextMenu_Impl: IUnknownImpl {
    // Required methods
    fn AddMenuItems(
        &self,
        pidataobject: Ref<'_, IDataObject>,
        picallback: Ref<'_, IContextMenuCallback>,
        pinsertionallowed: *mut i32,
    ) -> Result<()>;
    fn Command(
        &self,
        lcommandid: i32,
        pidataobject: Ref<'_, IDataObject>,
    ) -> Result<()>;
}

Required Methods§

fn AddMenuItems( &self, pidataobject: Ref<'_, IDataObject>, picallback: Ref<'_, IContextMenuCallback>, pinsertionallowed: *mut i32, ) -> Result<()>

fn Command( &self, lcommandid: i32, pidataobject: Ref<'_, IDataObject>, ) -> Result<()>

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.

Implementors§