SipSetInfo

This function sets information including the state of the input panel, the area of the desktop that is not obscured by the input panel, the screen coordinates of the input panel, and application-defined information about the input method (IM) that the input panel is currently using.

At a Glance

Header file: Sipapi.h
Windows CE versions: 2.10 and later

Syntax

BOOL SipSetInfo( SIPINFO *pSipInfo );

Parameters

pSipInfo

[in] Pointer to the SIPINFO structure that contains information about the current input panel.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.

Remarks

Use SipGetInfo to set the input panel information to accommodate the current IM by setting information in the SIPINFO structure such as the input panel window position, size, and state.

To prevent undesirable information from being passed to SipSetInfo, clear the SIPINFO structure beforehand. The following code example shows how to clear the structure.

memset(pSipInfo, 0, sizeof(SIPINFO))

Use the SipGetInfo function to retrieve information the input panel.

See Also

SipGetInfo, SIPINFO