Spelling fix.
[wine/multimedia.git] / include / dde.h
blob832e0d60b23255f704cd0f4bb035a6b5f473fe0e
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 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 #define WM_DDE_INITIATE 0x3E0
21 #define WM_DDE_TERMINATE 0x3E1
22 #define WM_DDE_ADVISE 0x3E2
23 #define WM_DDE_UNADVISE 0x3E3
24 #define WM_DDE_ACK 0x3E4
25 #define WM_DDE_DATA 0x3E5
26 #define WM_DDE_REQUEST 0x3E6
27 #define WM_DDE_POKE 0x3E7
28 #define WM_DDE_EXECUTE 0x3E8
29 #define WM_DDE_LAST WM_DDE_EXECUTE
30 #define WM_DDE_FIRST WM_DDE_INITIATE
32 /* DDEACK: wStatus in WM_DDE_ACK message */
33 struct tagDDEACK
35 unsigned bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
37 typedef struct tagDDEACK DDEACK;
39 /* DDEDATA: hData in WM_DDE_DATA message */
40 struct tagDDEDATA
42 unsigned unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1,
43 cfFormat:16;
44 BYTE Value[1]; /* undetermined array */
46 typedef struct tagDDEDATA DDEDATA;
49 /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
50 struct tagDDEADVISE
52 unsigned reserved:14, fDeferUpd:1, fAckReq:1, cfFormat:16;
54 typedef struct tagDDEADVISE DDEADVISE;
56 /* DDEPOKE: hData in WM_DDE_POKE message. */
57 struct tagDDEPOKE
59 unsigned unused:13, fRelease:1, fReserved:2, cfFormat:16;
60 BYTE Value[1]; /* undetermined array */
62 typedef struct tagDDEPOKE DDEPOKE;
65 /* lParam packing/unpacking API */
67 LPARAM WINAPI PackDDElParam(UINT,UINT,UINT);
68 BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT,PUINT);
69 BOOL WINAPI FreeDDElParam(UINT,LPARAM);
70 LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT,UINT);
73 #ifdef __cplusplus
75 #endif
77 #endif /* __WINE_DDE_H */