2014-08-30 21:35:16 +00:00
|
|
|
/*
|
|
|
|
* winnt.h
|
|
|
|
*
|
|
|
|
* Windows NT native definitions for user mode
|
|
|
|
*
|
|
|
|
* This file is part of the ReactOS PSDK package.
|
|
|
|
*
|
2014-08-31 20:44:56 +00:00
|
|
|
* This file is auto-generated from ReactOS XDK.
|
2014-08-30 21:35:16 +00:00
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS NOT COPYRIGHTED
|
|
|
|
*
|
|
|
|
* This source code is offered for use in the public domain. You may
|
|
|
|
* use, modify or distribute it freely.
|
|
|
|
*
|
|
|
|
* This code is distributed in the hope that it will be useful but
|
|
|
|
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
|
|
|
* DISCLAIMED. This includes but is not limited to warranties of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2015-02-14 17:04:42 +00:00
|
|
|
#ifndef _WINNT_
|
2014-08-30 21:35:16 +00:00
|
|
|
#define _WINNT_
|
|
|
|
|
|
|
|
/* We require WDK / VS 2008 or newer */
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER < 1500)
|
|
|
|
#error Compiler too old!
|
|
|
|
#endif
|
|
|
|
|
2016-11-26 18:33:08 +00:00
|
|
|
#if defined(__LP64__) || (!defined(_M_AMD64) && defined(__WINESRC__))
|
2014-08-30 21:35:16 +00:00
|
|
|
#if !defined(__ROS_LONG64__)
|
|
|
|
#define __ROS_LONG64__
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <ctype.h>
|
|
|
|
//#include <winapifamily.h>
|
2016-03-09 16:54:43 +00:00
|
|
|
#ifdef __GNUC__
|
2014-08-30 21:35:16 +00:00
|
|
|
#include <msvctarget.h>
|
2016-03-09 16:54:43 +00:00
|
|
|
#endif
|
2014-08-30 21:35:16 +00:00
|
|
|
#include <specstrings.h>
|
|
|
|
#include <kernelspecs.h>
|
|
|
|
|
|
|
|
#include <excpt.h>
|
|
|
|
#include <basetsd.h>
|
|
|
|
#include <guiddef.h>
|
|
|
|
#include <intrin.h>
|
|
|
|
|
|
|
|
#undef __need_wchar_t
|
|
|
|
#include <winerror.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <sdkddkver.h>
|
|
|
|
#ifndef RC_INVOKED
|
|
|
|
#include <string.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Silence some MSVC warnings */
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#pragma warning(push)
|
|
|
|
#pragma warning(disable:4201)
|
|
|
|
#pragma warning(disable:4214)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
$define(_WINNT_)
|
|
|
|
$define(ULONG=DWORD)
|
|
|
|
$define(USHORT=WORD)
|
|
|
|
$define(UCHAR=BYTE)
|
|
|
|
$include(ntbasedef.h)
|
2015-04-12 12:40:49 +00:00
|
|
|
$include(interlocked.h)
|
2016-03-08 15:35:17 +00:00
|
|
|
$include(ketypes.h)
|
2014-08-30 21:35:16 +00:00
|
|
|
$include(winnt_old.h)
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
2015-02-14 17:04:42 +00:00
|
|
|
|
|
|
|
#endif /* _WINNT_ */
|