Yet another attempt at fixing CW_USEDEFAULT handling.
[wine.git] / include / dde.h
blobbae151f09a4faf0b96e78f0c7218d650073901c8
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
9 *****************************************************************************
11 #ifndef __WINE_DDE_H
12 #define __WINE_DDE_H
14 #include "windef.h"
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
28 /* DDEACK: wStatus in WM_DDE_ACK message */
29 struct tagDDEACK
31 unsigned bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
33 typedef struct tagDDEACK DDEACK;
35 /* DDEDATA: hData in WM_DDE_DATA message */
36 struct tagDDEDATA
38 unsigned unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1,
39 cfFormat:16;
40 BYTE Value[1]; /* undetermined array */
42 typedef struct tagDDEDATA DDEDATA;
45 /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
46 struct tagDDEADVISE
48 unsigned reserved:14, fDeferUpd:1, fAckReq:1, cfFormat:16;
50 typedef struct tagDDEADVISE DDEADVISE;
52 /* DDEPOKE: hData in WM_DDE_POKE message. */
53 struct tagDDEPOKE
55 unsigned unused:13, fRelease:1, fReserved:2, cfFormat:16;
56 BYTE Value[1]; /* undetermined array */
58 typedef struct tagDDEPOKE DDEPOKE;
60 #endif /* __WINE_DDE_H */