IInputMethod2::GetInfo

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

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 Values

An appropriate HRESULT value is returned.

Remarks

The system calls this method for information about the IM. This includes flags indicating special properties of the IM, which are stored in a 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 CE for the Palm-size PC, the SipGetInfo function operates similar to this method; however, SipGetInfo is called by an application, and it returns information regarding the input panel.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.12 and later Sip.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

SipGetInfo, IMINFO

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.