| Parameter | Description |
|---|---|
| Data String | A 5-byte string for returned semaphore address. The first byte is a short name session ID of the session to query, or space or null for the current session. |
| Data Length | Must be specified. |
| PS Position | NA |
| Parameter | Description |
|---|---|
| Data String | A 5-byte string with the following format:
Byte 1 Short name session ID, or space or null for the current session.
Bytes 2-5 Semaphore address.
|
| Code | Description |
|---|---|
| WHLLOK | The function was successful. |
| WHLLNOTCONNECTED | An invalid presentation space was specified. |
| WHLLPARAMETERERROR | An invalid option was specified. |
| WHLLNOTSUPPORTED | The function was not supported by the emulation program. |
| WHLLCANCEL | The asynchronous function was cancelled. |