include: Add windows.devices.bluetooth.idl file.
[wine.git] / include / dde.h
blobfda798b06f405f0cb945d54a5a059abf21cbadf0
1 /*
2 * Copyright 1995, Technion, Israel Institute of Technology
3 * Electrical Eng, Software Lab.
4 * Author: Michael Veksler.
5 * Purpose: dde declarations
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.
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.
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
22 #ifndef __WINE_DDE_H
23 #define __WINE_DDE_H
25 #include <windef.h>
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
31 #ifndef WINUSERAPI
32 #if defined(_USER32_) || defined(WINE_UNIX_LIB)
33 #define WINUSERAPI
34 #else
35 #define WINUSERAPI DECLSPEC_IMPORT
36 #endif
37 #endif
39 #include <dde.rh>
41 /* DDEACK: wStatus in WM_DDE_ACK message */
42 typedef struct
44 unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
45 } DDEACK;
47 /* DDEDATA: hData in WM_DDE_DATA message */
48 typedef struct
50 unsigned short unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1;
51 short cfFormat;
52 BYTE Value[1]; /* undetermined array */
53 } DDEDATA;
55 /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
56 typedef struct
58 unsigned short reserved:14, fDeferUpd:1, fAckReq:1;
59 short cfFormat;
60 } DDEADVISE;
62 /* DDEPOKE: hData in WM_DDE_POKE message. */
63 typedef struct
65 unsigned short unused:13, fRelease:1, fReserved:2;
66 short cfFormat;
67 BYTE Value[1]; /* undetermined array */
68 } DDEPOKE;
70 WINUSERAPI BOOL WINAPI DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE *,PSECURITY_QUALITY_OF_SERVICE);
71 WINUSERAPI BOOL WINAPI FreeDDElParam(UINT,LPARAM);
72 WINUSERAPI BOOL WINAPI ImpersonateDdeClientWindow(HWND,HWND);
73 WINUSERAPI LPARAM WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR);
74 WINUSERAPI LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR);
75 WINUSERAPI BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR);
77 #ifdef __cplusplus
79 #endif
81 #endif /* __WINE_DDE_H */