1 /*****************************************************************************
2 * Copyright 1995, Technion, Israel Institute of Technology
3 * Electrical Eng, Software Lab.
4 * Author: Michael Veksler.
5 ***************************************************************************
7 * Purpose: dde declarations
9 *****************************************************************************
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 */
35 unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
37 typedef struct tagDDEACK DDEACK;
39 /* DDEDATA: hData in WM_DDE_DATA message */
42 unsigned unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1,
44 BYTE Value[1]; /* undetermined array */
46 typedef struct tagDDEDATA DDEDATA;
49 /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
52 unsigned reserved:14, fDeferUpd:1, fAckReq:1, cfFormat:16;
54 typedef struct tagDDEADVISE DDEADVISE;
56 /* DDEPOKE: hData in WM_DDE_POKE message. */
59 unsigned unused:13, fRelease:1, fReserved:2, cfFormat:16;
60 BYTE Value[1]; /* undetermined array */
62 typedef struct tagDDEPOKE DDEPOKE;
64 BOOL WINAPI DdeSetQualityOfService(HWND hwndClient,
65 CONST SECURITY_QUALITY_OF_SERVICE *pqosNew,
66 PSECURITY_QUALITY_OF_SERVICE pqosPrev);
68 BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer);
70 /* lParam packing/unpacking API */
72 LPARAM WINAPI PackDDElParam(UINT,UINT,UINT);
73 BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT,PUINT);
74 BOOL WINAPI FreeDDElParam(UINT,LPARAM);
75 LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT,UINT);
82 #endif /* __WINE_DDE_H */