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.

124 lines
2.4 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. nt.h
  5. Abstract:
  6. Top level include file for applications and subsystems written to
  7. the NT API. Including this file defines all the public types
  8. and system calls that an application program can use.
  9. Initial clients of this include file are the NT Shell, along with
  10. the Windows, OS2 and POSIX subsystems.
  11. Author:
  12. Steve Wood [stevewo] 23-Feb-1989
  13. Revision History:
  14. --*/
  15. #ifndef NT_INCLUDED
  16. #define NT_INCLUDED
  17. #if defined (_MSC_VER)
  18. #if ( _MSC_VER >= 800 )
  19. #pragma warning(disable:4514)
  20. #ifndef __cplusplus
  21. #pragma warning(disable:4116) // TYPE_ALIGNMENT generates this - move it
  22. // outside the warning push/pop scope.
  23. #endif
  24. #if _MSC_VER >= 1200
  25. #pragma warning(push)
  26. #endif
  27. #pragma warning(disable:4001)
  28. #pragma warning(disable:4201)
  29. #pragma warning(disable:4214)
  30. #endif
  31. #if (_MSC_VER > 1020)
  32. #pragma once
  33. #endif
  34. #endif
  35. //
  36. // Common definitions
  37. //
  38. #ifndef _CTYPE_DISABLE_MACROS
  39. #define _CTYPE_DISABLE_MACROS
  40. #endif
  41. #include <excpt.h>
  42. #include <stdarg.h>
  43. #include <ntdef.h>
  44. #include <ntstatus.h>
  45. #include <ntkeapi.h>
  46. #if defined(_AMD64_)
  47. #include "ntamd64.h"
  48. #elif defined(_X86_)
  49. #include "nti386.h"
  50. #elif defined(_IA64_)
  51. #include "ntia64.h"
  52. #else
  53. #error "no target defined"
  54. #endif // _AMD64_
  55. //
  56. // Each NT Component that exports system call APIs to user programs
  57. // should have its own include file included here.
  58. //
  59. #include <ntseapi.h>
  60. #include <ntobapi.h>
  61. #include <ntimage.h>
  62. #include <ntldr.h>
  63. #include <ntpsapi.h>
  64. #include <ntxcapi.h>
  65. #include <ntlpcapi.h>
  66. #include <ntioapi.h>
  67. #include <ntiolog.h>
  68. #include <ntpoapi.h>
  69. #include <ntexapi.h>
  70. #include <ntmmapi.h>
  71. #include <ntregapi.h>
  72. #include <ntelfapi.h>
  73. #include <ntconfig.h>
  74. #include <ntnls.h>
  75. #include <ntpnpapi.h>
  76. #include "mce.h"
  77. #if defined(_AMD64_)
  78. #include "nxamd64.h"
  79. #elif defined(_X86_)
  80. #include "nxi386.h"
  81. #elif defined(_IA64_)
  82. #include "nxia64.h"
  83. #else
  84. #error "no target defined"
  85. #endif // _AMD64_
  86. #if defined (_MSC_VER)
  87. #if _MSC_VER >= 1200
  88. #pragma warning(pop)
  89. #else
  90. #pragma warning(default:4001)
  91. #pragma warning(default:4201)
  92. #pragma warning(default:4214)
  93. #endif
  94. #endif
  95. #endif // NT_INCLUDED