Compartir a través de


IInputMethod3::GetInfo (Compact 2013)

3/28/2014

Implement this method to return information about the current input method to the OS.

Syntax

HRESULT GetInfo( 
  IMINFO* pimi
);

Parameters

  • pimi
    [out] Pointer to an IMINFO structure.

Return Value

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

Remarks

The OS calls this method for information about the input method that is stored in an IMINFO structure. IMINFO contains the following information:

  • Flags indicating special properties of the input method
  • Handles of the two image lists that contain the masked bitmaps that are displayed on the Input Panel button
  • Indexes into the specified image lists
  • Rectangle, in screen coordinates, defining the size and placement of the software-based input panel (SIP)

In Windows Embedded Compact, this method is similar to the SipGetInfo function. However, SipGetInfo is called by an application, and it returns information regarding the SIP.

Requirements

Header

sip.h

Library

uuid.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

IInputMethod3
SipGetInfo
IMINFO
IInputMethod3::Deselect
IInputMethod3::Hiding
IInputMethod3::InputContextChange
IInputMethod3::ReceiveSipInfo
IInputMethod3::RegisterCallback
IInputMethod3::RegisterCallback2
IInputMethod3::RegisterCallback3
IInputMethod3::Select
IInputMethod3::SetImData
IInputMethod3::SetIMMActiveContext
IInputMethod3::Showing
IInputMethod3::UserOptionsDlg