Job Management Partner 1/Software Distribution Automatic Installation Tool Description and Reference

[Contents][Glossary][Index][Back][Next]

AIT_IMESetOpenStatus

Description

Opens and closes the IME.

Format

bool AIT_IMESetOpenStatus  (
  integer nWndHandle,     // Window handle
  bool bCondition         // Condition
);

Parameters

nWndHandle (input)

Specify a window handle to be assigned status.

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

bCondition (input)

Specify whether to open or close the IME. Setting true opens the IME, while setting false closes the IME.

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 code that AIT_GetLastError may return.

Extended error number Error code
1400 ERROR_INVALID_WINDOW_HANDLE