Personal Communications Response
Personal Communications returns the handle of the newly created menu item in a DDE data
message if the Personal Communications can create a menu item.
WM_DDE_DATA(hData,aCREATEMENU)where:
- hData
-
Identifies a handle to a windows global memory object that contains the handle of the menu item. The global memory object contains the following structure:
typedef struct tagCreateMenu { unsigned char data[(sizeof(DDEDATA)-1)]; HWND hMemuItem; /* Handle of the menu item } CREATEMENU; typedef union tagDDE_CREATEMENU { DDEDATA DDEdata; CREATEMENU DDEmenu; } DDE_CREATEMENU,*lpDDE_CREATEMENU;
WM_DDE_ACK(wStatus,aCREATEMENU)If Personal Communications cannot create a menu item, one of the following status codes is returned in the low-order byte of the wStatus word:
| Return Code | Explanation |
|---|---|
| 6 | The specified format is not valid. |
| 9 | A system error occurred. |