Trait windows::Win32::UI::Ribbon::IUICommandHandler_Impl

pub trait IUICommandHandler_Impl: Sized {
    // Required methods
    fn Execute(
        &self,
        commandid: u32,
        verb: UI_EXECUTIONVERB,
        key: *const PROPERTYKEY,
        currentvalue: *const PROPVARIANT,
        commandexecutionproperties: Option<&IUISimplePropertySet>,
    ) -> Result<()>;
    fn UpdateProperty(
        &self,
        commandid: u32,
        key: *const PROPERTYKEY,
        currentvalue: *const PROPVARIANT,
    ) -> Result<PROPVARIANT>;
}

Required Methods§

fn Execute( &self, commandid: u32, verb: UI_EXECUTIONVERB, key: *const PROPERTYKEY, currentvalue: *const PROPVARIANT, commandexecutionproperties: Option<&IUISimplePropertySet>, ) -> Result<()>

fn UpdateProperty( &self, commandid: u32, key: *const PROPERTYKEY, currentvalue: *const PROPVARIANT, ) -> Result<PROPVARIANT>

Object Safety§

This trait is not object safe.

Implementors§