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

Trait IActiveIMMIME_Impl

pub trait IActiveIMMIME_Impl: IUnknownImpl {
Show 88 methods // Required methods fn AssociateContext(&self, hwnd: HWND, hime: HIMC) -> Result<HIMC>; fn ConfigureIMEA( &self, hkl: HKL, hwnd: HWND, dwmode: u32, pdata: *const REGISTERWORDA, ) -> Result<()>; fn ConfigureIMEW( &self, hkl: HKL, hwnd: HWND, dwmode: u32, pdata: *const REGISTERWORDW, ) -> Result<()>; fn CreateContext(&self) -> Result<HIMC>; fn DestroyContext(&self, hime: HIMC) -> Result<()>; fn EnumRegisterWordA( &self, hkl: HKL, szreading: &PCSTR, dwstyle: u32, szregister: &PCSTR, pdata: *const c_void, ) -> Result<IEnumRegisterWordA>; fn EnumRegisterWordW( &self, hkl: HKL, szreading: &PCWSTR, dwstyle: u32, szregister: &PCWSTR, pdata: *const c_void, ) -> Result<IEnumRegisterWordW>; fn EscapeA( &self, hkl: HKL, himc: HIMC, uescape: u32, pdata: *mut c_void, plresult: *mut LRESULT, ) -> Result<()>; fn EscapeW( &self, hkl: HKL, himc: HIMC, uescape: u32, pdata: *mut c_void, plresult: *mut LRESULT, ) -> Result<()>; fn GetCandidateListA( &self, himc: HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>; fn GetCandidateListW( &self, himc: HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>; fn GetCandidateListCountA( &self, himc: HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32, ) -> Result<()>; fn GetCandidateListCountW( &self, himc: HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32, ) -> Result<()>; fn GetCandidateWindow( &self, himc: HIMC, dwindex: u32, pcandidate: *mut CANDIDATEFORM, ) -> Result<()>; fn GetCompositionFontA(&self, himc: HIMC, plf: *mut LOGFONTA) -> Result<()>; fn GetCompositionFontW(&self, himc: HIMC, plf: *mut LOGFONTW) -> Result<()>; fn GetCompositionStringA( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut c_void, ) -> Result<()>; fn GetCompositionStringW( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut c_void, ) -> Result<()>; fn GetCompositionWindow( &self, himc: HIMC, pcompform: *mut COMPOSITIONFORM, ) -> Result<()>; fn GetContext(&self, hwnd: HWND) -> Result<HIMC>; fn GetConversionListA( &self, hkl: HKL, himc: HIMC, psrc: &PCSTR, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>; fn GetConversionListW( &self, hkl: HKL, himc: HIMC, psrc: &PCWSTR, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>; fn GetConversionStatus( &self, himc: HIMC, pfdwconversion: *mut u32, pfdwsentence: *mut u32, ) -> Result<()>; fn GetDefaultIMEWnd(&self, hwnd: HWND) -> Result<HWND>; fn GetDescriptionA( &self, hkl: HKL, ubuflen: u32, szdescription: PSTR, pucopied: *mut u32, ) -> Result<()>; fn GetDescriptionW( &self, hkl: HKL, ubuflen: u32, szdescription: PWSTR, pucopied: *mut u32, ) -> Result<()>; fn GetGuideLineA( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, pbuf: PSTR, pdwresult: *mut u32, ) -> Result<()>; fn GetGuideLineW( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, pbuf: PWSTR, pdwresult: *mut u32, ) -> Result<()>; fn GetIMEFileNameA( &self, hkl: HKL, ubuflen: u32, szfilename: PSTR, pucopied: *mut u32, ) -> Result<()>; fn GetIMEFileNameW( &self, hkl: HKL, ubuflen: u32, szfilename: PWSTR, pucopied: *mut u32, ) -> Result<()>; fn GetOpenStatus(&self, himc: HIMC) -> Result<()>; fn GetProperty(&self, hkl: HKL, fdwindex: u32) -> Result<u32>; fn GetRegisterWordStyleA( &self, hkl: HKL, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32, ) -> Result<()>; fn GetRegisterWordStyleW( &self, hkl: HKL, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32, ) -> Result<()>; fn GetStatusWindowPos(&self, himc: HIMC) -> Result<POINT>; fn GetVirtualKey(&self, hwnd: HWND) -> Result<u32>; fn InstallIMEA( &self, szimefilename: &PCSTR, szlayouttext: &PCSTR, ) -> Result<HKL>; fn InstallIMEW( &self, szimefilename: &PCWSTR, szlayouttext: &PCWSTR, ) -> Result<HKL>; fn IsIME(&self, hkl: HKL) -> Result<()>; fn IsUIMessageA( &self, hwndime: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>; fn IsUIMessageW( &self, hwndime: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>; fn NotifyIME( &self, himc: HIMC, dwaction: u32, dwindex: u32, dwvalue: u32, ) -> Result<()>; fn RegisterWordA( &self, hkl: HKL, szreading: &PCSTR, dwstyle: u32, szregister: &PCSTR, ) -> Result<()>; fn RegisterWordW( &self, hkl: HKL, szreading: &PCWSTR, dwstyle: u32, szregister: &PCWSTR, ) -> Result<()>; fn ReleaseContext(&self, hwnd: HWND, himc: HIMC) -> Result<()>; fn SetCandidateWindow( &self, himc: HIMC, pcandidate: *const CANDIDATEFORM, ) -> Result<()>; fn SetCompositionFontA( &self, himc: HIMC, plf: *const LOGFONTA, ) -> Result<()>; fn SetCompositionFontW( &self, himc: HIMC, plf: *const LOGFONTW, ) -> Result<()>; fn SetCompositionStringA( &self, himc: HIMC, dwindex: u32, pcomp: *const c_void, dwcomplen: u32, pread: *const c_void, dwreadlen: u32, ) -> Result<()>; fn SetCompositionStringW( &self, himc: HIMC, dwindex: u32, pcomp: *const c_void, dwcomplen: u32, pread: *const c_void, dwreadlen: u32, ) -> Result<()>; fn SetCompositionWindow( &self, himc: HIMC, pcompform: *const COMPOSITIONFORM, ) -> Result<()>; fn SetConversionStatus( &self, himc: HIMC, fdwconversion: u32, fdwsentence: u32, ) -> Result<()>; fn SetOpenStatus(&self, himc: HIMC, fopen: BOOL) -> Result<()>; fn SetStatusWindowPos(&self, himc: HIMC, pptpos: *const POINT) -> Result<()>; fn SimulateHotKey(&self, hwnd: HWND, dwhotkeyid: u32) -> Result<()>; fn UnregisterWordA( &self, hkl: HKL, szreading: &PCSTR, dwstyle: u32, szunregister: &PCSTR, ) -> Result<()>; fn UnregisterWordW( &self, hkl: HKL, szreading: &PCWSTR, dwstyle: u32, szunregister: &PCWSTR, ) -> Result<()>; fn GenerateMessage(&self, himc: HIMC) -> Result<()>; fn LockIMC(&self, himc: HIMC) -> Result<*mut INPUTCONTEXT>; fn UnlockIMC(&self, himc: HIMC) -> Result<()>; fn GetIMCLockCount(&self, himc: HIMC) -> Result<u32>; fn CreateIMCC(&self, dwsize: u32) -> Result<HIMCC>; fn DestroyIMCC(&self, himcc: HIMCC) -> Result<()>; fn LockIMCC(&self, himcc: HIMCC, ppv: *mut *mut c_void) -> Result<()>; fn UnlockIMCC(&self, himcc: HIMCC) -> Result<()>; fn ReSizeIMCC(&self, himcc: HIMCC, dwsize: u32) -> Result<HIMCC>; fn GetIMCCSize(&self, himcc: HIMCC) -> Result<u32>; fn GetIMCCLockCount(&self, himcc: HIMCC) -> Result<u32>; fn GetHotKey( &self, dwhotkeyid: u32, pumodifiers: *mut u32, puvkey: *mut u32, phkl: *mut HKL, ) -> Result<()>; fn SetHotKey( &self, dwhotkeyid: u32, umodifiers: u32, uvkey: u32, hkl: HKL, ) -> Result<()>; fn CreateSoftKeyboard( &self, utype: u32, howner: HWND, x: i32, y: i32, ) -> Result<HWND>; fn DestroySoftKeyboard(&self, hsoftkbdwnd: HWND) -> Result<()>; fn ShowSoftKeyboard(&self, hsoftkbdwnd: HWND, ncmdshow: i32) -> Result<()>; fn GetCodePageA(&self, hkl: HKL) -> Result<u32>; fn GetLangId(&self, hkl: HKL) -> Result<u16>; fn KeybdEvent( &self, lgidime: u16, bvk: u8, bscan: u8, dwflags: u32, dwextrainfo: u32, ) -> Result<()>; fn LockModal(&self) -> Result<()>; fn UnlockModal(&self) -> Result<()>; fn AssociateContextEx( &self, hwnd: HWND, himc: HIMC, dwflags: u32, ) -> Result<()>; fn DisableIME(&self, idthread: u32) -> Result<()>; fn GetImeMenuItemsA( &self, himc: HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32, ) -> Result<()>; fn GetImeMenuItemsW( &self, himc: HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32, ) -> Result<()>; fn EnumInputContext(&self, idthread: u32) -> Result<IEnumInputContext>; fn RequestMessageA( &self, himc: HIMC, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>; fn RequestMessageW( &self, himc: HIMC, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>; fn SendIMCA( &self, hwnd: HWND, umsg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>; fn SendIMCW( &self, hwnd: HWND, umsg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>; fn IsSleeping(&self) -> Result<()>;
}

