Parameter | Description |
---|---|
Data String | See the following tables. |
Data Length | NA (defaults to 16 or 20, depending on the status request). |
PS Position | NA |
Parameter | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data String | Set window status - a 16-byte string with the following format:
Byte 1 Short name session ID of the desired host session, or space or null for the current host session.
Byte 2 WHLL_WINDOWSTATUS_SET for set status.
Bytes 3-4 An integer containing the set values. The following are valid:
Set window status - a 16-byte string with the following format:
Bytes 5-6 Specifies the x-coordinate of the upper-left corner of the window.
Bytes 7-8 Specifies the y-coordinate of the upper-left corner of the window.
Bytes 9-10 Specifies the width of the window.
Bytes 11-12 Specifies the height of the window.
Bytes 13-16 Specifies the z-order placement of the window (only valid for the set option when the _ZORDER option is specified).
Valid values are:
Query window status - a 16-byte string with the following format:
Byte 1 Short name session ID of the desired host session, or space or null for the current host session.
Byte 2 WHLL_WINDOWSTATUS_QUERY for query for status.
Bytes 3-4 An integer containing WHLL_WINDOWSTATUS_NULL. The following are possible return values. More than one status is
possible:
Bytes 5-6 Specifies the x-coordinate of the upper-left corner of the window.
Bytes 7-8 Specifies the y-coordinate of the upper-left corner of the window.
Bytes 9-10 Specifies the width of the window.
Bytes 11-12 Specifies the height of the window.
Bytes 13-16 Specifies the z-order placement of the window (only valid for the set option when the _ZORDER option is specified).
Valid values are:
Query extended window status - a 20-byte string with the following format:
Byte 1 Short name session ID of the desired host session, or space or null for the current host session.
Byte 2 WHLL_WINDOWSTATUS_EXTQUERY for query extended status.
Bytes 3-4 An integer containing WHLL_WINDOWSTATUS_NULL. The following are possible return values. More than one status is
possible:
Bytes 5-6 Specifies the current font height. The size assumes a fixed-pitch font including any inter-column spacing (this
value times the number of displayed columns should equal the width of the presentation space).
Bytes 7-8 Specifies the current font width. The size includes any inter-line spacing (this value times the number of displayed
rows should equal the height of the presentation space).
Bytes 9-10 Specifies the distance from the left edge of the window to the first displayed column of the host screen, or zero
if the host presentation space exactly fits the window.
Bytes 11-12 Specifies the distance from the top of the window to the first displayed row of the host screen, or zero if the
host presentation space exactly fits the window.
Bytes 13-14 Specifies the number of the first visible row of the presentation space. This is normally one unless only a portion
of the presentation space is visible in the window.
Bytes 15-16 Specifies the number of the first visible column of the presentation space. This is normally one unless only a
portion of the presentation space is visible in the window.
Bytes 17-20 Specifies the window handle of the emulator session. For Win16 handles, only positions 17-18 are used.
|
Code | Description |
---|---|
WHLLOK | The function was successful. |
WHLLNOTCONNECTED | An invalid presentation space was specified, or was not connected for window services. |
WHLLPARAMETERERROR | An invalid option was specified. |
WHLLSYSERROR | The function failed due to a system error. |
WHLLPSENDED | The session stopped. |