Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 1 | /***************************************************************************** |
| 2 | * Copyright 1995, Technion, Israel Institute of Technology |
| 3 | * Electrical Eng, Software Lab. |
| 4 | * Author: Michael Veksler. |
| 5 | *************************************************************************** |
| 6 | * File: dde.h |
| 7 | * Purpose: dde declarations |
| 8 | * |
| 9 | ***************************************************************************** |
| 10 | */ |
| 11 | #ifndef __WINE_DDE_H |
| 12 | #define __WINE_DDE_H |
| 13 | |
Jim Aston | 2e1cafa | 1999-03-14 16:35:05 +0000 | [diff] [blame] | 14 | #include "windef.h" |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 15 | |
| 16 | #define WM_DDE_INITIATE 0x3E0 |
| 17 | #define WM_DDE_TERMINATE 0x3E1 |
| 18 | #define WM_DDE_ADVISE 0x3E2 |
| 19 | #define WM_DDE_UNADVISE 0x3E3 |
| 20 | #define WM_DDE_ACK 0x3E4 |
| 21 | #define WM_DDE_DATA 0x3E5 |
| 22 | #define WM_DDE_REQUEST 0x3E6 |
| 23 | #define WM_DDE_POKE 0x3E7 |
| 24 | #define WM_DDE_EXECUTE 0x3E8 |
| 25 | #define WM_DDE_LAST WM_DDE_EXECUTE |
| 26 | #define WM_DDE_FIRST WM_DDE_INITIATE |
| 27 | |
| 28 | /* DDEACK: wStatus in WM_DDE_ACK message */ |
| 29 | struct tagDDEACK |
| 30 | { |
Patrik Stridvall | 0f8bc5b | 1999-04-22 16:27:50 +0000 | [diff] [blame] | 31 | unsigned bAppReturnCode:8, reserved:6, fBusy:1, fAck:1; |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 32 | }; |
| 33 | typedef struct tagDDEACK DDEACK; |
| 34 | |
| 35 | /* DDEDATA: hData in WM_DDE_DATA message */ |
| 36 | struct tagDDEDATA |
| 37 | { |
Patrik Stridvall | 0f8bc5b | 1999-04-22 16:27:50 +0000 | [diff] [blame] | 38 | unsigned unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1, |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 39 | cfFormat:16; |
| 40 | BYTE Value[1]; /* undetermined array */ |
| 41 | }; |
| 42 | typedef struct tagDDEDATA DDEDATA; |
| 43 | |
| 44 | |
| 45 | /* DDEADVISE: hOptions in WM_DDE_ADVISE message */ |
| 46 | struct tagDDEADVISE |
| 47 | { |
Patrik Stridvall | 0f8bc5b | 1999-04-22 16:27:50 +0000 | [diff] [blame] | 48 | unsigned reserved:14, fDeferUpd:1, fAckReq:1, cfFormat:16; |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 49 | }; |
| 50 | typedef struct tagDDEADVISE DDEADVISE; |
| 51 | |
| 52 | /* DDEPOKE: hData in WM_DDE_POKE message. */ |
| 53 | struct tagDDEPOKE |
| 54 | { |
Patrik Stridvall | 0f8bc5b | 1999-04-22 16:27:50 +0000 | [diff] [blame] | 55 | unsigned unused:13, fRelease:1, fReserved:2, cfFormat:16; |
Alexandre Julliard | e2991ea | 1995-07-29 13:09:43 +0000 | [diff] [blame] | 56 | BYTE Value[1]; /* undetermined array */ |
| 57 | }; |
| 58 | typedef struct tagDDEPOKE DDEPOKE; |
| 59 | |
| 60 | #endif /* __WINE_DDE_H */ |