winnt.h should not be self-contained, it must depend on windef.h so

that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
This commit is contained in:
Alexandre Julliard 2002-12-10 22:56:43 +00:00
parent 3144b3c85d
commit 435e2e63f4
42 changed files with 190 additions and 209 deletions

View File

@ -19,8 +19,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <string.h> #include <string.h>
#include "windef.h"
#include "winerror.h" #include "winerror.h"
#include "winnt.h"
#include "winreg.h" #include "winreg.h"
#include "winnls.h" #include "winnls.h"
#include "wine/debug.h" #include "wine/debug.h"

View File

@ -21,7 +21,6 @@
#include "config.h" #include "config.h"
#include "wine/port.h" #include "wine/port.h"
#include "winnt.h"
#include "winbase.h" #include "winbase.h"
#include "winuser.h" #include "winuser.h"

View File

@ -25,7 +25,7 @@
#include <assert.h> #include <assert.h>
#include <signal.h> #include <signal.h>
#include "winnt.h" #include "windef.h"
#include "winternl.h" #include "winternl.h"
#include "global.h" #include "global.h"
#include "wine/exception.h" #include "wine/exception.h"

View File

@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "winnt.h" #include "windef.h"
#include "winternl.h" #include "winternl.h"
/* /*

View File

@ -50,8 +50,8 @@
# include <sys/signal.h> # include <sys/signal.h>
#endif #endif
#include "windef.h"
#include "winternl.h" #include "winternl.h"
#include "winnt.h"
#include "wine/library.h" #include "wine/library.h"
#include "selectors.h" #include "selectors.h"

View File

@ -50,8 +50,8 @@
# include <sys/signal.h> # include <sys/signal.h>
#endif #endif
#include "windef.h"
#include "winternl.h" #include "winternl.h"
#include "winnt.h"
#include "wine/library.h" #include "wine/library.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "selectors.h" #include "selectors.h"

View File

@ -45,7 +45,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <winnt.h> /* DateToTm use */ #include "windef.h" /* DateToTm use */
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* Section 1: bool, true, false, TRUE, FALSE * Section 1: bool, true, false, TRUE, FALSE

View File

@ -1127,7 +1127,7 @@ BOOL WINAPI SHLWAPI_171(LPVOID x, LPVOID y)
* IInternetSecurityMgrSite * IInternetSecurityMgrSite
* IShellView * IShellView
*/ */
HRESULT WINAPI SHLWAPI_172(IUnknown *lpUnknown, PHWND lphWnd) HRESULT WINAPI SHLWAPI_172(IUnknown *lpUnknown, HWND *lphWnd)
{ {
/* FIXME: Wine has no header for this object */ /* FIXME: Wine has no header for this object */
static const GUID IID_IInternetSecurityMgrSite = { 0x79eac9ed, static const GUID IID_IInternetSecurityMgrSite = { 0x79eac9ed,

View File

@ -52,7 +52,7 @@
#ifndef TWAIN #ifndef TWAIN
#define TWAIN #define TWAIN
#include "winnt.h" #include "windef.h"
#define FAR #define FAR
#define huge #define huge

View File

@ -20,10 +20,10 @@
#include <stdlib.h> #include <stdlib.h>
#include "windef.h"
#include "miscemu.h" #include "miscemu.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "msdos.h" #include "msdos.h"
#include "winnt.h"
WINE_DEFAULT_DEBUG_CHANNEL(int); WINE_DEFAULT_DEBUG_CHANNEL(int);

View File

@ -20,7 +20,7 @@
#include "config.h" #include "config.h"
#include "winnt.h" #include "windef.h"
#include "miscemu.h" #include "miscemu.h"
#include "dosexe.h" #include "dosexe.h"

View File

@ -697,12 +697,12 @@ void WINAPI DOSVM_AllocRMCB( CONTEXT86 *context )
NewRMCB->proc_sel = context->SegDs; NewRMCB->proc_sel = context->SegDs;
NewRMCB->regs_ofs = DOSVM_IsDos32() ? context->Edi : LOWORD(context->Edi); NewRMCB->regs_ofs = DOSVM_IsDos32() ? context->Edi : LOWORD(context->Edi);
NewRMCB->regs_sel = context->SegEs; NewRMCB->regs_sel = context->SegEs;
SET_LOWORD( context->Ecx, HIWORD(NewRMCB->address) ); SET_CX( context, HIWORD(NewRMCB->address) );
SET_LOWORD( context->Edx, LOWORD(NewRMCB->address) ); SET_DX( context, LOWORD(NewRMCB->address) );
} }
else else
{ {
SET_LOWORD( context->Eax, 0x8015 ); /* callback unavailable */ SET_AX( context, 0x8015 ); /* callback unavailable */
SET_CFLAG(context); SET_CFLAG(context);
} }
} }
@ -717,7 +717,7 @@ void WINAPI DOSVM_FreeRMCB( CONTEXT86 *context )
CX_reg(context), DX_reg(context)); CX_reg(context), DX_reg(context));
if (DPMI_FreeRMCB(MAKELONG(DX_reg(context), CX_reg(context)))) { if (DPMI_FreeRMCB(MAKELONG(DX_reg(context), CX_reg(context)))) {
SET_LOWORD( context->Eax, 0x8024 ); /* invalid callback address */ SET_AX( context, 0x8024 ); /* invalid callback address */
SET_CFLAG(context); SET_CFLAG(context);
} }
} }

