windows-nt/Source/XPSP1/NT/public/sdk/inc/nt.h

123 lines
2.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++ BUILD Version: 0001 // Increment this if a change has global effects
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
nt.h
Abstract:
Top level include file for applications and subsystems written to
the NT API. Including this file defines all the public types
and system calls that an application program can use.
Initial clients of this include file are the NT Shell, along with
the Windows, OS2 and POSIX subsystems.
Author:
Steve Wood [stevewo] 23-Feb-1989
Revision History:
--*/
#ifndef NT_INCLUDED
#define NT_INCLUDED
#if defined (_MSC_VER)
#if ( _MSC_VER >= 800 )
#pragma warning(disable:4514)
#ifndef __cplusplus
#pragma warning(disable:4116) // TYPE_ALIGNMENT generates this - move it
// outside the warning push/pop scope.
#endif
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning(disable:4001)
#pragma warning(disable:4201)
#pragma warning(disable:4214)
#endif
#if (_MSC_VER > 1020)
#pragma once
#endif
#endif
//
// Common definitions
//
#define _CTYPE_DISABLE_MACROS
#include <excpt.h>
#include <stdarg.h>
#include <ntdef.h>
#include <ntstatus.h>
#include <ntkeapi.h>
#if defined(_AMD64_)
#include "ntamd64.h"
#elif defined(_X86_)
#include "nti386.h"
#elif defined(_IA64_)
#include "ntia64.h"
#else
#error "no target defined"
#endif // _AMD64_
//
// Each NT Component that exports system call APIs to user programs
// should have its own include file included here.
//
#include <ntseapi.h>
#include <ntobapi.h>
#include <ntimage.h>
#include <ntldr.h>
#include <ntpsapi.h>
#include <ntxcapi.h>
#include <ntlpcapi.h>
#include <ntioapi.h>
#include <ntiolog.h>
#include <ntpoapi.h>
#include <ntexapi.h>
#include <ntmmapi.h>
#include <ntregapi.h>
#include <ntelfapi.h>
#include <ntconfig.h>
#include <ntnls.h>
#include <ntpnpapi.h>
#include "mce.h"
#if defined(_AMD64_)
#include "nxamd64.h"
#elif defined(_X86_)
#include "nxi386.h"
#elif defined(_IA64_)
#include "nxia64.h"
#else
#error "no target defined"
#endif // _AMD64_
#if defined (_MSC_VER)
#if _MSC_VER >= 1200
#pragma warning(pop)
#else
#pragma warning(default:4001)
#pragma warning(default:4201)
#pragma warning(default:4214)
#endif
#endif
#endif // NT_INCLUDED