Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 Distribution Function Administration Guide


AIT_IMESetConversionStatus

Organization of this page

Description

Sets the current conversion status.

Format

bool AIT_IMESetConversionStatus  (
  integer nWndHandle,     // Window handle
  integer nConvMode,      // Conversion mode
  integer nSentenceMode   // Statement mode
);

Parameters

nWndHandle (input)

Specify a window handle to which to set status.

With 0 set, the window handle with an input focus is used.

nConvMode (input)

Specify a combination of conversion modes.

For details on bit values, see AIT_IMEGetConversionStatus.

nSentenceMode (input)

Specify statement mode.

For details on bit values, see AIT_IMEGetConversionStatus.

Return values

The return value is true if the function was executed normally, and false if not. If the function has returned false, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError might return:

Extended error number

Error code

87

ERROR_INVALID_PARAMETER

1400

ERROR_INVALID_WINDOW_HANDLE