Windows Mobile 6.5
A version of this page is also available for

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.

HRESULT RegisterCallback( 
  IIMCallback* pIMCallback


Pointer to an IIMCallback interface implemented in the software-based input panel. The IM can call methods on this interface to send information back to the software-based input panel.

Return S_OK to indicate success. Return the appropriate HRESULT value to indicate failure.

The IIMCallback interface to the software-based input panel is exposed only through this method. The software-based input panel calls this method during the initialization of the IM, along with Select,, GetInfo, and ReceiveSipInfo.

Windows Embedded CEWindows CE 2.01 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions