Releases the input context and unlocks the memory associated in the context. An application must call this method for each call to the IActiveIMMApp::GetContext method.
Syntax
HRESULT ReleaseContext( HWND hWnd, HIMC hIMC );
Parameters
- hWnd
- [in] Handle to the window for which the input context was previously retrieved.
- hIMC
- [in] Handle to the input context.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmReleaseContext function documented in the Microsoft® Platform Software Development Kit (SDK).