pub struct IActiveIME2(/* private fields */);
Implementations§
Source§impl IActiveIME2
impl IActiveIME2
pub unsafe fn Inquire( &self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: PWSTR, pdwprivate: *mut u32, ) -> Result<()>
pub unsafe fn ConversionList<'a>( &self, himc: impl IntoParam<'a, HIMC>, szsource: impl IntoParam<'a, PWSTR>, uflag: u32, ubuflen: u32, pdest: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn Configure<'a>( &self, hkl: impl IntoParam<'a, HKL>, hwnd: impl IntoParam<'a, HWND>, dwmode: u32, pregisterword: *mut REGISTERWORDW, ) -> Result<()>
pub unsafe fn Destroy(&self, ureserved: u32) -> Result<()>
pub unsafe fn Escape<'a>( &self, himc: impl IntoParam<'a, HIMC>, uescape: u32, pdata: *mut c_void, plresult: *mut LRESULT, ) -> Result<()>
pub unsafe fn SetActiveContext<'a>( &self, himc: impl IntoParam<'a, HIMC>, fflag: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn ProcessKey<'a>( &self, himc: impl IntoParam<'a, HIMC>, uvirkey: u32, lparam: u32, pbkeystate: *mut u8, ) -> Result<()>
pub unsafe fn Notify<'a>( &self, himc: impl IntoParam<'a, HIMC>, dwaction: u32, dwindex: u32, dwvalue: u32, ) -> Result<()>
pub unsafe fn Select<'a>( &self, himc: impl IntoParam<'a, HIMC>, fselect: impl IntoParam<'a, BOOL>, ) -> Result<()>
pub unsafe fn SetCompositionString<'a>( &self, himc: impl IntoParam<'a, HIMC>, dwindex: u32, pcomp: *mut c_void, dwcomplen: u32, pread: *mut c_void, dwreadlen: u32, ) -> Result<()>
pub unsafe fn ToAsciiEx<'a>( &self, uvirkey: u32, uscancode: u32, pbkeystate: *mut u8, fustate: u32, himc: impl IntoParam<'a, HIMC>, pdwtransbuf: *mut u32, pusize: *mut u32, ) -> Result<()>
pub unsafe fn RegisterWord<'a>( &self, szreading: impl IntoParam<'a, PWSTR>, dwstyle: u32, szstring: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn UnregisterWord<'a>( &self, szreading: impl IntoParam<'a, PWSTR>, dwstyle: u32, szstring: impl IntoParam<'a, PWSTR>, ) -> Result<()>
pub unsafe fn GetRegisterWordStyle( &self, nitem: u32, pstylebuf: *mut STYLEBUFW, pubufsize: *mut u32, ) -> Result<()>
pub unsafe fn EnumRegisterWord<'a>( &self, szreading: impl IntoParam<'a, PWSTR>, dwstyle: u32, szregister: impl IntoParam<'a, PWSTR>, pdata: *mut c_void, ) -> Result<IEnumRegisterWordW>
pub unsafe fn GetCodePageA(&self) -> Result<u32>
pub unsafe fn GetLangId(&self) -> Result<u16>
pub unsafe fn Sleep(&self) -> Result<()>
pub unsafe fn Unsleep<'a>(&self, fdead: impl IntoParam<'a, BOOL>) -> Result<()>
Trait Implementations§
Source§impl Clone for IActiveIME2
impl Clone for IActiveIME2
Source§fn clone(&self) -> IActiveIME2
fn clone(&self) -> IActiveIME2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IActiveIME2
impl Debug for IActiveIME2
Source§impl From<&IActiveIME2> for IActiveIME
impl From<&IActiveIME2> for IActiveIME
Source§fn from(value: &IActiveIME2) -> Self
fn from(value: &IActiveIME2) -> Self
Converts to this type from the input type.
Source§impl From<&IActiveIME2> for IUnknown
impl From<&IActiveIME2> for IUnknown
Source§fn from(value: &IActiveIME2) -> Self
fn from(value: &IActiveIME2) -> Self
Converts to this type from the input type.
Source§impl From<IActiveIME2> for IActiveIME
impl From<IActiveIME2> for IActiveIME
Source§fn from(value: IActiveIME2) -> Self
fn from(value: IActiveIME2) -> Self
Converts to this type from the input type.
Source§impl From<IActiveIME2> for IUnknown
impl From<IActiveIME2> for IUnknown
Source§fn from(value: IActiveIME2) -> Self
fn from(value: IActiveIME2) -> Self
Converts to this type from the input type.
Source§impl Interface for IActiveIME2
impl Interface for IActiveIME2
const IID: Guid
type Vtable = IActiveIME2_abi
Source§unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtablewhere
T: Interface,
Safety Read more
Source§unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
unsafe fn query(&self, iid: *const Guid, interface: *mut *mut c_void) -> HRESULT
Safety Read more
Source§impl PartialEq for IActiveIME2
impl PartialEq for IActiveIME2
impl Eq for IActiveIME2
impl StructuralPartialEq for IActiveIME2
Auto Trait Implementations§
impl Freeze for IActiveIME2
impl RefUnwindSafe for IActiveIME2
impl !Send for IActiveIME2
impl !Sync for IActiveIME2
impl Unpin for IActiveIME2
impl UnwindSafe for IActiveIME2
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
type DefaultType = Option<T>
Source§fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
fn ok(value: &<T as Abi>::DefaultType) -> Result<T, Error>
Converts from
Self::DefaultType
to Result<T>
.Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more