View File

@ -122,7 +122,7 @@ void WINAPI DOSVM_EmulateInterruptPM( CONTEXT86 *context, BYTE intnum )
if (IS_SELECTOR_32BIT(context->SegSs)) if (IS_SELECTOR_32BIT(context->SegSs))
context->Esp += islong ? -12 : -6; context->Esp += islong ? -12 : -6;
else else
ADD_LOWORD( context->Esp, islong ? -12 : -6 ); context->Esp = (context->Esp & ~0xffff) | (WORD)((context->Esp & 0xffff) + (islong ? -12 : -6));
} }
/********************************************************************** /**********************************************************************

View File

@ -22,7 +22,7 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include "winnt.h" /* HEAP_ZERO_MEMORY */ #include "windef.h" /* HEAP_ZERO_MEMORY */
#include "wine/debug.h" #include "wine/debug.h"
#include "psdrv.h" #include "psdrv.h"
#include "winspool.h" #include "winspool.h"

View File

@ -61,7 +61,7 @@
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>
#include "winnt.h" #include "windef.h"
#include "winerror.h" #include "winerror.h"
#include "winreg.h" #include "winreg.h"
#include "psdrv.h" #include "psdrv.h"

View File

@ -39,7 +39,7 @@
#include <float.h> /* FLT_MAX */ #include <float.h> /* FLT_MAX */
#endif #endif
#include "winnt.h" #include "windef.h"
#include "winerror.h" #include "winerror.h"
#include "winreg.h" #include "winreg.h"
#include "psdrv.h" #include "psdrv.h"

View File

@ -27,7 +27,7 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "winnt.h" #include "windef.h"
#include "wownt32.h" #include "wownt32.h"
#include "x11drv.h" #include "x11drv.h"
#include "bitmap.h" #include "bitmap.h"

View File

@ -24,8 +24,8 @@
#include <string.h> #include <string.h>
#include "windef.h"
#include "bitmap.h" #include "bitmap.h"
#include "winnt.h"
#include "x11drv.h" #include "x11drv.h"
#include "x11font.h" #include "x11font.h"
#include "ddrawi.h" #include "ddrawi.h"

View File

@ -25,8 +25,8 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "windef.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "winnt.h"
#include "module.h" #include "module.h"
#include "stackframe.h" #include "stackframe.h"
#include "selectors.h" #include "selectors.h"

View File

@ -21,7 +21,7 @@
#ifndef __WINE_MISCEMU_H #ifndef __WINE_MISCEMU_H
#define __WINE_MISCEMU_H #define __WINE_MISCEMU_H
#include "winnt.h" #include "windef.h"
#include "selectors.h" #include "selectors.h"
#include "wine/windef16.h" #include "wine/windef16.h"

View File

