| Parameter | Description |
|---|---|
| Data String | One-character short name session ID of the Host session to connect with, either an upper- or lower-case letter. |
| Data Length | NA (defaults to 1). |
| PS Position | NA |
| Code | Description |
|---|---|
| WHLLOK | The keystrokes were sent successfully. |
| WHLLNOTCONNECTED | Your Windows HLLAPI application is currently not connected to a Host session. |
| WHLLPSBUSY | Connect request successful, but the specified session is busy. |
| WHLLINHIBITED | Connect request successful, but the specified session is locked (input inhibited). |
| WHLLSYSERROR | The function failed due to a system error. |
| WHLLUNAVAILABLE | Connect request failed, specified session is unavailable (already in use). |