Personal Communications Response
Personal Communications receives the Start Keystroke Intercept and
returns an ACK message if it can start the intercept. Otherwise a negative
ACK message is returned to the client with one of the following return codes
in the low-order byte of the wStatus field:
WM_DDE_ACK(wStatus, aKEYS)| Return Code | Explanation |
|---|---|
| 1 | Keystroke Intercept is already started. |
| 6 | The specified format is not valid. |
| 9 | A system error occurred. |
Once the intercept has started, the client receives DATA messages notifying
it that the keystroke is intercepted:
WM_DDE_DATA(hData, aKEYS)The DATA messages continue until a Stop Keystroke Intercept message is sent to Personal Communications. The format of the data item is the same format as if the client requested the data item via a DDE_REQUEST.