次の方法で共有


IInputMethodEx::RegisterCallbackEx (Compact 2013)

3/28/2014

Implement RegisterCallbackEx to receive a pointer to an IIMCallbackEx interface. An input method (IM) uses the IIMCallbackEx interface to send keystrokes to an application and to change the icon on the InputPanel button.

Syntax

HRESULT RegisterCallbackEx (
  IIMCallback* pIMCallback 
);

Parameters

  • pIMCallback
    Pointer to an IIMCallbackEx interface implemented in the software-based input panel (SIP). The IM calls methods on this interface to send information back to the SIP.

Return Value

An appropriate HRESULT value is returned.

Remarks

The IIMCallbackEx interface to the SIP is exposed only through this method. The SIP calls this method during the initialization of the IM, along with Select, GetInfo, and ReceiveSipInfo.

Requirements

Header

sip.h

sysgen

SYSGEN_SOFTKB

See Also

Reference

IInputMethodEx