Personal Communications Response

Personal Communications receives the Start Close 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, aCLOSE)
Return Code Explanation
1 Close Intercept is already working.
6 The specified format is not valid.
9 A system error occurred.
Once the intercept starts, the client receives DATA messages notifying it that the close request is intercepted:
WM_DDE_DATA(hData, aCLOSE)
where:
hData
Identifies a handle to a Windows global memory object containing:
typedef struct tagCLOSEREQ
{
  unsigned char  data[(sizeof(DDEDATA)-1)];
  unsigned short uCloseReqCount; /* Number of the close requests.
} CLOSEREQ;
 
typedef union tagDDE_CLOSEREQ
{
  DDEDATA   DDEdata;
  CLOSEREQ  DDEclose;
} DDE_CLOSEREQ, *lpDDE_CLOSEREQ;

The DATA messages continue until a Stop Close Intercept message is sent to Personal Communications.