windows.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
2N/A/*
2N/A * Copyright (C) the Wine project
2N/A *
2N/A * This library is free software; you can redistribute it and/or
2N/A * modify it under the terms of the GNU Lesser General Public
2N/A * License as published by the Free Software Foundation; either
2N/A * version 2.1 of the License, or (at your option) any later version.
2N/A *
2N/A * This library is distributed in the hope that it will be useful,
2N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of
2N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2N/A * Lesser General Public License for more details.
2N/A *
2N/A * You should have received a copy of the GNU Lesser General Public
2N/A * License along with this library; if not, write to the Free Software
2N/A * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
2N/A */
2N/A
2N/A/*
2N/A * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4194N/A * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
2N/A * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
2N/A * a choice of LGPL license versions is made available with the language indicating
4360N/A * that LGPLv2 or any later version may be used, or where a choice of which version
2N/A * of the LGPL is applied is otherwise unspecified.
2N/A */
4194N/A
4194N/A#ifndef __WINE_WINDOWS_H
2N/A#define __WINE_WINDOWS_H
2N/A
2N/A#ifdef __WINESRC__
2N/A#error Wine should not include windows.h internally
2N/A#endif
2N/A
2N/A#if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
2N/A/* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
83N/A# pragma warning(disable:4116)
4337N/A#endif
1227N/A
2N/A#ifndef _INC_WINDOWS
2N/A#define _INC_WINDOWS
2N/A
4194N/A#if defined(RC_INVOKED) && !defined(NOWINRES)
4337N/A#include <winresrc.h>
2N/A#else /* RC_INVOKED && !NOWINRES */
2N/A
4360N/A/* All the basic includes */
49N/A#include <excpt.h>
2N/A#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <winnls.h>
#include <wincon.h>
#include <winver.h>
#include <winreg.h>
#include <winnetwk.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 <mmsystem.h>
#include <nb30.h>
#include <rpc.h>
#include <shellapi.h>
/* #include <winperf.h> */
#ifndef WINE_NOWINSOCK
#include <winsock2.h>
#endif /* WINE_NOWINSOCK */
#ifndef NOCRYPT
#include <wincrypt.h>
/* #include <winefs.h> */
/* #include <winscard.h> */
#endif /* !NOCRYPT */
#ifndef NOGDI
#include <winspool.h>
#ifdef INC_OLE1
/* #include <ole.h> */
#else
#include <ole2.h>
#endif
#include <commdlg.h>
#endif /* !NOGDI */
#endif /* !WIN32_LEAN_AND_MEAN */
/* #include <stralign.h> */
#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 */
#endif /* RC_INVOKED && !NOWINRES */
#endif /* _INC_WINDOWS */
#endif /* __WINE_WINDOWS_H */