User`s guide

Contents cxlv
Bytes 8-m are where the structured field messages are returned. The following occurs when the call is
returned:
u The word at position 2 contains the length (8-m) of the structured field
messages.
u The word at position 8 contains the length of the first structured field message.
u Bytes 10-m contain the actual data of the structured field message.
Synchronous Requests
When Write Structured Fields (127) is requested synchronously (the S option in the data string),
control is returned to the application only after the request is satisfied. The application can assume:
u The return code is correct.
u The data in the communications buffer (read buffer) is correct.
u The host is no longer processing the Write Structured Fields (127) request.
Asynchronous Requests
When Write Structured Fields (127) is requested asynchronously (the A option in the data string), the
application cannot assume:
u The return code is correct.
u The data in the communications buffer (read buffer) is correct.
u The host is no longer processing the Write Structured Fields (127) request.
When requested asynchronously, WinHLLAPI returns the following:
u A 16-bit Request ID in positions 2-3 of the data string.
u The address of a semaphore in positions 4 - 7 of the data string.
These are used to complete the asynchronous Write Structured Fields (127) call.