Required Methods§

fn AssociateContext(&self, hwnd: HWND, hime: HIMC) -> Result<HIMC>

fn ConfigureIMEA( &self, hkl: HKL, hwnd: HWND, dwmode: u32, pdata: *const REGISTERWORDA, ) -> Result<()>

fn ConfigureIMEW( &self, hkl: HKL, hwnd: HWND, dwmode: u32, pdata: *const REGISTERWORDW, ) -> Result<()>

fn CreateContext(&self) -> Result<HIMC>

fn DestroyContext(&self, hime: HIMC) -> Result<()>

fn EnumRegisterWordA( &self, hkl: HKL, szreading: &PCSTR, dwstyle: u32, szregister: &PCSTR, pdata: *const c_void, ) -> Result<IEnumRegisterWordA>

fn EnumRegisterWordW( &self, hkl: HKL, szreading: &PCWSTR, dwstyle: u32, szregister: &PCWSTR, pdata: *const c_void, ) -> Result<IEnumRegisterWordW>

fn EscapeA( &self, hkl: HKL, himc: HIMC, uescape: u32, pdata: *mut c_void, plresult: *mut LRESULT, ) -> Result<()>

fn EscapeW( &self, hkl: HKL, himc: HIMC, uescape: u32, pdata: *mut c_void, plresult: *mut LRESULT, ) -> Result<()>

