IInputMethod2::RegisterCallback2
This method is implemented to receive a pointer to an IIMCallback2 interface. An input method (IM) uses IIMCallback2 to send keystrokes to applications and to change the icons on the Input Panel button.
HRESULT RegisterCallback2(
IIMCallback2 *pIMCallback2);
Parameters
- pIMCallback2
Pointer to an IIMCallback2 interface implemented in the input panel. The IM can call methods on this interface to send information back to the input panel.
Return Values
An appropriate HRESULT value is returned.
Remarks
The IIMCallback2 interface to the input panel is exposed only through this method. The input panel calls this method during the initialization of the IM, along with Select, GetInfo, and ReceiveSipInfo.
Requirements
| Runs On | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.12 and later | Sip.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
IIMCallback2, IInputMethod2::GetInfo, IInputMethod2::ReceiveSipInfo, IInputMethod2::Select
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.