Compartilhar via


IActiveIMMApp::CreateContext method

Creates a new input context; allocates memory for the context and initializes it.

Syntax

HRESULT CreateContext(
  [out] HIMC *phIMC
);

Parameters

  • phIMC [out]
    The address of a handle to receive the new input context.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

The client application calls this method to prepare its own input context.

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