Trait windows::Win32::UI::TextServices::ITfContext_Impl
pub trait ITfContext_Impl: Sized {
Show 15 methods
// Required methods
fn RequestEditSession(
&self,
tid: u32,
pes: Option<&ITfEditSession>,
dwflags: TF_CONTEXT_EDIT_CONTEXT_FLAGS,
) -> Result<HRESULT>;
fn InWriteSession(&self, tid: u32) -> Result<BOOL>;
fn GetSelection(
&self,
ec: u32,
ulindex: u32,
ulcount: u32,
pselection: *mut TF_SELECTION,
pcfetched: *mut u32,
) -> Result<()>;
fn SetSelection(
&self,
ec: u32,
ulcount: u32,
pselection: *const TF_SELECTION,
) -> Result<()>;
fn GetStart(&self, ec: u32) -> Result<ITfRange>;
fn GetEnd(&self, ec: u32) -> Result<ITfRange>;
fn GetActiveView(&self) -> Result<ITfContextView>;
fn EnumViews(&self) -> Result<IEnumTfContextViews>;
fn GetStatus(&self) -> Result<TS_STATUS>;
fn GetProperty(&self, guidprop: *const GUID) -> Result<ITfProperty>;
fn GetAppProperty(
&self,
guidprop: *const GUID,
) -> Result<ITfReadOnlyProperty>;
fn TrackProperties(
&self,
prgprop: *const *const GUID,
cprop: u32,
prgappprop: *const *const GUID,
cappprop: u32,
) -> Result<ITfReadOnlyProperty>;
fn EnumProperties(&self) -> Result<IEnumTfProperties>;
fn GetDocumentMgr(&self) -> Result<ITfDocumentMgr>;
fn CreateRangeBackup(
&self,
ec: u32,
prange: Option<&ITfRange>,
) -> Result<ITfRangeBackup>;
}
Required Methods§
fn RequestEditSession( &self, tid: u32, pes: Option<&ITfEditSession>, dwflags: TF_CONTEXT_EDIT_CONTEXT_FLAGS, ) -> Result<HRESULT>
fn InWriteSession(&self, tid: u32) -> Result<BOOL>
fn GetSelection( &self, ec: u32, ulindex: u32, ulcount: u32, pselection: *mut TF_SELECTION, pcfetched: *mut u32, ) -> Result<()>
fn SetSelection( &self, ec: u32, ulcount: u32, pselection: *const TF_SELECTION, ) -> Result<()>
fn GetStart(&self, ec: u32) -> Result<ITfRange>
fn GetEnd(&self, ec: u32) -> Result<ITfRange>
fn GetActiveView(&self) -> Result<ITfContextView>
fn EnumViews(&self) -> Result<IEnumTfContextViews>
fn GetStatus(&self) -> Result<TS_STATUS>
fn GetProperty(&self, guidprop: *const GUID) -> Result<ITfProperty>
fn GetAppProperty(&self, guidprop: *const GUID) -> Result<ITfReadOnlyProperty>
fn TrackProperties( &self, prgprop: *const *const GUID, cprop: u32, prgappprop: *const *const GUID, cappprop: u32, ) -> Result<ITfReadOnlyProperty>
fn EnumProperties(&self) -> Result<IEnumTfProperties>
fn GetDocumentMgr(&self) -> Result<ITfDocumentMgr>
fn CreateRangeBackup( &self, ec: u32, prange: Option<&ITfRange>, ) -> Result<ITfRangeBackup>
Object Safety§
This trait is not object safe.