Instructs the Active Input Method Editor (IME) to shut down its user interface and refrain from locking any input method context handles.
Syntax
HRESULT Sleep();
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The Active IME can modify input context handles during the call to IActiveIME2::Sleep, but not afterwards. While the Active IME is sleeping, a native IME may be using the input context handles.