ImmSetConversionStatus function

Sets the current conversion status.

Syntax


BOOL ImmSetConversionStatus(
  _In_  HIMC hIMC,
  _In_  DWORD fdwConversion,
  _In_  DWORD fdwSentence
);

Parameters

hIMC [in]

Handle to the input context.

fdwConversion [in]

Conversion mode values. For more information, see IME Conversion Mode Values.

fdwSentence [in]

Sentence mode values. For more information, see IME Sentence Mode Values.

Return value

Returns a nonzero value if successful, or 0 otherwise.

Remarks

This function sends the IMN_SETCONVERSIONMODE and IMN_SETSENTENCEMODE commands to the application.

Note  Beginning with Windows 8: By default, the input switch is set per user instead of per thread. The Microsoft IME (Japanese) respects the mode globally, and therefore ImmSetConversionStatus fails when getting focus.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Version

East Asian language support installed.

Header

Imm.h (include Windows.h)

Library

Imm32.lib

DLL

Imm32.dll

See also

Input Method Manager
Input Method Manager Functions
IMN_SETCONVERSIONMODE
IMN_SETSENTENCEMODE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.