pub trait ITfInputProcessorProfileMgr_Impl: Sized {
// 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<()>
Object Safety§
This trait is not object safe.