Commit 5e4b7de1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Completed/corrected the list of include files.

Handle WIN32_LEAN_AND_MEAN and the NOxxx macros.
parent 6371e832
...@@ -5,21 +5,67 @@ ...@@ -5,21 +5,67 @@
extern "C" { extern "C" {
#endif #endif
/* All the basic includes */
/* #include "excpt.h" */
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "winnls.h"
#include "wincon.h"
#include "winver.h"
#include "winreg.h" #include "winreg.h"
#include "winnetwk.h" #include "winnetwk.h"
#include "winver.h"
/* Not so essential ones */
#ifndef WIN32_LEAN_AND_MEAN
#include "cderr.h"
#include "dde.h"
#include "ddeml.h"
#include "dlgs.h"
#include "lzexpand.h" #include "lzexpand.h"
#include "shellapi.h"
#include "ole2.h"
#include "winnls.h"
#include "objbase.h"
#include "mmsystem.h" #include "mmsystem.h"
/* #include "nb30.h" */
#include "rpc.h"
#include "shellapi.h"
/* #include "winperf.h" */
#include "winsock2.h"
/* #include "mswsock.h" */
#ifndef NOCRYPT
#include "wincrypt.h"
#endif /* !NOCRYPT */
#ifndef NOGDI
#include "commdlg.h" #include "commdlg.h"
#include "winspool.h" #include "winspool.h"
#ifdef INC_OLE1
#include "ole.h"
#else
#include "ole2.h"
#endif
#endif /* !NOGDI */
#endif /* !WIN32_LEAN_AND_MEAN */
#ifdef INC_OLE2
#include "ole2.h"
#endif /* INC_OLE2 */
#ifndef NOSERVICE
#include "winsvc.h"
#endif /* !NOSERVICE */
#ifndef NOMCX
#include "mcx.h"
#endif /* !NOMCX */
#ifndef NOIMM
#include "imm.h"
#endif /* !NOIMM */
#if 0 #if 0
Where does this belong? Nobody uses this stuff anyway. Where does this belong? Nobody uses this stuff anyway.
......
...@@ -3096,6 +3096,8 @@ typedef enum _CM_ERROR_CONTROL_TYPE ...@@ -3096,6 +3096,8 @@ typedef enum _CM_ERROR_CONTROL_TYPE
#define RtlFillMemory(Destination, Length, Fill) memset((Destination),(Fill),(Length)) #define RtlFillMemory(Destination, Length, Fill) memset((Destination),(Fill),(Length))
#define RtlZeroMemory(Destination, Length) memset((Destination),0,(Length)) #define RtlZeroMemory(Destination, Length) memset((Destination),0,(Length))
#include "guiddef.h"
#include "poppack.h" #include "poppack.h"
#endif /* __WINE_WINNT_H */ #endif /* __WINE_WINNT_H */
...@@ -7,16 +7,22 @@ ...@@ -7,16 +7,22 @@
#ifndef _WINSOCKAPI_ #ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ #define _WINSOCKAPI_
#ifndef RC_INVOKED
#include <sys/types.h> #include <sys/types.h>
/* Solaris kludge */ /* Solaris uses these macro names */
#undef FSHIFT #undef FSHIFT
#undef PAGESIZE
#undef TRANSPARENT #undef TRANSPARENT
#include <netinet/in.h> #include <netinet/in.h>
/* Restore the Windows values */
#ifdef _WINUSER_
#undef FSHIFT #undef FSHIFT
#undef PAGESIZE #define FSHIFT 0x04
#endif
#ifdef _WINGDI_
#undef TRANSPARENT #undef TRANSPARENT
#define TRANSPARENT 1
#endif
#include <arpa/inet.h> #include <arpa/inet.h>
#include <sys/time.h> #include <sys/time.h>
...@@ -24,6 +30,7 @@ ...@@ -24,6 +30,7 @@
#include <netdb.h> #include <netdb.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif /* RC_INVOKED */
#include "windef.h" #include "windef.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment