Trait windows::Win32::System::Mmc::IContextMenuProvider_Impl

pub trait IContextMenuProvider_Impl: Sized + IContextMenuCallback_Impl {
    // Required methods
    fn EmptyMenuList(&self) -> Result<()>;
    fn AddPrimaryExtensionItems(
        &self,
        piextension: Option<&IUnknown>,
        pidataobject: Option<&IDataObject>,
    ) -> Result<()>;
    fn AddThirdPartyExtensionItems(
        &self,
        pidataobject: Option<&IDataObject>,
    ) -> Result<()>;
    fn ShowContextMenu(
        &self,
        hwndparent: HWND,
        xpos: i32,
        ypos: i32,
    ) -> Result<i32>;
}

Required Methods§

fn EmptyMenuList(&self) -> Result<()>

fn AddPrimaryExtensionItems( &self, piextension: Option<&IUnknown>, pidataobject: Option<&IDataObject>, ) -> Result<()>

fn AddThirdPartyExtensionItems( &self, pidataobject: Option<&IDataObject>, ) -> Result<()>

fn ShowContextMenu(&self, hwndparent: HWND, xpos: i32, ypos: i32) -> Result<i32>

Object Safety§

This trait is not object safe.

Implementors§