次の方法で共有


IInputMethod2::Deselect (Compact 2013)

3/28/2014

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

Syntax

HRESULT Deselect(void); 

Return Value

Return S_OK to indicate success. Return the appropriate HRESULT value to indicate failure.

Remarks

This method is called before IUnknown::Release is called on the IInputMethod2 pointer. Deselect provides an IM a place to perform cleanup activities, such as destroying windows and pointers. This method, along with the Release call, is the only notification that an IM receives that it is to be unloaded.

Requirements

Header

sip.h

Library

uuid.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

IInputMethod2

Other Resources

IUnknown::Release