Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*++ 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
//
#ifndef _CTYPE_DISABLE_MACROS
#define _CTYPE_DISABLE_MACROS
#endif
#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
|