ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dde.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright 1995, Technion, Israel Institute of Technology
00003  * Electrical Eng, Software Lab.
00004  * Author:    Michael Veksler.
00005  * Purpose:   dde declarations
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00020  *****************************************************************************
00021  */
00022 #ifndef __WINE_DDE_H
00023 #define __WINE_DDE_H
00024 
00025 #include <windef.h>
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00031 #ifdef _MSC_VER
00032 #pragma warning(push)
00033 #pragma warning(disable:4214)
00034 #pragma warning(disable:4820)
00035 #endif
00036 
00037 #define WM_DDE_INITIATE   0x3E0
00038 #define WM_DDE_TERMINATE  0x3E1
00039 #define WM_DDE_ADVISE     0x3E2
00040 #define WM_DDE_UNADVISE   0x3E3
00041 #define WM_DDE_ACK    0x3E4
00042 #define WM_DDE_DATA   0x3E5
00043 #define WM_DDE_REQUEST    0x3E6
00044 #define WM_DDE_POKE   0x3E7
00045 #define WM_DDE_EXECUTE    0x3E8
00046 #define WM_DDE_LAST   WM_DDE_EXECUTE
00047 #define WM_DDE_FIRST      WM_DDE_INITIATE
00048 
00049 /* DDEACK: wStatus in WM_DDE_ACK message */
00050 typedef struct
00051 {
00052     unsigned short bAppReturnCode:8, reserved:6, fBusy:1, fAck:1;
00053 } DDEACK;
00054 
00055 /* DDEDATA: hData in WM_DDE_DATA message */
00056 typedef struct
00057 {
00058     unsigned short unused:12, fResponse:1, fRelease:1, reserved:1, fAckReq:1;
00059     short cfFormat;
00060     BYTE Value[1];      /* undetermined array */
00061 } DDEDATA;
00062 
00063 /* DDEADVISE: hOptions in WM_DDE_ADVISE message */
00064 typedef struct
00065 {
00066     unsigned short reserved:14, fDeferUpd:1, fAckReq:1;
00067     short cfFormat;
00068 } DDEADVISE;
00069 
00070 /* DDEPOKE: hData in WM_DDE_POKE message. */
00071 typedef struct
00072 {
00073     unsigned short unused:13, fRelease:1, fReserved:2;
00074     short cfFormat;
00075     BYTE Value[1];      /* undetermined array */
00076 } DDEPOKE;
00077 
00078 BOOL WINAPI DdeSetQualityOfService(HWND hwndClient,
00079                    CONST SECURITY_QUALITY_OF_SERVICE *pqosNew,
00080                    PSECURITY_QUALITY_OF_SERVICE pqosPrev);
00081 
00082 BOOL WINAPI ImpersonateDdeClientWindow(HWND hWndClient, HWND hWndServer);
00083 
00084 /* lParam packing/unpacking API */
00085 
00086 LPARAM      WINAPI PackDDElParam(UINT,UINT_PTR,UINT_PTR);
00087 BOOL        WINAPI UnpackDDElParam(UINT,LPARAM,PUINT_PTR,PUINT_PTR);
00088 BOOL        WINAPI FreeDDElParam(UINT,LPARAM);
00089 LPARAM      WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT_PTR,UINT_PTR);
00090 
00091 #ifdef _MSC_VER
00092 #pragma warning(pop)
00093 #endif
00094 
00095 #ifdef __cplusplus
00096 }
00097 #endif
00098 
00099 #endif /* __WINE_DDE_H */

Generated on Fri May 25 2012 04:29:52 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.