Trait windows::Win32::UI::TextServices::ITfThreadMgr2_Impl
pub trait ITfThreadMgr2_Impl: Sized {
Show 14 methods
// Required methods
fn Activate(&self) -> Result<u32>;
fn Deactivate(&self) -> Result<()>;
fn CreateDocumentMgr(&self) -> Result<ITfDocumentMgr>;
fn EnumDocumentMgrs(&self) -> Result<IEnumTfDocumentMgrs>;
fn GetFocus(&self) -> Result<ITfDocumentMgr>;
fn SetFocus(&self, pdimfocus: Option<&ITfDocumentMgr>) -> Result<()>;
fn IsThreadFocus(&self) -> Result<BOOL>;
fn GetFunctionProvider(
&self,
clsid: *const GUID,
) -> Result<ITfFunctionProvider>;
fn EnumFunctionProviders(&self) -> Result<IEnumTfFunctionProviders>;
fn GetGlobalCompartment(&self) -> Result<ITfCompartmentMgr>;
fn ActivateEx(&self, ptid: *mut u32, dwflags: u32) -> Result<()>;
fn GetActiveFlags(&self) -> Result<u32>;
fn SuspendKeystrokeHandling(&self) -> Result<()>;
fn ResumeKeystrokeHandling(&self) -> Result<()>;
}
Required Methods§
fn Activate(&self) -> Result<u32>
fn Deactivate(&self) -> Result<()>
fn CreateDocumentMgr(&self) -> Result<ITfDocumentMgr>
fn EnumDocumentMgrs(&self) -> Result<IEnumTfDocumentMgrs>
fn GetFocus(&self) -> Result<ITfDocumentMgr>
fn SetFocus(&self, pdimfocus: Option<&ITfDocumentMgr>) -> Result<()>
fn IsThreadFocus(&self) -> Result<BOOL>
fn GetFunctionProvider(&self, clsid: *const GUID) -> Result<ITfFunctionProvider>
fn EnumFunctionProviders(&self) -> Result<IEnumTfFunctionProviders>
fn GetGlobalCompartment(&self) -> Result<ITfCompartmentMgr>
fn ActivateEx(&self, ptid: *mut u32, dwflags: u32) -> Result<()>
fn GetActiveFlags(&self) -> Result<u32>
fn SuspendKeystrokeHandling(&self) -> Result<()>
fn ResumeKeystrokeHandling(&self) -> Result<()>
Object Safety§
This trait is not object safe.