1 | /*
|
---|
2 | * Copyright 1995, Technion, Israel Institute of Technology
|
---|
3 | * Electrical Eng, Software Lab.
|
---|
4 | * Author: Michael Veksler.
|
---|
5 | * Purpose: dde declarations
|
---|
6 | *
|
---|
7 | * This library is free software; you can redistribute it and/or
|
---|
8 | * modify it under the terms of the GNU Lesser General Public
|
---|
9 | * License as published by the Free Software Foundation; either
|
---|
10 | * version 2.1 of the License, or (at your option) any later version.
|
---|
11 | *
|
---|
12 | * This library is distributed in the hope that it will be useful,
|
---|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
15 | * Lesser General Public License for more details.
|
---|
16 | *
|
---|
17 | * You should have received a copy of the GNU Lesser General Public
|
---|
18 | * License along with this library; if not, write to the Free Software
|
---|
19 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
20 | */
|
---|
21 |
|
---|
22 | /*
|
---|
23 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
24 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
25 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
26 | * a choice of LGPL license versions is made available with the language indicating
|
---|
27 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
28 | * of the LGPL is applied is otherwise unspecified.
|
---|
29 | */
|
---|
30 |
|
---|
31 | #ifndef __WINE_DDE_H
|
---|
32 | #define __WINE_DDE_H
|
---|
33 |
|
---|
34 | #include <windef.h>
|
---|
35 |
|
---|
36 | #ifdef __cplusplus
|
---|
37 | extern "C" {
|
---|
38 | #endif
|
---|
39 |
|
---|
40 | #ifdef _USER32_
|
---|
41 | #define WINUSERAPI
|
---|
42 | #else
|
---|
43 | #define WINUSERAPI DECLSPEC_IMPORT
|
---|
44 | #endif
|
---|
45 |
|
---|
46 | #include <dde.rh>
|
---|
47 |
|
---|
48 | /* DDEACK: wStatus in WM_DDE_ACK message */
|
---|
49 | typedef struct
|
---|
50 | {
|
---|
51 | unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
|
---|
52 | } DDEACK;
|
---|
53 |
|
---|
54 | /* DDEDATA: hData in WM_DDE_DATA message */
|
---|
55 | typedef struct
|
---|
56 | {
|
---|
57 | unsigned short unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1;
|
---|
58 | short cfFormat;
|
---|
59 | BYTE Value[1]; /* undetermined array */
|
---|
60 | } DDEDATA;
|
---|
61 |
|
---|
62 | /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
|
---|
63 | typedef struct
|
---|
64 | {
|
---|
65 | unsigned short reserved:14, fDeferUpd:1, fAckReq:1;
|
---|
66 | short cfFormat;
|
---|
67 | } DDEADVISE;
|
---|
68 |
|
---|
69 | /* DDEPOKE: hData in WM_DDE_POKE message. */
|
---|
70 | typedef struct
|
---|
71 | {
|
---|
72 | unsigned short unused:13, fRelease:1, fReserved:2;
|
---|
73 | short cfFormat;
|
---|
74 | BYTE Value[1]; /* undetermined array */
|
---|
75 | } DDEPOKE;
|
---|
76 |
|
---|
77 | WINUSERAPI BOOL WINAPI DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE *,PSECURITY_QUALITY_OF_SERVICE);
|
---|
78 | WINUSERAPI BOOL WINAPI FreeDDElParam(UINT,LPARAM);
|
---|
79 | WINUSERAPI BOOL WINAPI ImpersonateDdeClientWindow(HWND,HWND);
|
---|
80 | WINUSERAPI LPARAM WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR);
|
---|
81 | WINUSERAPI LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR);
|
---|
82 | WINUSERAPI BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR);
|
---|
83 |
|
---|
84 | #ifdef __cplusplus
|
---|
85 | }
|
---|
86 | #endif
|
---|
87 |
|
---|
88 | #endif /* __WINE_DDE_H */
|
---|