User`s guide
Contents cxxxv
Parameter Description
Data String When the A (asynchronous) control option is specified and
the request is successfully completed, the following are
returned:
Bytes 9-10 A 16-bit value representing the
destination/origin ID returned to the
application by the emulator. This function
request ID is used by the Get Request
Completion (125) function to determine the
status of this function call.
Bytes 11-14 A 4-byte value in which the semaphore
address is returned by WinHLLAPI. The
application may wait upon this semaphore.
When the semaphore is cleared, the
application must issue the Get Request
Completion (125) function call.
A semaphore address is returned for each successful asynchronous request.
The semaphore should not be used again, A new semaphore is returned for each
request and is valid for only the duration of that request.
There is no returned data string for the S (synchronous) control option.
Code Description
WHLLOK The function was successful.
WHLLNOTCONNECTED An invalid presentation space was specified, or was not
connected or the DOID was incorrect.
WHLLPARAMETERERROR An invalid option was specified.
WHLLSYSERROR The function failed due to a system error.
WHLLUNAVAILABLE The requested resource was not available.
WHLLTRANCANCL An outbound transmission from the host was canceled.
WHLLHOSTCLOST Contact with the host was lost.
WHLLOKDISABLED The function was successful.
The host inbound transmission is disabled.
Return Parameters
Note
Note
Return Codes
Warning