Struct IActiveIMMApp
pub struct IActiveIMMApp(/* private fields */);
Implementations§
§impl IActiveIMMApp
impl IActiveIMMApp
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 Activate(&self, frestorelayout: bool) -> Result<()>
pub unsafe fn Deactivate(&self) -> Result<()>
pub unsafe fn OnDefWindowProc( &self, hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>
pub unsafe fn FilterClientWindows( &self, aaclasslist: *const u16, usize: u32, ) -> Result<()>
pub unsafe fn GetCodePageA(&self, hkl: HKL) -> Result<u32>
pub unsafe fn GetLangId(&self, hkl: HKL) -> Result<u16>
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>
Trait Implementations§
§impl CanInto<IUnknown> for IActiveIMMApp
impl CanInto<IUnknown> for IActiveIMMApp
§impl Clone for IActiveIMMApp
impl Clone for IActiveIMMApp
§fn clone(&self) -> IActiveIMMApp
fn clone(&self) -> IActiveIMMApp
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 IActiveIMMApp
impl Debug for IActiveIMMApp
§impl From<&IActiveIMMApp> for &IUnknown
impl From<&IActiveIMMApp> for &IUnknown
§fn from(value: &IActiveIMMApp) -> Self
fn from(value: &IActiveIMMApp) -> Self
Converts to this type from the input type.
§impl From<IActiveIMMApp> for IUnknown
impl From<IActiveIMMApp> for IUnknown
§fn from(value: IActiveIMMApp) -> Self
fn from(value: IActiveIMMApp) -> Self
Converts to this type from the input type.
§impl Interface for IActiveIMMApp
impl Interface for IActiveIMMApp
§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 IActiveIMMApp
impl PartialEq for IActiveIMMApp
impl Eq for IActiveIMMApp
impl StructuralPartialEq for IActiveIMMApp
Auto Trait Implementations§
impl Freeze for IActiveIMMApp
impl RefUnwindSafe for IActiveIMMApp
impl !Send for IActiveIMMApp
impl !Sync for IActiveIMMApp
impl Unpin for IActiveIMMApp
impl UnwindSafe for IActiveIMMApp
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