IVsIME::ReleaseImmContext Method (IntPtr, UInt32, Int32)
Visual Studio 2015
Releases the Input Method Editor (IME) input context and frees the associated memory. The method is a wrapper for ImmReleaseContext.. You should call this function once for each call to GetImmContext.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- hwnd
-
Type:
System::IntPtr
[in] Handle of the editor window.
- HIMC
-
Type:
System::UInt32
[in] Handle to the IME input context.
- pfRetVal
-
Type:
System::Int32
[out] Error return value. Set to zero if there is an error. Nonzero otherwise.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsIME::ReleaseImmContext( [in] HWND hwnd, [in] HIMC himc, [out] BOOL * pfRetVal );
Show: