Struct IActiveIME2
pub struct IActiveIME2(/* private fields */);
Implementations§
Methods from Deref<Target = IActiveIME>§
pub unsafe fn Inquire( &self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: PWSTR, pdwprivate: *mut u32, ) -> Result<()>
pub unsafe fn ConversionList<P1>(
&self,
himc: HIMC,
szsource: P1,
uflag: u32,
ubuflen: u32,
pdest: *mut CANDIDATELIST,
pucopied: *mut u32,
) -> Result<()>where
P1: Param<PCWSTR>,
pub unsafe fn Configure( &self, hkl: HKL, hwnd: HWND, dwmode: u32, pregisterword: *const REGISTERWORDW, ) -> Result<()>
pub unsafe fn Destroy(&self, ureserved: u32) -> Result<()>
pub unsafe fn Escape( &self, himc: HIMC, uescape: u32, pdata: *mut c_void, plresult: *mut LRESULT, ) -> Result<()>
pub unsafe fn SetActiveContext(&self, himc: HIMC, fflag: bool) -> Result<()>
pub unsafe fn ProcessKey( &self, himc: HIMC, uvirkey: u32, lparam: u32, pbkeystate: *const u8, ) -> Result<()>
pub unsafe fn Notify( &self, himc: HIMC, dwaction: u32, dwindex: u32, dwvalue: u32, ) -> Result<()>
pub unsafe fn Select(&self, himc: HIMC, fselect: bool) -> Result<()>
pub unsafe fn SetCompositionString( &self, himc: HIMC, dwindex: u32, pcomp: *const c_void, dwcomplen: u32, pread: *const c_void, dwreadlen: u32, ) -> Result<()>
pub unsafe fn ToAsciiEx( &self, uvirkey: u32, uscancode: u32, pbkeystate: *const u8, fustate: u32, himc: HIMC, pdwtransbuf: *mut u32, pusize: *mut u32, ) -> Result<()>
pub unsafe fn RegisterWord<P0, P2>(
&self,
szreading: P0,
dwstyle: u32,
szstring: P2,
) -> Result<()>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn UnregisterWord<P0, P2>(
&self,
szreading: P0,
dwstyle: u32,
szstring: P2,
) -> Result<()>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn GetRegisterWordStyle( &self, nitem: u32, pstylebuf: *mut STYLEBUFW, pubufsize: *mut u32, ) -> Result<()>
pub unsafe fn EnumRegisterWord<P0, P2>(
&self,
szreading: P0,
dwstyle: u32,
szregister: P2,
pdata: *const c_void,
) -> Result<IEnumRegisterWordW>where
P0: Param<PCWSTR>,
P2: Param<PCWSTR>,
pub unsafe fn GetCodePageA(&self) -> Result<u32>
pub unsafe fn GetLangId(&self) -> Result<u16>
Trait Implementations§
§impl CanInto<IActiveIME> for IActiveIME2
impl CanInto<IActiveIME> for IActiveIME2
§impl CanInto<IUnknown> for IActiveIME2
impl CanInto<IUnknown> for IActiveIME2
§impl Clone for IActiveIME2
impl Clone for IActiveIME2
§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 more§impl Debug for IActiveIME2
impl Debug for IActiveIME2
§impl Deref for IActiveIME2
impl Deref for IActiveIME2
§impl From<&IActiveIME2> for &IActiveIME
impl From<&IActiveIME2> for &IActiveIME
§fn from(value: &IActiveIME2) -> Self
fn from(value: &IActiveIME2) -> Self
Converts to this type from the input type.
§impl From<&IActiveIME2> for &IUnknown
impl From<&IActiveIME2> for &IUnknown
§fn from(value: &IActiveIME2) -> Self
fn from(value: &IActiveIME2) -> Self
Converts to this type from the input type.
§impl From<IActiveIME2> for IActiveIME
impl From<IActiveIME2> for IActiveIME
§fn from(value: IActiveIME2) -> Self
fn from(value: IActiveIME2) -> Self
Converts to this type from the input type.
§impl From<IActiveIME2> for IUnknown
impl From<IActiveIME2> for IUnknown
§fn from(value: IActiveIME2) -> Self
fn from(value: IActiveIME2) -> Self
Converts to this type from the input type.
§impl Interface for IActiveIME2
impl Interface for IActiveIME2
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§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> 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