netprofm: Improve the stub for INetworkCostManager::GetDataPlanStatus.
[wine.git] / include / dde.h
blob976c457cd4fe418715a68c13ca8b78e72f399fe1
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 #ifdef _USER32_
32 #define WINUSERAPI
33 #else
34 #define WINUSERAPI DECLSPEC_IMPORT
35 #endif
37 #include <dde.rh>
39 /* DDEACK: wStatus in WM_DDE_ACK message */
40 typedef struct
42 unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
43 } DDEACK;
45 /* DDEDATA: hData in WM_DDE_DATA message */
46 typedef struct
48 unsigned short unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1;
49 short cfFormat;
50 BYTE Value[1]; /* undetermined array */
51 } DDEDATA;
53 /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
54 typedef struct
56 unsigned short reserved:14, fDeferUpd:1, fAckReq:1;
57 short cfFormat;
58 } DDEADVISE;
60 /* DDEPOKE: hData in WM_DDE_POKE message. */
61 typedef struct
63 unsigned short unused:13, fRelease:1, fReserved:2;
64 short cfFormat;
65 BYTE Value[1]; /* undetermined array */
66 } DDEPOKE;
68 WINUSERAPI BOOL WINAPI DdeSetQualityOfService(HWND,const SECURITY_QUALITY_OF_SERVICE *,PSECURITY_QUALITY_OF_SERVICE);
69 WINUSERAPI BOOL WINAPI FreeDDElParam(UINT,LPARAM);
70 WINUSERAPI BOOL WINAPI ImpersonateDdeClientWindow(HWND,HWND);
71 WINUSERAPI LPARAM WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR);
72 WINUSERAPI LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR);
73 WINUSERAPI BOOL WINAPI UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR);
75 #ifdef __cplusplus
77 #endif
79 #endif /* __WINE_DDE_H */