Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 IMINFOstructure. GetInfopasses most of its information to the operating system through this structure.
Return Value
Return S_OK to indicate success. Return the appropriate HRESULTvalue 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 IMINFOstructure. This structure contains the handles of the two image lists containing the masked bitmaps that are displayed on the Input Panelbutton, the indexes into the specified image lists, and a rectangle indicating the preferred size and placement of the IM.
On Windows Embedded CE, the SipGetInfofunction operates in a similar manner as this method; however, SipGetInfois 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 |