IActiveIMMIME::SetCompositionWindow method

Sets the position of the composition window.

Syntax

HRESULT SetCompositionWindow(
  [in] HIMC            hIMC,
  [in] COMPOSITIONFORM *pCompForm
);

Parameters

  • hIMC [in]
    A handle to the input context.

  • pCompForm [in]
    The address of the COMPOSITIONFORM structure that contains the new position and other related information about the composition window.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

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