@ -233,6 +233,10 @@ DECLARE_HANDLE(HACMDRIVERID);
DECLARE_HANDLE(HACMDRIVER); DECLARE_HANDLE(HACMDRIVER);
DECLARE_HANDLE(HACMSTREAM); DECLARE_HANDLE(HACMSTREAM);
DECLARE_HANDLE(HACMOBJ); DECLARE_HANDLE(HACMOBJ);
typedef HACMDRIVERID *PHACMDRIVERID, *LPHACMDRIVERID;
typedef HACMDRIVER *PHACMDRIVER, *LPHACMDRIVER;
typedef HACMSTREAM *PHACMSTREAM, *LPHACMSTREAM;
typedef HACMOBJ *PHACMOBJ, *LPHACMOBJ;
/*********************************************************************** /***********************************************************************
* Callbacks * Callbacks

View File

@ -9,7 +9,7 @@
#define __WINE_STDLIB_H #define __WINE_STDLIB_H
#define __WINE_USE_MSVCRT #define __WINE_USE_MSVCRT
#include "winnt.h" #include "basetsd.h"
#include "msvcrt/malloc.h" /* For size_t, malloc & co */ #include "msvcrt/malloc.h" /* For size_t, malloc & co */
#include "msvcrt/search.h" /* For bsearch and qsort */ #include "msvcrt/search.h" /* For bsearch and qsort */

View File

@ -35,13 +35,144 @@
# endif /* STRICT */ # endif /* STRICT */
#endif /* NO_STRICT */ #endif /* NO_STRICT */
#include "winnt.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* Calling conventions definitions */
#ifdef __i386__
# ifndef _X86_
# define _X86_
# endif
# if defined(__GNUC__) && ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
# define __stdcall __attribute__((__stdcall__))
# define __cdecl __attribute__((__cdecl__))
# elif defined(_MSC_VER)
/* Nothing needs to be done. __cdecl/__stdcall already exists */
# else
# error You need gcc >= 2.7 to build Wine on a 386
# endif /* __GNUC__ */
#else /* __i386__ */
# define __stdcall
# define __cdecl
#endif /* __i386__ */
#ifndef __WINE__
#ifndef pascal
#define pascal __stdcall
#endif
#ifndef _pascal
#define _pascal __stdcall
#endif
#ifndef _stdcall
#define _stdcall __stdcall
#endif
#ifndef _fastcall
#define _fastcall __stdcall
#endif
#ifndef __fastcall
#define __fastcall __stdcall
#endif
#ifndef __export
#define __export __stdcall
#endif
#ifndef cdecl
#define cdecl __cdecl
#endif
#ifndef _cdecl
#define _cdecl __cdecl
#endif
#ifndef near
#define near
#endif
#ifndef far
#define far
#endif
#ifndef _near
#define _near
#endif
#ifndef _far
#define _far
#endif
#ifndef NEAR
#define NEAR
#endif
#ifndef FAR
#define FAR
#endif
#ifndef _declspec
#define _declspec(x)
#endif
#ifndef __declspec
#define __declspec(x)
#endif
#endif /* __WINE__ */
#define CALLBACK __stdcall
#define WINAPI __stdcall
#define APIPRIVATE __stdcall
#define PASCAL __stdcall
#define CDECL __cdecl
#define _CDECL __cdecl
#define WINAPIV __cdecl
#define APIENTRY WINAPI
#define CONST const
/* Misc. constants. */
#undef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void*)0)
#endif
#ifdef FALSE
#undef FALSE
#endif
#define FALSE 0
#ifdef TRUE
#undef TRUE
#endif
#define TRUE 1
#ifndef IN
#define IN
#endif
#ifndef OUT
#define OUT
#endif
#ifndef OPTIONAL
#define OPTIONAL
#endif
/* Standard data types */
typedef void *LPVOID;
typedef const void *LPCVOID;
typedef int BOOL, *PBOOL, *LPBOOL;
typedef unsigned char BYTE, *PBYTE, *LPBYTE;
typedef unsigned char UCHAR, *PUCHAR;
typedef unsigned short WORD, *PWORD, *LPWORD;
typedef unsigned short USHORT, *PUSHORT;
typedef int INT, *PINT, *LPINT;
typedef unsigned int UINT, *PUINT;
typedef long *LPLONG;
typedef unsigned long DWORD, *PDWORD, *LPDWORD;
typedef unsigned long ULONG, *PULONG;
typedef float FLOAT, *PFLOAT;
typedef double DOUBLE;
typedef double DATE;
#include "winnt.h"
/* Macros to map Winelib names to the correct implementation name */ /* Macros to map Winelib names to the correct implementation name */
/* depending on __WINE__ and UNICODE macros. */ /* depending on __WINE__ and UNICODE macros. */
@ -76,7 +207,7 @@ typedef WORD *LPCATCHBUF;
typedef DWORD COLORREF, *LPCOLORREF; typedef DWORD COLORREF, *LPCOLORREF;
/* Handle types that exist both in Win16 and Win32. */ /* Handle types */
typedef int HFILE; typedef int HFILE;
DECLARE_HANDLE(HACCEL); DECLARE_HANDLE(HACCEL);
@ -91,6 +222,7 @@ DECLARE_HANDLE(HHOOK);
DECLARE_HANDLE(HICON); DECLARE_HANDLE(HICON);
DECLARE_HANDLE(HINSTANCE); DECLARE_HANDLE(HINSTANCE);
DECLARE_HANDLE(HKEY); DECLARE_HANDLE(HKEY);
typedef HKEY *PHKEY;
DECLARE_HANDLE(HKL); DECLARE_HANDLE(HKL);
DECLARE_HANDLE(HMENU); DECLARE_HANDLE(HMENU);
DECLARE_HANDLE(HMETAFILE); DECLARE_HANDLE(HMETAFILE);
@ -140,14 +272,6 @@ typedef INT (CALLBACK *PROC)();
#define SELECTOROF(ptr) (HIWORD(ptr)) #define SELECTOROF(ptr) (HIWORD(ptr))
#define OFFSETOF(ptr) (LOWORD(ptr)) #define OFFSETOF(ptr) (LOWORD(ptr))
#ifdef __WINE__
/* macros to set parts of a DWORD (not in the Windows API) */
#define SET_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD(val))
#define SET_LOBYTE(dw,val) ((dw) = ((dw) & 0xffffff00) | LOBYTE(val))
#define SET_HIBYTE(dw,val) ((dw) = ((dw) & 0xffff00ff) | (LOBYTE(val) << 8))
#define ADD_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD((DWORD)(dw)+(val)))
#endif
/* min and max macros */ /* min and max macros */
#ifndef NOMINMAX #ifndef NOMINMAX
#ifndef max #ifndef max

