windows::Win32::System::Mmc

Trait IComponent_Impl

pub trait IComponent_Impl: IUnknownImpl {
    // Required methods
    fn Initialize(&self, lpconsole: Ref<'_, IConsole>) -> Result<()>;
    fn Notify(
        &self,
        lpdataobject: Ref<'_, IDataObject>,
        event: MMC_NOTIFY_TYPE,
        arg: LPARAM,
        param3: LPARAM,
    ) -> Result<()>;
    fn Destroy(&self, cookie: isize) -> Result<()>;
    fn QueryDataObject(
        &self,
        cookie: isize,
        type: DATA_OBJECT_TYPES,
    ) -> Result<IDataObject>;
    fn GetResultViewType(
        &self,
        cookie: isize,
        ppviewtype: *mut PWSTR,
        pviewoptions: *mut i32,
    ) -> Result<()>;
    fn GetDisplayInfo(&self, presultdataitem: *mut RESULTDATAITEM) -> Result<()>;
    fn CompareObjects(
        &self,
        lpdataobjecta: Ref<'_, IDataObject>,
        lpdataobjectb: Ref<'_, IDataObject>,
    ) -> Result<()>;
}

Required Methods§

fn Initialize(&self, lpconsole: Ref<'_, IConsole>) -> Result<()>

fn Notify( &self, lpdataobject: Ref<'_, IDataObject>, event: MMC_NOTIFY_TYPE, arg: LPARAM, param3: LPARAM, ) -> Result<()>

fn Destroy(&self, cookie: isize) -> Result<()>

fn QueryDataObject( &self, cookie: isize, type: DATA_OBJECT_TYPES, ) -> Result<IDataObject>

fn GetResultViewType( &self, cookie: isize, ppviewtype: *mut PWSTR, pviewoptions: *mut i32, ) -> Result<()>

fn GetDisplayInfo(&self, presultdataitem: *mut RESULTDATAITEM) -> Result<()>

fn CompareObjects( &self, lpdataobjecta: Ref<'_, IDataObject>, lpdataobjectb: 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§