Return Parameters
| Return Code | Explanation |
|---|---|
| 0 | The keystrokes were sent; status is normal. |
| 1 | Your program is not connected to a host session. |
| 2 | An incorrect parameter was passed to EHLLAPI. |
| 4 | The host session was busy; all of the keystrokes could not be sent. |
| 5 | Input to the target session was inhibited or rejected; all of the keystrokes could not be sent. |
| 9 | A system error was encountered. |