IActiveIMMIME::GetContext method

Gets the input context that is associated with the specified window.

Syntax

HRESULT GetContext(
  [in]  HWND hWnd,
  [out] HIMC *phIMC
);

Parameters

  • hWnd [in]
    A handle to the window to get the input context for.

  • phIMC [out]
    The address of the input context handle that is associated with the specified window.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImmGetContext 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

See also

IActiveIMMIME