Trait windows::Win32::UI::TextServices::ITfLangBarItemMgr_Impl

pub trait ITfLangBarItemMgr_Impl: Sized {
    // Required methods
    fn EnumItems(&self) -> Result<IEnumTfLangBarItems>;
    fn GetItem(&self, rguid: *const GUID) -> Result<ITfLangBarItem>;
    fn AddItem(&self, punk: Option<&ITfLangBarItem>) -> Result<()>;
    fn RemoveItem(&self, punk: Option<&ITfLangBarItem>) -> Result<()>;
    fn AdviseItemSink(
        &self,
        punk: Option<&ITfLangBarItemSink>,
        pdwcookie: *mut u32,
        rguiditem: *const GUID,
    ) -> Result<()>;
    fn UnadviseItemSink(&self, dwcookie: u32) -> Result<()>;
    fn GetItemFloatingRect(
        &self,
        dwthreadid: u32,
        rguid: *const GUID,
    ) -> Result<RECT>;
    fn GetItemsStatus(
        &self,
        ulcount: u32,
        prgguid: *const GUID,
        pdwstatus: *mut u32,
    ) -> Result<()>;
    fn GetItemNum(&self) -> Result<u32>;
    fn GetItems(
        &self,
        ulcount: u32,
        ppitem: *mut Option<ITfLangBarItem>,
        pinfo: *mut TF_LANGBARITEMINFO,
        pdwstatus: *mut u32,
        pcfetched: *mut u32,
    ) -> Result<()>;
    fn AdviseItemsSink(
        &self,
        ulcount: u32,
        ppunk: *const Option<ITfLangBarItemSink>,
        pguiditem: *const GUID,
        pdwcookie: *mut u32,
    ) -> Result<()>;
    fn UnadviseItemsSink(
        &self,
        ulcount: u32,
        pdwcookie: *const u32,
    ) -> Result<()>;
}

Required Methods§

fn EnumItems(&self) -> Result<IEnumTfLangBarItems>

fn GetItem(&self, rguid: *const GUID) -> Result<ITfLangBarItem>

fn AddItem(&self, punk: Option<&ITfLangBarItem>) -> Result<()>

fn RemoveItem(&self, punk: Option<&ITfLangBarItem>) -> Result<()>

fn AdviseItemSink( &self, punk: Option<&ITfLangBarItemSink>, pdwcookie: *mut u32, rguiditem: *const GUID, ) -> Result<()>

fn UnadviseItemSink(&self, dwcookie: u32) -> Result<()>

fn GetItemFloatingRect( &self, dwthreadid: u32, rguid: *const GUID, ) -> Result<RECT>

fn GetItemsStatus( &self, ulcount: u32, prgguid: *const GUID, pdwstatus: *mut u32, ) -> Result<()>

fn GetItemNum(&self) -> Result<u32>

fn GetItems( &self, ulcount: u32, ppitem: *mut Option<ITfLangBarItem>, pinfo: *mut TF_LANGBARITEMINFO, pdwstatus: *mut u32, pcfetched: *mut u32, ) -> Result<()>

fn AdviseItemsSink( &self, ulcount: u32, ppunk: *const Option<ITfLangBarItemSink>, pguiditem: *const GUID, pdwcookie: *mut u32, ) -> Result<()>

fn UnadviseItemsSink(&self, ulcount: u32, pdwcookie: *const u32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§