windows::Win32::UI::TextServices

Trait ITfMenu_Impl

pub trait ITfMenu_Impl: IUnknownImpl {
    // Required method
    fn AddMenuItem(
        &self,
        uid: u32,
        dwflags: u32,
        hbmp: HBITMAP,
        hbmpmask: HBITMAP,
        pch: &PCWSTR,
        cch: u32,
        ppmenu: OutRef<'_, ITfMenu>,
    ) -> Result<()>;
}

Required Methods§

fn AddMenuItem( &self, uid: u32, dwflags: u32, hbmp: HBITMAP, hbmpmask: HBITMAP, pch: &PCWSTR, cch: u32, ppmenu: OutRef<'_, ITfMenu>, ) -> 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§