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.
At a Glance
Header file: | Sip.h |
Windows CE Versions: | 2.12 and later |
Syntax
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.
See Also
IIMCallback2, IInputMethod2::GetInfo, IInputMethod2::ReceiveSipInfo, IInputMethod2::Select