Trait windows::Win32::System::Mmc::IMenuButton_Impl

pub trait IMenuButton_Impl: Sized {
    // Required methods
    fn AddButton(
        &self,
        idcommand: i32,
        lpbuttontext: &PCWSTR,
        lptooltiptext: &PCWSTR,
    ) -> Result<()>;
    fn SetButton(
        &self,
        idcommand: i32,
        lpbuttontext: &PCWSTR,
        lptooltiptext: &PCWSTR,
    ) -> Result<()>;
    fn SetButtonState(
        &self,
        idcommand: i32,
        nstate: MMC_BUTTON_STATE,
        bstate: BOOL,
    ) -> Result<()>;
}

Required Methods§

fn AddButton( &self, idcommand: i32, lpbuttontext: &PCWSTR, lptooltiptext: &PCWSTR, ) -> Result<()>

fn SetButton( &self, idcommand: i32, lpbuttontext: &PCWSTR, lptooltiptext: &PCWSTR, ) -> Result<()>

fn SetButtonState( &self, idcommand: i32, nstate: MMC_BUTTON_STATE, bstate: BOOL, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§