1 | /* $Id: dde.h,v 1.2 2002-02-11 13:51:38 sandervl Exp $ */
|
---|
2 |
|
---|
3 | /*****************************************************************************
|
---|
4 | * Copyright 1995, Technion, Israel Institute of Technology
|
---|
5 | * Electrical Eng, Software Lab.
|
---|
6 | * Author: Michael Veksler.
|
---|
7 | ***************************************************************************
|
---|
8 | * File: dde.h
|
---|
9 | * Purpose: dde declarations
|
---|
10 | *
|
---|
11 | *****************************************************************************
|
---|
12 | */
|
---|
13 | #ifndef __WINE_DDE_H
|
---|
14 | #define __WINE_DDE_H
|
---|
15 |
|
---|
16 | #include "windef.h"
|
---|
17 | #include "dde_proc.h"
|
---|
18 |
|
---|
19 | #define WM_DDE_INITIATE 0x3E0
|
---|
20 | #define WM_DDE_TERMINATE 0x3E1
|
---|
21 | #define WM_DDE_ADVISE 0x3E2
|
---|
22 | #define WM_DDE_UNADVISE 0x3E3
|
---|
23 | #define WM_DDE_ACK 0x3E4
|
---|
24 | #define WM_DDE_DATA 0x3E5
|
---|
25 | #define WM_DDE_REQUEST 0x3E6
|
---|
26 | #define WM_DDE_POKE 0x3E7
|
---|
27 | #define WM_DDE_EXECUTE 0x3E8
|
---|
28 | #define WM_DDE_LAST WM_DDE_EXECUTE
|
---|
29 | #define WM_DDE_FIRST WM_DDE_INITIATE
|
---|
30 |
|
---|
31 | /* DDEACK: wStatus in WM_DDE_ACK message */
|
---|
32 | struct tagDDEACK
|
---|
33 | {
|
---|
34 | unsigned bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
|
---|
35 | };
|
---|
36 | typedef struct tagDDEACK DDEACK;
|
---|
37 |
|
---|
38 | /* DDEDATA: hData in WM_DDE_DATA message */
|
---|
39 | struct tagDDEDATA
|
---|
40 | {
|
---|
41 | unsigned unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1,
|
---|
42 | cfFormat:16;
|
---|
43 | BYTE Value[1]; /* undetermined array */
|
---|
44 | };
|
---|
45 | typedef struct tagDDEDATA DDEDATA;
|
---|
46 |
|
---|
47 |
|
---|
48 | /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
|
---|
49 | struct tagDDEADVISE
|
---|
50 | {
|
---|
51 | unsigned reserved:14, fDeferUpd:1, fAckReq:1, cfFormat:16;
|
---|
52 | };
|
---|
53 | typedef struct tagDDEADVISE DDEADVISE;
|
---|
54 |
|
---|
55 | /* DDEPOKE: hData in WM_DDE_POKE message. */
|
---|
56 | struct tagDDEPOKE
|
---|
57 | {
|
---|
58 | unsigned unused:13, fRelease:1, fReserved:2, cfFormat:16;
|
---|
59 | BYTE Value[1]; /* undetermined array */
|
---|
60 | };
|
---|
61 | typedef struct tagDDEPOKE DDEPOKE;
|
---|
62 |
|
---|
63 |
|
---|
64 | BOOL WINAPI DdeSetQualityOfService(HWND hwndClient,
|
---|
65 | CONST SECURITY_QUALITY_OF_SERVICE *pqosNew,
|
---|
66 | PSECURITY_QUALITY_OF_SERVICE pqosPrev);
|
---|
67 |
|
---|
68 | BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer);
|
---|
69 |
|
---|
70 | /* lParam packing/unpacking API */
|
---|
71 |
|
---|
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);
|
---|
76 |
|
---|
77 | #endif /* __WINE_DDE_H */
|
---|