Trait windows::Win32::UI::TextServices::ITfKeystrokeMgr_Impl

pub trait ITfKeystrokeMgr_Impl: Sized {
Show 14 methods // Required methods fn AdviseKeyEventSink( &self, tid: u32, psink: Option<&ITfKeyEventSink>, fforeground: BOOL, ) -> Result<()>; fn UnadviseKeyEventSink(&self, tid: u32) -> Result<()>; fn GetForeground(&self) -> Result<GUID>; fn TestKeyDown(&self, wparam: WPARAM, lparam: LPARAM) -> Result<BOOL>; fn TestKeyUp(&self, wparam: WPARAM, lparam: LPARAM) -> Result<BOOL>; fn KeyDown(&self, wparam: WPARAM, lparam: LPARAM) -> Result<BOOL>; fn KeyUp(&self, wparam: WPARAM, lparam: LPARAM) -> Result<BOOL>; fn GetPreservedKey( &self, pic: Option<&ITfContext>, pprekey: *const TF_PRESERVEDKEY, ) -> Result<GUID>; fn IsPreservedKey( &self, rguid: *const GUID, pprekey: *const TF_PRESERVEDKEY, ) -> Result<BOOL>; fn PreserveKey( &self, tid: u32, rguid: *const GUID, prekey: *const TF_PRESERVEDKEY, pchdesc: &PCWSTR, cchdesc: u32, ) -> Result<()>; fn UnpreserveKey( &self, rguid: *const GUID, pprekey: *const TF_PRESERVEDKEY, ) -> Result<()>; fn SetPreservedKeyDescription( &self, rguid: *const GUID, pchdesc: &PCWSTR, cchdesc: u32, ) -> Result<()>; fn GetPreservedKeyDescription(&self, rguid: *const GUID) -> Result<BSTR>; fn SimulatePreservedKey( &self, pic: Option<&ITfContext>, rguid: *const GUID, ) -> Result<BOOL>;
}

Required Methods§

fn AdviseKeyEventSink( &self, tid: u32, psink: Option<&ITfKeyEventSink>, fforeground: BOOL, ) -> Result<()>

fn UnadviseKeyEventSink(&self, tid: u32) -> Result<()>

fn GetForeground(&self) -> Result<GUID>

fn TestKeyDown(&self, wparam: WPARAM, lparam: LPARAM) -> Result<BOOL>

fn TestKeyUp(&self, wparam: WPARAM, lparam: LPARAM) -> Result<BOOL>

fn KeyDown(&self, wparam: WPARAM, lparam: LPARAM) -> Result<BOOL>

fn KeyUp(&self, wparam: WPARAM, lparam: LPARAM) -> Result<BOOL>

fn GetPreservedKey( &self, pic: Option<&ITfContext>, pprekey: *const TF_PRESERVEDKEY, ) -> Result<GUID>

fn IsPreservedKey( &self, rguid: *const GUID, pprekey: *const TF_PRESERVEDKEY, ) -> Result<BOOL>

fn PreserveKey( &self, tid: u32, rguid: *const GUID, prekey: *const TF_PRESERVEDKEY, pchdesc: &PCWSTR, cchdesc: u32, ) -> Result<()>

fn UnpreserveKey( &self, rguid: *const GUID, pprekey: *const TF_PRESERVEDKEY, ) -> Result<()>

fn SetPreservedKeyDescription( &self, rguid: *const GUID, pchdesc: &PCWSTR, cchdesc: u32, ) -> Result<()>

fn GetPreservedKeyDescription(&self, rguid: *const GUID) -> Result<BSTR>

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

Object Safety§

This trait is not object safe.

Implementors§