Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function sets the current conversion status.

Syntax

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

Parameters

hIMC

[in] Handle to the input context. If hIMCis NULL, then the conversion mode of the current active context is set.

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

Nonzero indicates success. Zero indicates failure.

Remarks

This function sends a IMN_SETCONVERSIONMODEmessage to the application when a mode change occurs and a IMN_SETSENTENCEMODEmessage when a sentence mode changes.

Requirements

Header imm.h
Library Coreimm.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also