fn GetCandidateListA( &self, himc: HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>

fn GetCandidateListW( &self, himc: HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>

fn GetCandidateListCountA( &self, himc: HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32, ) -> Result<()>

fn GetCandidateListCountW( &self, himc: HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32, ) -> Result<()>

fn GetCandidateWindow( &self, himc: HIMC, dwindex: u32, pcandidate: *mut CANDIDATEFORM, ) -> Result<()>

fn GetCompositionFontA(&self, himc: HIMC, plf: *mut LOGFONTA) -> Result<()>

fn GetCompositionFontW(&self, himc: HIMC, plf: *mut LOGFONTW) -> Result<()>

fn GetCompositionStringA( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut c_void, ) -> Result<()>

fn GetCompositionStringW( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut c_void, ) -> Result<()>

fn GetCompositionWindow( &self, himc: HIMC, pcompform: *mut COMPOSITIONFORM, ) -> Result<()>

fn GetContext(&self, hwnd: HWND) -> Result<HIMC>

fn GetConversionListA( &self, hkl: HKL, himc: HIMC, psrc: &PCSTR, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>

fn GetConversionListW( &self, hkl: HKL, himc: HIMC, psrc: &PCWSTR, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32, ) -> Result<()>

fn GetConversionStatus( &self, himc: HIMC, pfdwconversion: *mut u32, pfdwsentence: *mut u32, ) -> Result<()>

fn GetDefaultIMEWnd(&self, hwnd: HWND) -> Result<HWND>

fn GetDescriptionA( &self, hkl: HKL, ubuflen: u32, szdescription: PSTR, pucopied: *mut u32, ) -> Result<()>

fn GetDescriptionW( &self, hkl: HKL, ubuflen: u32, szdescription: PWSTR, pucopied: *mut u32, ) -> Result<()>

fn GetGuideLineA( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, pbuf: PSTR, pdwresult: *mut u32, ) -> Result<()>

fn GetGuideLineW( &self, himc: HIMC, dwindex: u32, dwbuflen: u32, pbuf: PWSTR, pdwresult: *mut u32, ) -> Result<()>

fn GetIMEFileNameA( &self, hkl: HKL, ubuflen: u32, szfilename: PSTR, pucopied: *mut u32, ) -> Result<()>

fn GetIMEFileNameW( &self, hkl: HKL, ubuflen: u32, szfilename: PWSTR, pucopied: *mut u32, ) -> Result<()>

fn GetOpenStatus(&self, himc: HIMC) -> Result<()>

fn GetProperty(&self, hkl: HKL, fdwindex: u32) -> Result<u32>

fn GetRegisterWordStyleA( &self, hkl: HKL, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32, ) -> Result<()>

fn GetRegisterWordStyleW( &self, hkl: HKL, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32, ) -> Result<()>

fn GetStatusWindowPos(&self, himc: HIMC) -> Result<POINT>

fn GetVirtualKey(&self, hwnd: HWND) -> Result<u32>

fn InstallIMEA( &self, szimefilename: &PCSTR, szlayouttext: &PCSTR, ) -> Result<HKL>

fn InstallIMEW( &self, szimefilename: &PCWSTR, szlayouttext: &PCWSTR, ) -> Result<HKL>

fn IsIME(&self, hkl: HKL) -> Result<()>

fn IsUIMessageA( &self, hwndime: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>

fn IsUIMessageW( &self, hwndime: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<()>

fn NotifyIME( &self, himc: HIMC, dwaction: u32, dwindex: u32, dwvalue: u32, ) -> Result<()>

fn RegisterWordA( &self, hkl: HKL, szreading: &PCSTR, dwstyle: u32, szregister: &PCSTR, ) -> Result<()>

fn RegisterWordW( &self, hkl: HKL, szreading: &PCWSTR, dwstyle: u32, szregister: &PCWSTR, ) -> Result<()>

fn ReleaseContext(&self, hwnd: HWND, himc: HIMC) -> Result<()>

fn SetCandidateWindow( &self, himc: HIMC, pcandidate: *const CANDIDATEFORM, ) -> Result<()>

fn SetCompositionFontA(&self, himc: HIMC, plf: *const LOGFONTA) -> Result<()>

fn SetCompositionFontW(&self, himc: HIMC, plf: *const LOGFONTW) -> Result<()>

fn SetCompositionStringA( &self, himc: HIMC, dwindex: u32, pcomp: *const c_void, dwcomplen: u32, pread: *const c_void, dwreadlen: u32, ) -> Result<()>

fn SetCompositionStringW( &self, himc: HIMC, dwindex: u32, pcomp: *const c_void, dwcomplen: u32, pread: *const c_void, dwreadlen: u32, ) -> Result<()>

fn SetCompositionWindow( &self, himc: HIMC, pcompform: *const COMPOSITIONFORM, ) -> Result<()>

fn SetConversionStatus( &self, himc: HIMC, fdwconversion: u32, fdwsentence: u32, ) -> Result<()>

fn SetOpenStatus(&self, himc: HIMC, fopen: BOOL) -> Result<()>

fn SetStatusWindowPos(&self, himc: HIMC, pptpos: *const POINT) -> Result<()>

fn SimulateHotKey(&self, hwnd: HWND, dwhotkeyid: u32) -> Result<()>

fn UnregisterWordA( &self, hkl: HKL, szreading: &PCSTR, dwstyle: u32, szunregister: &PCSTR, ) -> Result<()>

fn UnregisterWordW( &self, hkl: HKL, szreading: &PCWSTR, dwstyle: u32, szunregister: &PCWSTR, ) -> Result<()>

fn GenerateMessage(&self, himc: HIMC) -> Result<()>

fn LockIMC(&self, himc: HIMC) -> Result<*mut INPUTCONTEXT>

fn UnlockIMC(&self, himc: HIMC) -> Result<()>

fn GetIMCLockCount(&self, himc: HIMC) -> Result<u32>

fn CreateIMCC(&self, dwsize: u32) -> Result<HIMCC>

fn DestroyIMCC(&self, himcc: HIMCC) -> Result<()>

fn LockIMCC(&self, himcc: HIMCC, ppv: *mut *mut c_void) -> Result<()>

fn UnlockIMCC(&self, himcc: HIMCC) -> Result<()>

fn ReSizeIMCC(&self, himcc: HIMCC, dwsize: u32) -> Result<HIMCC>

fn GetIMCCSize(&self, himcc: HIMCC) -> Result<u32>

fn GetIMCCLockCount(&self, himcc: HIMCC) -> Result<u32>

fn GetHotKey( &self, dwhotkeyid: u32, pumodifiers: *mut u32, puvkey: *mut u32, phkl: *mut HKL, ) -> Result<()>

fn SetHotKey( &self, dwhotkeyid: u32, umodifiers: u32, uvkey: u32, hkl: HKL, ) -> Result<()>

fn CreateSoftKeyboard( &self, utype: u32, howner: HWND, x: i32, y: i32, ) -> Result<HWND>

fn DestroySoftKeyboard(&self, hsoftkbdwnd: HWND) -> Result<()>

fn ShowSoftKeyboard(&self, hsoftkbdwnd: HWND, ncmdshow: i32) -> Result<()>

fn GetCodePageA(&self, hkl: HKL) -> Result<u32>

fn GetLangId(&self, hkl: HKL) -> Result<u16>

fn KeybdEvent( &self, lgidime: u16, bvk: u8, bscan: u8, dwflags: u32, dwextrainfo: u32, ) -> Result<()>

fn LockModal(&self) -> Result<()>

fn UnlockModal(&self) -> Result<()>

fn AssociateContextEx(&self, hwnd: HWND, himc: HIMC, dwflags: u32) -> Result<()>

fn DisableIME(&self, idthread: u32) -> Result<()>

fn GetImeMenuItemsA( &self, himc: HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32, ) -> Result<()>

fn GetImeMenuItemsW( &self, himc: HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32, ) -> Result<()>

fn EnumInputContext(&self, idthread: u32) -> Result<IEnumInputContext>

fn RequestMessageA( &self, himc: HIMC, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>

fn RequestMessageW( &self, himc: HIMC, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>

fn SendIMCA( &self, hwnd: HWND, umsg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>

fn SendIMCW( &self, hwnd: HWND, umsg: u32, wparam: WPARAM, lparam: LPARAM, ) -> Result<LRESULT>

fn IsSleeping(&self) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§