Releases the input context and unlocks the memory associated in the context. An application must call this method for each call to the IActiveIMMIME::GetContext method.
Syntax
HRESULT ReleaseContext(
  [in] HWND hWnd,
  [in] HIMC hIMC
);
Parameters
- hWnd [in] 
 A handle to the window for which the input context was previously retrieved.
- hIMC [in] 
 A handle to the input context.
Return value
Returns S_OK if successful, or an error value otherwise.
Remarks
This method maps to the ImmReleaseContext function that is documented in the Windows Software Development Kit (SDK).
Requirements
| Minimum supported client | Windows XP | 
| Minimum supported server | Windows 2000 Server | 
| Header | Dimm.h | 
| IDL | Dimm.idl |