IInputMethod3::RegisterCallback3 (Compact 2013)

3/28/2014

Implement this method to receive a pointer to an IIMCallback3 interface.

Syntax

HRESULT RegisterCallback3(
    IIMCallback3* lpIMCallback
);

Parameters

  • lpIMCallback
    Pointer to an IIMCallback3 interface that is implemented in the software-based input panel (SIP). The input method can call methods on this interface to send information back to the SIP.

Return Value

Returns S_OK to indicate success; otherwise, returns the appropriate HRESULT value to indicate that it was not successful.

Remarks

This method is the only way to access the IIMCallback3 interface to the SIP. The SIP calls this method during the initialization of the input method, along with IInputMethod3::Select, IInputMethod3::GetInfo, and IInputMethod3::ReceiveSipInfo.

Requirements

Header

sip.h

Library

uuid.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

IInputMethod3
IInputMethod3::Deselect
IInputMethod3::GetImData
IInputMethod3::GetInfo
IInputMethod3::Hiding
IInputMethod3::InputContextChange
IInputMethod3::ReceiveSipInfo
IInputMethod3::RegisterCallback
IInputMethod3::RegisterCallback2
IInputMethod3::Select
IInputMethod3::SetImData
IInputMethod3::SetIMMActiveContext
IInputMethod3::Showing
IInputMethod3::UserOptionsDlg