Return Parameters

This function returns a data string, length, and a return code.
Data String:
Contents of the connected host presentation space.
Length:
Length of the data copied.
Return Code:
The following codes are defined:
Return Code Explanation
0 The host presentation space contents were copied to the application program. The target presentation space was active, and the keyboard was unlocked.
1 Your program is not connected to a host session.
4 The host presentation space contents were copied. The connected host presentation space was waiting for host response.
5 The host presentation space was copied. The keyboard was locked.
9 A system error was encountered.