Trait ITfInputProcessorProfileMgr_Impl
pub trait ITfInputProcessorProfileMgr_Impl: IUnknownImpl {
// Required methods
fn ActivateProfile(
&self,
dwprofiletype: u32,
langid: u16,
clsid: *const GUID,
guidprofile: *const GUID,
hkl: HKL,
dwflags: u32,
) -> Result<()>;
fn DeactivateProfile(
&self,
dwprofiletype: u32,
langid: u16,
clsid: *const GUID,
guidprofile: *const GUID,
hkl: HKL,
dwflags: u32,
) -> Result<()>;
fn GetProfile(
&self,
dwprofiletype: u32,
langid: u16,
clsid: *const GUID,
guidprofile: *const GUID,
hkl: HKL,
pprofile: *mut TF_INPUTPROCESSORPROFILE,
) -> Result<()>;
fn EnumProfiles(&self, langid: u16) -> Result<IEnumTfInputProcessorProfiles>;
fn ReleaseInputProcessor(
&self,
rclsid: *const GUID,
dwflags: u32,
) -> Result<()>;
fn RegisterProfile(
&self,
rclsid: *const GUID,
langid: u16,
guidprofile: *const GUID,
pchdesc: &PCWSTR,
cchdesc: u32,
pchiconfile: &PCWSTR,
cchfile: u32,
uiconindex: u32,
hklsubstitute: HKL,
dwpreferredlayout: u32,
benabledbydefault: BOOL,
dwflags: u32,
) -> Result<()>;
fn UnregisterProfile(
&self,
rclsid: *const GUID,
langid: u16,
guidprofile: *const GUID,
dwflags: u32,
) -> Result<()>;
fn GetActiveProfile(
&self,
catid: *const GUID,
pprofile: *mut TF_INPUTPROCESSORPROFILE,
) -> Result<()>;
}
Required Methods§
fn ActivateProfile( &self, dwprofiletype: u32, langid: u16, clsid: *const GUID, guidprofile: *const GUID, hkl: HKL, dwflags: u32, ) -> Result<()>
fn DeactivateProfile( &self, dwprofiletype: u32, langid: u16, clsid: *const GUID, guidprofile: *const GUID, hkl: HKL, dwflags: u32, ) -> Result<()>
fn GetProfile( &self, dwprofiletype: u32, langid: u16, clsid: *const GUID, guidprofile: *const GUID, hkl: HKL, pprofile: *mut TF_INPUTPROCESSORPROFILE, ) -> Result<()>
fn EnumProfiles(&self, langid: u16) -> Result<IEnumTfInputProcessorProfiles>
fn ReleaseInputProcessor(&self, rclsid: *const GUID, dwflags: u32) -> Result<()>
fn RegisterProfile( &self, rclsid: *const GUID, langid: u16, guidprofile: *const GUID, pchdesc: &PCWSTR, cchdesc: u32, pchiconfile: &PCWSTR, cchfile: u32, uiconindex: u32, hklsubstitute: HKL, dwpreferredlayout: u32, benabledbydefault: BOOL, dwflags: u32, ) -> Result<()>
fn UnregisterProfile( &self, rclsid: *const GUID, langid: u16, guidprofile: *const GUID, dwflags: u32, ) -> Result<()>
fn GetActiveProfile( &self, catid: *const GUID, pprofile: *mut TF_INPUTPROCESSORPROFILE, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.