2002-07-17 Bart Oldeman <bart.oldeman@btinternet.com>
* include/ddeml.h (MH_*) Add defines. (MONHSZSTRUCT): Add structure and typedefs. (MONLINKSTRUCT): Ditto. (MONCONVSTRUCT): Ditto. (MONCBSTRUCT): Ditto. (MONERRSTRUCT): Ditto. (MONMSGSTRUCT): Ditto. * include/windef.h: Don't define __cdecl or _cdecl for __WATCOM__. Don't define _export or __export for __WATCOM__. * include/windows.h (imm.h): #include. * include/winnt.h (LPEXCEPTION_RECORD): Add typedef. 2002-07-17 Danny Smith <dannysmith@users.sourceforge.net> * include/wtypes.h: Remove duplicate #includes of rhc.h and rpcndr.h.
This commit is contained in:
parent
190b468725
commit
c344492ccc
|
@ -1,3 +1,22 @@
|
||||||
|
2002-07-17 Bart Oldeman <bart.oldeman@btinternet.com>
|
||||||
|
|
||||||
|
* include/ddeml.h (MH_*) Add defines.
|
||||||
|
(MONHSZSTRUCT): Add structure and typedefs.
|
||||||
|
(MONLINKSTRUCT): Ditto.
|
||||||
|
(MONCONVSTRUCT): Ditto.
|
||||||
|
(MONCBSTRUCT): Ditto.
|
||||||
|
(MONERRSTRUCT): Ditto.
|
||||||
|
(MONMSGSTRUCT): Ditto.
|
||||||
|
* include/windef.h: Don't define __cdecl or _cdecl for
|
||||||
|
__WATCOM__.
|
||||||
|
Don't define _export or __export for __WATCOM__.
|
||||||
|
* include/windows.h (imm.h): #include.
|
||||||
|
* include/winnt.h (LPEXCEPTION_RECORD): Add typedef.
|
||||||
|
|
||||||
|
2002-07-17 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/wtypes.h: Remove duplicate #includes of rhc.h and
|
||||||
|
|
||||||
2002-07-05 Luke Dunstan <infidel@users.sourceforge.net>
|
2002-07-05 Luke Dunstan <infidel@users.sourceforge.net>
|
||||||
|
|
||||||
* include/winbase.h (OpenThread): Add prototype.
|
* include/winbase.h (OpenThread): Add prototype.
|
||||||
|
@ -14,7 +33,6 @@
|
||||||
* include/wtypes.h: Include <rpc.h> and <rpcndr.h> before
|
* include/wtypes.h: Include <rpc.h> and <rpcndr.h> before
|
||||||
header guard.
|
header guard.
|
||||||
|
|
||||||
|
|
||||||
2002-07-02 Danny Smith <dannysmith@users.sourceforge.net>
|
2002-07-02 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* include/commctrl.h (WC_*): Remove some duplicate defines.
|
* include/commctrl.h (WC_*): Remove some duplicate defines.
|
||||||
|
|
|
@ -137,6 +137,10 @@ extern "C" {
|
||||||
#define MF_LINKS 0x20000000
|
#define MF_LINKS 0x20000000
|
||||||
#define MF_CONV 0x40000000
|
#define MF_CONV 0x40000000
|
||||||
#define MF_MASK 0xFF000000
|
#define MF_MASK 0xFF000000
|
||||||
|
#define MH_CREATE 1
|
||||||
|
#define MH_KEEP 2
|
||||||
|
#define MH_DELETE 3
|
||||||
|
#define MH_CLEANUP 4
|
||||||
|
|
||||||
DECLARE_HANDLE(HCONVLIST);
|
DECLARE_HANDLE(HCONVLIST);
|
||||||
DECLARE_HANDLE(HCONV);
|
DECLARE_HANDLE(HCONV);
|
||||||
|
@ -181,6 +185,71 @@ typedef struct tagDDEML_MSG_HOOK_DATA {
|
||||||
DWORD cbData;
|
DWORD cbData;
|
||||||
DWORD Data[8];
|
DWORD Data[8];
|
||||||
} DDEML_MSG_HOOK_DATA;
|
} DDEML_MSG_HOOK_DATA;
|
||||||
|
typedef struct tagMONHSZSTRUCT {
|
||||||
|
UINT cb;
|
||||||
|
BOOL fsAction;
|
||||||
|
DWORD dwTime;
|
||||||
|
HSZ hsz;
|
||||||
|
HANDLE hTask;
|
||||||
|
TCHAR str[1];
|
||||||
|
} MONHSZSTRUCT, *PMONHSZSTRUCT;
|
||||||
|
typedef struct tagMONLINKSTRUCT {
|
||||||
|
UINT cb;
|
||||||
|
DWORD dwTime;
|
||||||
|
HANDLE hTask;
|
||||||
|
BOOL fEstablished;
|
||||||
|
BOOL fNoData;
|
||||||
|
HSZ hszSvc;
|
||||||
|
HSZ hszTopic;
|
||||||
|
HSZ hszItem;
|
||||||
|
UINT wFmt;
|
||||||
|
BOOL fServer;
|
||||||
|
HCONV hConvServer;
|
||||||
|
HCONV hConvClient;
|
||||||
|
} MONLINKSTRUCT, *PMONLINKSTRUCT;
|
||||||
|
typedef struct tagMONCONVSTRUCT {
|
||||||
|
UINT cb;
|
||||||
|
BOOL fConnect;
|
||||||
|
DWORD dwTime;
|
||||||
|
HANDLE hTask;
|
||||||
|
HSZ hszSvc;
|
||||||
|
HSZ hszTopic;
|
||||||
|
HCONV hConvClient;
|
||||||
|
HCONV hConvServer;
|
||||||
|
} MONCONVSTRUCT, *PMONCONVSTRUCT;
|
||||||
|
typedef struct tagMONCBSTRUCT {
|
||||||
|
UINT cb;
|
||||||
|
DWORD dwTime;
|
||||||
|
HANDLE hTask;
|
||||||
|
DWORD dwRet;
|
||||||
|
UINT wType;
|
||||||
|
UINT wFmt;
|
||||||
|
HCONV hConv;
|
||||||
|
HSZ hsz1;
|
||||||
|
HSZ hsz2;
|
||||||
|
HDDEDATA hData;
|
||||||
|
ULONG_PTR dwData1;
|
||||||
|
ULONG_PTR dwData2;
|
||||||
|
CONVCONTEXT cc;
|
||||||
|
DWORD cbData;
|
||||||
|
DWORD Data[8];
|
||||||
|
} MONCBSTRUCT, *PMONCBSTRUCT;
|
||||||
|
typedef struct tagMONERRSTRUCT {
|
||||||
|
UINT cb;
|
||||||
|
UINT wLastError;
|
||||||
|
DWORD dwTime;
|
||||||
|
HANDLE hTask;
|
||||||
|
} MONERRSTRUCT, *PMONERRSTRUCT;
|
||||||
|
typedef struct tagMONMSGSTRUCT {
|
||||||
|
UINT cb;
|
||||||
|
HWND hwndTo;
|
||||||
|
DWORD dwTime;
|
||||||
|
HANDLE hTask;
|
||||||
|
UINT wMsg;
|
||||||
|
WPARAM wParam;
|
||||||
|
LPARAM lParam;
|
||||||
|
DDEML_MSG_HOOK_DATA dmhd;
|
||||||
|
} MONMSGSTRUCT, *PMONMSGSTRUCT;
|
||||||
|
|
||||||
BOOL WINAPI DdeAbandonTransaction(DWORD,HCONV,DWORD);
|
BOOL WINAPI DdeAbandonTransaction(DWORD,HCONV,DWORD);
|
||||||
PBYTE WINAPI DdeAccessData(HDDEDATA,PDWORD);
|
PBYTE WINAPI DdeAccessData(HDDEDATA,PDWORD);
|
||||||
|
|
|
@ -75,6 +75,8 @@ extern "C" {
|
||||||
#ifndef _declspec
|
#ifndef _declspec
|
||||||
#define _declspec(e) __attribute__((e))
|
#define _declspec(e) __attribute__((e))
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(__WATCOMC__)
|
||||||
|
#define PACKED
|
||||||
#else
|
#else
|
||||||
#define PACKED
|
#define PACKED
|
||||||
#define _cdecl
|
#define _cdecl
|
||||||
|
@ -113,12 +115,14 @@ extern "C" {
|
||||||
#define LOBYTE(w) ((BYTE)(w))
|
#define LOBYTE(w) ((BYTE)(w))
|
||||||
#define HIBYTE(w) ((BYTE)(((WORD)(w)>>8)&0xFF))
|
#define HIBYTE(w) ((BYTE)(((WORD)(w)>>8)&0xFF))
|
||||||
|
|
||||||
|
#ifndef __WATCOMC__
|
||||||
#ifndef _export
|
#ifndef _export
|
||||||
#define _export
|
#define _export
|
||||||
#endif
|
#endif
|
||||||
#ifndef __export
|
#ifndef __export
|
||||||
#define __export
|
#define __export
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef NOMINMAX
|
#ifndef NOMINMAX
|
||||||
#ifndef max
|
#ifndef max
|
||||||
|
|
|
@ -77,6 +77,7 @@
|
||||||
#include <dde.h>
|
#include <dde.h>
|
||||||
#include <ddeml.h>
|
#include <ddeml.h>
|
||||||
#include <dlgs.h>
|
#include <dlgs.h>
|
||||||
|
#include <imm.h>
|
||||||
#include <lzexpand.h>
|
#include <lzexpand.h>
|
||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
#include <nb30.h>
|
#include <nb30.h>
|
||||||
|
|
|
@ -1764,7 +1764,7 @@ typedef struct _EXCEPTION_RECORD {
|
||||||
PVOID ExceptionAddress;
|
PVOID ExceptionAddress;
|
||||||
DWORD NumberParameters;
|
DWORD NumberParameters;
|
||||||
DWORD ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS];
|
DWORD ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS];
|
||||||
} EXCEPTION_RECORD,*PEXCEPTION_RECORD;
|
} EXCEPTION_RECORD,*PEXCEPTION_RECORD,*LPEXCEPTION_RECORD;
|
||||||
typedef struct _EXCEPTION_POINTERS {
|
typedef struct _EXCEPTION_POINTERS {
|
||||||
PEXCEPTION_RECORD ExceptionRecord;
|
PEXCEPTION_RECORD ExceptionRecord;
|
||||||
PCONTEXT ContextRecord;
|
PCONTEXT ContextRecord;
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <rpc.h>
|
|
||||||
#include <rpcndr.h>
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue