Share via


IInputMethod2::RegisterCallback2 (Windows CE 5.0)

Send Feedback

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 software-based input panel. The IM can call methods on this interface to send information back to the software-based input panel.

Return Values

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

Remarks

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

Requirements

OS Versions: Windows CE 2.12 and later.
Header: Sip.h.
Link Library: Uuid.lib.

See Also

IIMCallback2 | IInputMethod2::GetInfo | IInputMethod2::ReceiveSipInfo | IInputMethod2::Select

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.