Share via


IInputMethod2::GetInfo

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method is implemented to return information about the current input method (IM) to the operating system.

Syntax

HRESULT GetInfo( 
  IMINFO* pimi
);

Parameters

  • pimi
    Pointer to an IMINFO structure. GetInfo passes most of its information to the operating system through this structure.

Return Value

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

Remarks

The system calls this method for information about the IM. This includes flags indicating special properties of the IM, which are stored in an IMINFO structure. This structure contains the handles of the two image lists containing the masked bitmaps that are displayed on the Input Panel button, the indexes into the specified image lists, and a rectangle indicating the preferred size and placement of the IM.

On Windows Embedded CE, the SipGetInfo function operates in a similar manner as this method; however, SipGetInfo is called by an application, and it returns information regarding the software-based input panel.

Requirements

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

See Also

Reference

SipGetInfo
IMINFO