windows::Win32::UI::Input::Ime

Struct IActiveIMMApp

pub struct IActiveIMMApp(/* private fields */);

Implementations§

§

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

§

const QUERY: bool = false

§

impl Clone for IActiveIMMApp

§

fn clone(&self) -> IActiveIMMApp

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for IActiveIMMApp

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl From<&IActiveIMMApp> for &IUnknown

§

fn from(value: &IActiveIMMApp) -> Self

Converts to this type from the input type.
§

impl From<IActiveIMMApp> for IUnknown

§

fn from(value: IActiveIMMApp) -> Self

Converts to this type from the input type.
§

impl Interface for IActiveIMMApp

§

const IID: GUID = _

The GUID associated with the interface.
§

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

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

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>,

This casts the given COM interface to [&dyn Any]. Read more
§

fn is_object<T>(&self) -> bool
where T: ComObjectInner, <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,

Returns true if the given COM interface refers to an implementation of T. Read more
§

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>,

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>

Attempts to create a [Weak] reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

fn to_ref(&self) -> InterfaceRef<'_, Self>

Creates an InterfaceRef for this reference. The InterfaceRef tracks lifetimes statically, and eliminates the need for dynamic reference count adjustments (AddRef/Release).
§

impl PartialEq for IActiveIMMApp

§

fn eq(&self, other: &IActiveIMMApp) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for IActiveIMMApp

§

impl StructuralPartialEq for IActiveIMMApp

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.