Share via


IInputMethod2::GetInfo (Compact 2013)

3/28/2014

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 Compact, 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 (SIP).

Requirements

Header

sip.h

Library

uuid.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

IInputMethod2
SipGetInfo
IMINFO