ReactOS 0.4.15-dev-7953-g1f49173
dde.h
Go to the documentation of this file.
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 Street, 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
28extern "C" {
29#endif
30
31#ifdef _MSC_VER
32#pragma warning(push)
33#pragma warning(disable:4214)
34#pragma warning(disable:4820)
35#endif
36
37#define WM_DDE_INITIATE 0x3E0
38#define WM_DDE_TERMINATE 0x3E1
39#define WM_DDE_ADVISE 0x3E2
40#define WM_DDE_UNADVISE 0x3E3
41#define WM_DDE_ACK 0x3E4
42#define WM_DDE_DATA 0x3E5
43#define WM_DDE_REQUEST 0x3E6
44#define WM_DDE_POKE 0x3E7
45#define WM_DDE_EXECUTE 0x3E8
46#define WM_DDE_LAST WM_DDE_EXECUTE
47#define WM_DDE_FIRST WM_DDE_INITIATE
48
49/* DDEACK: wStatus in WM_DDE_ACK message */
50typedef struct
51{
52 unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
53} DDEACK;
54
55/* DDEDATA: hData in WM_DDE_DATA message */
56typedef struct
57{
58 unsigned short unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1;
59 short cfFormat;
60 BYTE Value[1]; /* undetermined array */
61} DDEDATA;
62
63/* DDEADVISE: hOptions in WM_DDE_ADVISE message */
64typedef struct
65{
66 unsigned short reserved:14, fDeferUpd:1, fAckReq:1;
67 short cfFormat;
68} DDEADVISE;
69
70/* DDEPOKE: hData in WM_DDE_POKE message. */
71typedef struct
72{
73 unsigned short unused:13, fRelease:1, fReserved:2;
74 short cfFormat;
75 BYTE Value[1]; /* undetermined array */
76} DDEPOKE;
77
81
82BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer);
83
84/* lParam packing/unpacking API */
85
90
91#ifdef _MSC_VER
92#pragma warning(pop)
93#endif
94
95#ifdef __cplusplus
96}
97#endif
98
99#endif /* __WINE_DDE_H */
LPARAM WINAPI ReuseDDElParam(LPARAM, UINT, UINT, UINT_PTR, UINT_PTR)
Definition: ddemisc.c:171
BOOL WINAPI UnpackDDElParam(UINT, LPARAM, PUINT_PTR, PUINT_PTR)
Definition: ddemisc.c:105
BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer)
Definition: ddemisc.c:221
BOOL WINAPI FreeDDElParam(UINT, LPARAM)
Definition: ddemisc.c:147
BOOL WINAPI DdeSetQualityOfService(HWND hwndClient, CONST SECURITY_QUALITY_OF_SERVICE *pqosNew, PSECURITY_QUALITY_OF_SERVICE pqosPrev)
LPARAM WINAPI PackDDElParam(UINT, UINT_PTR, UINT_PTR)
Definition: ddemisc.c:63
r reserved
Definition: btrfs.c:3006
unsigned int BOOL
Definition: ntddk_ex.h:94
WORD unused[29]
Definition: crypt.c:1155
unsigned __int3264 UINT_PTR
Definition: mstsclib_h.h:274
unsigned int UINT
Definition: ndis.h:50
#define CONST
Definition: pedump.c:81
Definition: dde.h:51
unsigned short bAppReturnCode
Definition: dde.h:52
Definition: dde.h:65
short cfFormat
Definition: dde.h:67
unsigned short fAckReq
Definition: dde.h:66
Definition: dde.h:57
unsigned short fAckReq
Definition: dde.h:58
short cfFormat
Definition: dde.h:59
Definition: dde.h:72
short cfFormat
Definition: dde.h:74
unsigned short fRelease
Definition: dde.h:73
uint32_t * PUINT_PTR
Definition: typedefs.h:65
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Definition: wdfregistry.h:413
LONG_PTR LPARAM
Definition: windef.h:208
#define WINAPI
Definition: msvc.h:6
unsigned char BYTE
Definition: xxhash.c:193