Personal Communications Response
Personal Communications returns the status data item in CF_TEXT format in a DDE
DATA message:
WM_DDE_DATA(hData, aSTATUS)For each opened session, Personal Communications returns a line of status information. Each line contains a series of fields with the following range of values:
| Fields | Range of values | Description |
|---|---|---|
| Session ID | A, B, …, Z | The short ID of the session. |
| Host Type | 370, 400 | The host system currently supported by Personal Communications. |
| Emulation Type | 3270, 5250 | The emulation type supported by Personal Communications. |
| Session Status | Closed, Invisible, Normal, Minimized, Maximized | The current status of the session's window. |
If Personal Communications cannot return the status data item, a DDE ACK message
is returned with an error code in the low-order byte of the wStatus
word:
WM_DDE_ACK(wStatus, aSTATUS)
| Return Code | Explanation |
|---|---|
| 9 | A system error occurred. |