Releases the input context and frees any memory associated with it.
Syntax
HRESULT DestroyContext( HIMC hIME );
Parameters
- hIME
- [in] Handle to the input context.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Any application that creates an input context by using the IActiveIMMIME::CreateContext method must call this method to free the context before it terminates.
This method maps to the ImmDestroyContext function documented in the Microsoft® Platform Software Development Kit (SDK).