Trait windows::Win32::UI::TextServices::ITfKeyEventSink_Impl

pub trait ITfKeyEventSink_Impl: Sized {
    // Required methods
    fn OnSetFocus(&self, fforeground: BOOL) -> Result<()>;
    fn OnTestKeyDown(
        &self,
        pic: Option<&ITfContext>,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<BOOL>;
    fn OnTestKeyUp(
        &self,
        pic: Option<&ITfContext>,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<BOOL>;
    fn OnKeyDown(
        &self,
        pic: Option<&ITfContext>,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<BOOL>;
    fn OnKeyUp(
        &self,
        pic: Option<&ITfContext>,
        wparam: WPARAM,
        lparam: LPARAM,
    ) -> Result<BOOL>;
    fn OnPreservedKey(
        &self,
        pic: Option<&ITfContext>,
        rguid: *const GUID,
    ) -> Result<BOOL>;
}

Required Methods§

fn OnSetFocus(&self, fforeground: BOOL) -> Result<()>

fn OnTestKeyDown( &self, pic: Option<&ITfContext>, wparam: WPARAM, lparam: LPARAM, ) -> Result<BOOL>

fn OnTestKeyUp( &self, pic: Option<&ITfContext>, wparam: WPARAM, lparam: LPARAM, ) -> Result<BOOL>

fn OnKeyDown( &self, pic: Option<&ITfContext>, wparam: WPARAM, lparam: LPARAM, ) -> Result<BOOL>

fn OnKeyUp( &self, pic: Option<&ITfContext>, wparam: WPARAM, lparam: LPARAM, ) -> Result<BOOL>

fn OnPreservedKey( &self, pic: Option<&ITfContext>, rguid: *const GUID, ) -> Result<BOOL>

Object Safety§

This trait is not object safe.

Implementors§