Struct IActiveIMMIME
pub struct IActiveIMMIME(/* private fields */);
Implementations§
§impl IActiveIMMIME
impl IActiveIMMIME
pub unsafe fn AssociateContext(&self, hwnd: HWND, hime: HIMC) -> Result<HIMC>
pub unsafe fn ConfigureIMEA( &self, hkl: HKL, hwnd: HWND, dwmode: u32, pdata: *const REGISTERWORDA, ) -> Result<()>
pub unsafe fn ConfigureIMEW( &self, hkl: HKL, hwnd: HWND, dwmode: u32, pdata: *const REGISTERWORDW, ) -> Result<()>
pub unsafe fn CreateContext(&self) -> Result<HIMC>
pub unsafe fn DestroyContext(&self, hime: HIMC) -> Result<()>
pub unsafe fn EnumRegisterWordA<P1, P3>(
&self,
hkl: HKL,
szreading: P1,
dwstyle: u32,
szregister: P3,
pdata: *const c_void,
) -> Result<IEnumRegisterWordA>where
P1: Param<PCSTR>,
P3: Param<PCSTR>,
pub unsafe fn EnumRegisterWordW<P1, P3>(
&self,
hkl: HKL,
szreading: P1,
dwstyle: u32,
szregister: P3,
pdata: *const c_void,
) -> Result<IEnumRegisterWordW>where
P1: Param<PCWSTR>,
P3: Param<PCWSTR>,
pub unsafe fn EscapeA( &self, hkl: HKL, himc: HIMC, uescape: u32, pdata: *mut c_void, plresult: *mut LRESULT, ) -> Result<()>
pub unsafe fn EscapeW( &self, hkl: HKL, himc: HIMC, uescape: u32, pdata: *mut c_void, plresult: *mut LRESULT, ) -> Result<()>
pub unsafe fn GetCandidateListA( &self, himc: HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn GetCandidateListW( &self, himc: HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn GetCandidateListCountA( &self, himc: HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32, ) -> Result<()>
pub unsafe fn GetCandidateListCountW( &self, himc: HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32, ) -> Result<()>
pub unsafe fn GetCandidateWindow( &self, himc: HIMC, dwindex: u32, pcandidate: *mut CANDIDATEFORM, ) -> Result<()>
pub unsafe fn GetCompositionFontA( &self, himc: HIMC, plf: *mut LOGFONTA, ) -> Result<()>
pub unsafe fn GetCompositionFontW( &self, himc: HIMC, plf: *mut LOGFONTW, ) -> Result<()>
pub unsafe fn GetCompositionStringA( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut c_void, ) -> Result<()>
pub unsafe fn GetCompositionStringW( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut c_void, ) -> Result<()>
pub unsafe fn GetCompositionWindow( &self, himc: HIMC, pcompform: *mut COMPOSITIONFORM, ) -> Result<()>
pub unsafe fn GetContext(&self, hwnd: HWND) -> Result<HIMC>
pub unsafe fn GetConversionListA<P2>(
&self,
hkl: HKL,
himc: HIMC,
psrc: P2,
ubuflen: u32,
uflag: u32,
pdst: *mut CANDIDATELIST,
pucopied: *mut u32,
) -> Result<()>where
P2: Param<PCSTR>,
pub unsafe fn GetConversionListW<P2>(
&self,
hkl: HKL,
himc: HIMC,
psrc: P2,
ubuflen: u32,
uflag: u32,
pdst: *mut CANDIDATELIST,
pucopied: *mut u32,
) -> Result<()>where
P2: Param<PCWSTR>,
pub unsafe fn GetConversionStatus( &self, himc: HIMC, pfdwconversion: *mut u32, pfdwsentence: *mut u32, ) -> Result<()>
pub unsafe fn GetDefaultIMEWnd(&self, hwnd: HWND) -> Result<HWND>
pub unsafe fn GetDescriptionA( &self, hkl: HKL, ubuflen: u32, szdescription: PSTR, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn GetDescriptionW( &self, hkl: HKL, ubuflen: u32, szdescription: PWSTR, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn GetGuideLineA( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, pbuf: PSTR, pdwresult: *mut u32, ) -> Result<()>
pub unsafe fn GetGuideLineW( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, pbuf: PWSTR, pdwresult: *mut u32, ) -> Result<()>
pub unsafe fn GetIMEFileNameA( &self, hkl: HKL, ubuflen: u32, szfilename: PSTR, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn GetIMEFileNameW( &self, hkl: HKL, ubuflen: u32, szfilename: PWSTR, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn GetOpenStatus(&self, himc: HIMC) -> Result<()>
pub unsafe fn GetProperty(&self, hkl: HKL, fdwindex: u32) -> Result<u32>
pub unsafe fn GetRegisterWordStyleA( &self, hkl: HKL, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn GetRegisterWordStyleW( &self, hkl: HKL, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32, ) -> Result<()>
pub unsafe fn GetStatusWindowPos(&self, himc: HIMC) -> Result<POINT>
pub unsafe fn GetVirtualKey(&self, hwnd: HWND) -> Result<u32>
pub unsafe fn InstallIMEA<P0, P1>(
&self,
szimefilename: P0,
szlayouttext: P1,
) -> Result<HKL>where
P0: Param<PCSTR>,
P1: Param<PCSTR>,
pub unsafe fn InstallIMEW<P0, P1>(
&self,
szimefilename: P0,
szlayouttext: P1,
) -> Result<HKL>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
pub unsafe fn IsIME(&self, hkl: HKL) -> Result<()>
pub unsafe fn IsUIMessageA( &self, hwndime: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>
pub unsafe fn IsUIMessageW( &self, hwndime: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>
pub unsafe fn NotifyIME( &self, himc: HIMC, dwaction: u32, dwindex: u32, dwvalue: u32, ) -> Result<()>
pub unsafe fn RegisterWordA<P1, P3>(
&self,
hkl: HKL,
szreading: P1,
dwstyle: u32,
szregister: P3,
) -> Result<()>where
P1: Param<PCSTR>,
P3: Param<PCSTR>,
pub unsafe fn RegisterWordW<P1, P3>(
&self,
hkl: HKL,
szreading: P1,
dwstyle: u32,
szregister: P3,
) -> Result<()>where
P1: Param<PCWSTR>,
P3: Param<PCWSTR>,
pub unsafe fn ReleaseContext(&self, hwnd: HWND, himc: HIMC) -> Result<()>
pub unsafe fn SetCandidateWindow( &self, himc: HIMC, pcandidate: *const CANDIDATEFORM, ) -> Result<()>
pub unsafe fn SetCompositionFontA( &self, himc: HIMC, plf: *const LOGFONTA, ) -> Result<()>
pub unsafe fn SetCompositionFontW( &self, himc: HIMC, plf: *const LOGFONTW, ) -> Result<()>
pub unsafe fn SetCompositionStringA( &self, himc: HIMC, dwindex: u32, pcomp: *const c_void, dwcomplen: u32, pread: *const c_void, dwreadlen: u32, ) -> Result<()>
pub unsafe fn SetCompositionStringW( &self, himc: HIMC, dwindex: u32, pcomp: *const c_void, dwcomplen: u32, pread: *const c_void, dwreadlen: u32, ) -> Result<()>
pub unsafe fn SetCompositionWindow( &self, himc: HIMC, pcompform: *const COMPOSITIONFORM, ) -> Result<()>
pub unsafe fn SetConversionStatus( &self, himc: HIMC, fdwconversion: u32, fdwsentence: u32, ) -> Result<()>
pub unsafe fn SetOpenStatus(&self, himc: HIMC, fopen: bool) -> Result<()>
pub unsafe fn SetStatusWindowPos( &self, himc: HIMC, pptpos: *const POINT, ) -> Result<()>
pub unsafe fn SimulateHotKey(&self, hwnd: HWND, dwhotkeyid: u32) -> Result<()>
pub unsafe fn UnregisterWordA<P1, P3>(
&self,
hkl: HKL,
szreading: P1,
dwstyle: u32,
szunregister: P3,
) -> Result<()>where
P1: Param<PCSTR>,
P3: Param<PCSTR>,
pub unsafe fn UnregisterWordW<P1, P3>(
&self,
hkl: HKL,
szreading: P1,
dwstyle: u32,
szunregister: P3,
) -> Result<()>where
P1: Param<PCWSTR>,
P3: Param<PCWSTR>,
pub unsafe fn GenerateMessage(&self, himc: HIMC) -> Result<()>
pub unsafe fn LockIMC(&self, himc: HIMC) -> Result<*mut INPUTCONTEXT>
pub unsafe fn UnlockIMC(&self, himc: HIMC) -> Result<()>
pub unsafe fn GetIMCLockCount(&self, himc: HIMC) -> Result<u32>
pub unsafe fn CreateIMCC(&self, dwsize: u32) -> Result<HIMCC>
pub unsafe fn DestroyIMCC(&self, himcc: HIMCC) -> Result<()>
pub unsafe fn LockIMCC(&self, himcc: HIMCC, ppv: *mut *mut c_void) -> Result<()>
pub unsafe fn UnlockIMCC(&self, himcc: HIMCC) -> Result<()>
pub unsafe fn ReSizeIMCC(&self, himcc: HIMCC, dwsize: u32) -> Result<HIMCC>
pub unsafe fn GetIMCCSize(&self, himcc: HIMCC) -> Result<u32>
pub unsafe fn GetIMCCLockCount(&self, himcc: HIMCC) -> Result<u32>
pub unsafe fn GetHotKey( &self, dwhotkeyid: u32, pumodifiers: *mut u32, puvkey: *mut u32, phkl: *mut HKL, ) -> Result<()>
pub unsafe fn SetHotKey( &self, dwhotkeyid: u32, umodifiers: u32, uvkey: u32, hkl: HKL, ) -> Result<()>
pub unsafe fn CreateSoftKeyboard( &self, utype: u32, howner: HWND, x: i32, y: i32, ) -> Result<HWND>
pub unsafe fn DestroySoftKeyboard(&self, hsoftkbdwnd: HWND) -> Result<()>
pub unsafe fn ShowSoftKeyboard( &self, hsoftkbdwnd: HWND, ncmdshow: i32, ) -> Result<()>
pub unsafe fn GetCodePageA(&self, hkl: HKL) -> Result<u32>
pub unsafe fn GetLangId(&self, hkl: HKL) -> Result<u16>
pub unsafe fn KeybdEvent( &self, lgidime: u16, bvk: u8, bscan: u8, dwflags: u32, dwextrainfo: u32, ) -> Result<()>
pub unsafe fn LockModal(&self) -> Result<()>
pub unsafe fn UnlockModal(&self) -> Result<()>
pub unsafe fn AssociateContextEx( &self, hwnd: HWND, himc: HIMC, dwflags: u32, ) -> Result<()>
pub unsafe fn DisableIME(&self, idthread: u32) -> Result<()>
pub unsafe fn GetImeMenuItemsA( &self, himc: HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32, ) -> Result<()>
pub unsafe fn GetImeMenuItemsW( &self, himc: HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32, ) -> Result<()>
pub unsafe fn EnumInputContext( &self, idthread: u32, ) -> Result<IEnumInputContext>
pub unsafe fn RequestMessageA( &self, himc: HIMC, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>
pub unsafe fn RequestMessageW( &self, himc: HIMC, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>
pub unsafe fn SendIMCA( &self, hwnd: HWND, umsg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>
pub unsafe fn SendIMCW( &self, hwnd: HWND, umsg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>
pub unsafe fn IsSleeping(&self) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IActiveIMMIME
impl CanInto<IUnknown> for IActiveIMMIME
§impl Clone for IActiveIMMIME
impl Clone for IActiveIMMIME
§fn clone(&self) -> IActiveIMMIME
fn clone(&self) -> IActiveIMMIME
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 IActiveIMMIME
impl Debug for IActiveIMMIME
§impl From<&IActiveIMMIME> for &IUnknown
impl From<&IActiveIMMIME> for &IUnknown
§fn from(value: &IActiveIMMIME) -> Self
fn from(value: &IActiveIMMIME) -> Self
Converts to this type from the input type.
§impl From<IActiveIMMIME> for IUnknown
impl From<IActiveIMMIME> for IUnknown
§fn from(value: IActiveIMMIME) -> Self
fn from(value: IActiveIMMIME) -> Self
Converts to this type from the input type.
§impl Interface for IActiveIMMIME
impl Interface for IActiveIMMIME
§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 IActiveIMMIME
impl PartialEq for IActiveIMMIME
impl Eq for IActiveIMMIME
impl StructuralPartialEq for IActiveIMMIME
Auto Trait Implementations§
impl Freeze for IActiveIMMIME
impl RefUnwindSafe for IActiveIMMIME
impl !Send for IActiveIMMIME
impl !Sync for IActiveIMMIME
impl Unpin for IActiveIMMIME
impl UnwindSafe for IActiveIMMIME
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