View File

@ -22,7 +22,7 @@
#define __WINE_WINE_EXCEPTION_H #define __WINE_WINE_EXCEPTION_H
#include <setjmp.h> #include <setjmp.h>
#include "winnt.h" #include "windef.h"
/* The following definitions allow using exceptions in Wine and Winelib code /* The following definitions allow using exceptions in Wine and Winelib code
* *

View File

@ -22,7 +22,7 @@
#define __WINE_RPCSS_SHARED_H #define __WINE_RPCSS_SHARED_H
#include "basetsd.h" #include "basetsd.h"
#include "winnt.h" #include "windef.h"
#include "rpcdcep.h" #include "rpcdcep.h"

View File

@ -29,102 +29,7 @@
#include <string.h> #include <string.h>
#endif #endif
#define NTAPI __stdcall
/* On Windows winnt.h depends on a few windef.h types and macros and thus
* is not self-contained. Furthermore windef.h includes winnt.h so that it
* would be pointless to try to use winnt.h directly.
* But for Wine and Winelib I decided to make winnt.h self-contained by
* moving these definitions to winnt.h. It makes no difference to Winelib
* programs since they are not using winnt.h directly anyway, and it allows
* us to use winnt.h and get a minimal set of definitions.
*/
/**** Some Wine specific definitions *****/
/* Calling conventions definitions */
#ifdef __i386__
# ifndef _X86_
# define _X86_
# endif
# if defined(__GNUC__) && ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
# define __stdcall __attribute__((__stdcall__))
# define __cdecl __attribute__((__cdecl__))
# elif defined(_MSC_VER)
/* Nothing needs to be done. __cdecl/__stdcall already exists */
# else
# error You need gcc >= 2.7 to build Wine on a 386
# endif /* __GNUC__ */
#else /* __i386__ */
# define __stdcall
# define __cdecl
#endif /* __i386__ */
#ifndef __WINE__
#ifndef pascal
#define pascal __stdcall
#endif
#ifndef _pascal
#define _pascal __stdcall
#endif
#ifndef _stdcall
#define _stdcall __stdcall
#endif
#ifndef _fastcall
#define _fastcall __stdcall
#endif
#ifndef __fastcall
#define __fastcall __stdcall
#endif
#ifndef __export
#define __export __stdcall
#endif
#ifndef cdecl
#define cdecl __cdecl
#endif
#ifndef _cdecl
#define _cdecl __cdecl
#endif
#ifndef near
#define near
#endif
#ifndef far
#define far
#endif
#ifndef _near
#define _near
#endif
#ifndef _far
#define _far
#endif
#ifndef NEAR
#define NEAR
#endif
#ifndef FAR
#define FAR
#endif
#ifndef _declspec
#define _declspec(x)
#endif
#ifndef __declspec
#define __declspec(x)
#endif
#endif /* __WINE__ */
#define CALLBACK __stdcall
#define WINAPI __stdcall
#define NTAPI __stdcall
#define APIPRIVATE __stdcall
#define PASCAL __stdcall
#define CDECL __cdecl
#define _CDECL __cdecl
#define WINAPIV __cdecl
#define APIENTRY WINAPI
#define CONST const
/* Macro for structure packing and more. */ /* Macro for structure packing and more. */
@ -346,39 +251,6 @@
# define C_ASSERT(e) extern char __C_ASSERT__[(e)?1:-1] # define C_ASSERT(e) extern char __C_ASSERT__[(e)?1:-1]
#endif #endif
/**** Parts of windef.h that are needed here *****/
/* Misc. constants. */
#undef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void*)0)
#endif
#ifdef FALSE
#undef FALSE
#endif
#define FALSE 0
#ifdef TRUE
#undef TRUE
#endif
#define TRUE 1
#ifndef IN
#define IN
#endif
#ifndef OUT
#define OUT
#endif
#ifndef OPTIONAL
#define OPTIONAL
#endif
/* Error Masks */ /* Error Masks */
#define APPLICATION_ERROR_MASK 0x20000000 #define APPLICATION_ERROR_MASK 0x20000000
#define ERROR_SEVERITY_SUCCESS 0x00000000 #define ERROR_SEVERITY_SUCCESS 0x00000000
@ -386,24 +258,6 @@
#define ERROR_SEVERITY_WARNING 0x80000000 #define ERROR_SEVERITY_WARNING 0x80000000
#define ERROR_SEVERITY_ERROR 0xC0000000 #define ERROR_SEVERITY_ERROR 0xC0000000
/* Standard data types */
typedef const void *LPCVOID;
typedef int BOOL, *PBOOL, *LPBOOL;
typedef unsigned char BYTE, *PBYTE, *LPBYTE;
typedef unsigned char UCHAR, *PUCHAR;
typedef unsigned short USHORT, *PUSHORT;
typedef unsigned short WORD, *PWORD, *LPWORD;
typedef int INT, *PINT, *LPINT;
typedef unsigned int UINT, *PUINT;
typedef unsigned long DWORD, *PDWORD, *LPDWORD;
typedef unsigned long ULONG, *PULONG;
typedef float FLOAT, *PFLOAT;
typedef double DOUBLE;
typedef double DATE;
/**** winnt.h proper *****/
/* Microsoft's macros for declaring functions */ /* Microsoft's macros for declaring functions */
#ifdef __cplusplus #ifdef __cplusplus
@ -432,11 +286,11 @@ typedef double DATE;
#ifndef VOID #ifndef VOID
#define VOID void #define VOID void
#endif #endif
typedef VOID *PVOID, *LPVOID; typedef VOID *PVOID;
typedef BYTE BOOLEAN, *PBOOLEAN; typedef BYTE BOOLEAN, *PBOOLEAN;
typedef char CHAR, *PCHAR; typedef char CHAR, *PCHAR;
typedef short SHORT, *PSHORT; typedef short SHORT, *PSHORT;
typedef long LONG, *PLONG, *LPLONG; typedef long LONG, *PLONG;
/* Some systems might have wchar_t, but we really need 16 bit characters */ /* Some systems might have wchar_t, but we really need 16 bit characters */
#ifndef WINE_WCHAR_DEFINED #ifndef WINE_WCHAR_DEFINED
@ -542,14 +396,10 @@ typedef DWORD EXECUTION_STATE;
typedef void *HANDLE; typedef void *HANDLE;
typedef HANDLE *PHANDLE, *LPHANDLE; typedef HANDLE *PHANDLE, *LPHANDLE;
#if (defined(STRICT) || defined(__WINE__)) #ifdef STRICT
#define DECLARE_HANDLE(a) \ #define DECLARE_HANDLE(a) typedef struct a##__ { int unused; } *a;
typedef struct a##__ { int unused; } *a; \
typedef a *P##a
#else /*STRICT*/ #else /*STRICT*/
#define DECLARE_HANDLE(a) \ #define DECLARE_HANDLE(a) typedef HANDLE a;
typedef HANDLE a; \
typedef a *P##a
#endif /*STRICT*/ #endif /*STRICT*/
/* Defines */ /* Defines */

