Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is implemented to receive the current state of the IME.
HRESULT SetIMMActiveContext(HWND hwnd, BOOL bOpen,DWORD dwConversion, DWORD dwSentence, DWORD hkl);
Parameters
- hwnd
Handle of window control that has changed context. - bOpen
Specifies whether the IME is on. TRUE indicates the IME is on; otherwise, this parameter is FALSE. - dwConversion
The current IME conversion mode status. - dwSentence
The current IME sentence mode status. - hkl
A handle to the current active keyboard layout.
Return Values
Return S_OK to indicate success. Return the appropriate HRESULT value to indicate failure.
Remarks
The SetIMMActiveContext interface to the software-based input panel is exposed only through this method. The software-based input panel calls this method when ImmSetActiveContext is called on a window control.
Requirements
OS Versions: Windows CE 2.12 and later.
Header: Sip.h.
Link Library: Uuid.lib.
See Also
Send Feedback on this topic to the authors