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.
A version of this page is also available for
4/8/2010

This method is implemented to select the input method (IM) out of the software-based input panel window and to destroy the IM windows.

Syntax

HRESULT Deselect(void); 

Return Value

Return S_OK to indicate success. Return the appropriate HRESULTvalue to indicate failure.

Remarks

This method is called before IUnknown::Releaseis called on the IInputMethod2pointer. Deselectprovides an IM a place to perform cleanup activities, such as destroying windows and pointers. This method, along with the Releasecall, is the only notification that an IM receives that it is to be unloaded.

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

Other Resources

IUnknown::Release