Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method is implemented to receive a pointer to an IIMCallbackinterface. An input method (IM) uses the IIMCallbackinterface to send keystrokes to applications and to change the icons on the Input Panelbutton.

Syntax

HRESULT RegisterCallback( 
  IIMCallback* 
pIMCallback
);

Parameters

pIMCallback

Pointer to an IIMCallbackinterface 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 Value

Return S_OK to indicate success. Return the appropriate HRESULTvalue to indicate failure.

Remarks

The IIMCallbackinterface 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.

Requirements

Header sip.h
Library uuid.lib
Windows Embedded CE Windows CE 2.01 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also