Share via


IActiveIMMApp::ReleaseContext method

Releases the input context and unlocks the memory that is associated in the context. An application must call this method for each call to the IActiveIMMApp::GetContext method.

Syntax

HRESULT ReleaseContext(
  [in] HWND hWnd,
  [in] HIMC hIMC
);

Parameters

  • hWnd [in]
    A handle to the window that 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

Product

Internet Explorer 5.0

Header

Dimm.h

IDL

Dimm.idl

See also

IActiveIMMApp