This method is implemented to receive a pointer to an IIMCallback interface. An input method (IM) uses the IIMCallback interface 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.01 and later |
Syntax
HRESULT RegisterCallback( IIMCallback* pIMCallback );
Parameters
pIMCallback
Pointer to an IIMCallback 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 IIMCallback 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
IIMCallback, IInputMethod::GetInfo, IInputMethod::ReceiveSipInfo, IInputMethod::Select