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

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

AIT_IMEGetOpenStatus

Description

Checks to see if the IME is open or closed.

Format

integer AIT_IMEGetOpenStatus  (
  [integer nWndHandle]     // Window handle
);

Parameters

nWndHandle (input, optional)

Specify a window handle whose status you want to acquire.

By default, the window with an input focus is used.

Return values

The return value is 1 if the IME is open, 0 if it is closed, and -1 if the function has not been processed successfully.

If the function has returned -1, you can use AIT_GetLastError to acquire an extended error code. The following gives the error codes that AIT_GetLastError may return.

Extended error number Error code
87 ERROR_INVALID_PARAMETER
1400 ERROR_INVALID_WINDOW_HANDLE