View File

@ -30,7 +30,7 @@
#include <sys/mman.h> #include <sys/mman.h>
#endif #endif
#include "winnt.h" #include "windef.h"
#include "wine/library.h" #include "wine/library.h"
/* argc/argv for the Windows application */ /* argc/argv for the Windows application */

View File

@ -32,6 +32,11 @@ WINE_DECLARE_DEBUG_CHANNEL(io);
#ifdef __i386__ #ifdef __i386__
/* macros to set parts of a DWORD */
#define SET_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD(val))
#define SET_LOBYTE(dw,val) ((dw) = ((dw) & 0xffffff00) | LOBYTE(val))
#define ADD_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD((DWORD)(dw)+(val)))
inline static void add_stack( CONTEXT86 *context, int offset ) inline static void add_stack( CONTEXT86 *context, int offset )
{ {
if (ISV86(context) || !IS_SELECTOR_32BIT(context->SegSs)) if (ISV86(context) || !IS_SELECTOR_32BIT(context->SegSs))

View File

@ -50,8 +50,8 @@
# include <sys/mman.h> # include <sys/mman.h>
#endif #endif
#include "windef.h"
#include "winerror.h" #include "winerror.h"
#include "winnt.h"
#include "winreg.h" #include "winreg.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"

View File

@ -25,7 +25,7 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "winnt.h" #include "windef.h"
#include "winternl.h" #include "winternl.h"
#include "stackframe.h" #include "stackframe.h"
#include "module.h" #include "module.h"

View File

@ -22,7 +22,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "winnt.h" #include "windef.h"
#include "handle.h" #include "handle.h"
#include "thread.h" #include "thread.h"

View File

@ -25,7 +25,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "winnt.h" #include "windef.h"
#include "handle.h" #include "handle.h"
#include "thread.h" #include "thread.h"

View File

@ -26,7 +26,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include "winnt.h"
#include "winbase.h" #include "winbase.h"
#include "handle.h" #include "handle.h"

View File

@ -25,7 +25,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "winnt.h" #include "windef.h"
#include "handle.h" #include "handle.h"
#include "thread.h" #include "thread.h"

View File

@ -44,7 +44,6 @@
#include "winbase.h" #include "winbase.h"
#include "winreg.h" #include "winreg.h"
#include "winnt.h" /* registry definitions */
#include "winternl.h" #include "winternl.h"
#include "wine/library.h" #include "wine/library.h"

View File

@ -43,7 +43,7 @@
#include <sys/un.h> #include <sys/un.h>
#include <unistd.h> #include <unistd.h>
#include "winnt.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wincon.h" #include "wincon.h"
#include "wine/library.h" #include "wine/library.h"

View File

@ -25,7 +25,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "winnt.h" #include "windef.h"
#include "handle.h" #include "handle.h"
#include "thread.h" #include "thread.h"

View File

@ -27,7 +27,7 @@
#include <sys/time.h> #include <sys/time.h>
#include <sys/types.h> #include <sys/types.h>
#include "winnt.h" #include "windef.h"
#include "handle.h" #include "handle.h"
#include "request.h" #include "request.h"

View File

@ -26,7 +26,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/uio.h> #include <sys/uio.h>
#include "winnt.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wincon.h" #include "wincon.h"
#include "request.h" #include "request.h"

View File

@ -40,7 +40,7 @@
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include "winnt.h" #include "windef.h"
#include "winedump.h" #include "winedump.h"
#include "pe.h" #include "pe.h"
#include "cvinclude.h" #include "cvinclude.h"

View File

@ -22,7 +22,7 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include "winnt.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "winedump.h" #include "winedump.h"

View File

@ -38,7 +38,7 @@
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#include "winnt.h" #include "windef.h"
#include "winedump.h" #include "winedump.h"
#include "pe.h" #include "pe.h"