Hitachi

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


AIT_IMEGetStatusWindowPos

Organization of this page

Description

Acquires the position of a status window.

Format

bool AIT_IMEGetStatusWindowPos  (
  integer nWndHandle,     // Window handle
  integer nX,             // X coordinate
  integer nY              // Y coordinate
);

Parameters

nWndHandle (input)

Specify a window handled to be used to acquire a status window position.

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

nX (output)

Specify a variable to receive the X coordinate of a status window. When the function returns, the variable stores this value.

nY (output)

Specify a variable to receive the Y coordinate of a status window. When the function returns, the variable stores this value.

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