Return Parameters
This function returns a data string and a return code.
- Data String:
- Contents of the host presentation space.
- 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. |
| 2 | An error was made in specifying string length, or the sum of (Length - 1) + PS position is greater than the size of the connected host presentation space. |
| 4 | The host presentation space contents were copied. The host presentation space was waiting for host response. |
| 5 | The host presentation space was copied. The keyboard was locked. |
| 7 | The host presentation space position is not valid. |
| 9 | A system error was encountered. |