d3drm: Avoid LPDIRECT3DRMVIEWPORT.
[wine] / include / dde.h
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 #ifndef __WINE_DDE_H
23 #define __WINE_DDE_H
24
25 #include <windef.h>
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 #ifdef _USER32_
32 #define WINUSERAPI
33 #else
34 #define WINUSERAPI DECLSPEC_IMPORT
35 #endif
36
37 #include <dde.rh>
38
39 /* DDEACK: wStatus in WM_DDE_ACK message */
40 typedef struct
41 {
42     unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
43 } DDEACK;
44
45 /* DDEDATA: hData in WM_DDE_DATA message */
46 typedef struct
47 {
48     unsigned short unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1;
49     short cfFormat;
50     BYTE Value[1];              /* undetermined array */
51 } DDEDATA;
52
53 /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
54 typedef struct
55 {
56     unsigned short reserved:14, fDeferUpd:1, fAckReq:1;
57     short cfFormat;
58 } DDEADVISE;
59
60 /* DDEPOKE: hData in WM_DDE_POKE message. */
61 typedef struct
62 {
63     unsigned short unused:13, fRelease:1, fReserved:2;
64     short cfFormat;
65     BYTE Value[1];      /* undetermined array */
66 } DDEPOKE;
67
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);
74
75 #ifdef __cplusplus
76 }
77 #endif
78
79 #endif /* __WINE_DDE_H */