Source code of Windows XP (NT5)
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.

122 lines
2.2 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. #define _CTYPE_DISABLE_MACROS
  39. #include <excpt.h>
  40. #include <stdarg.h>
  41. #include <ntdef.h>
  42. #include <ntstatus.h>
  43. #include <ntkeapi.h>
  44. #if defined(_AMD64_)
  45. #include "ntamd64.h"
  46. #elif defined(_X86_)
  47. #include "nti386.h"
  48. #elif defined(_IA64_)
  49. #include "ntia64.h"
  50. #else
  51. #error "no target defined"
  52. #endif // _AMD64_
  53. //
  54. // Each NT Component that exports system call APIs to user programs
  55. // should have its own include file included here.
  56. //
  57. #include <ntseapi.h>
  58. #include <ntobapi.h>
  59. #include <ntimage.h>
  60. #include <ntldr.h>
  61. #include <ntpsapi.h>
  62. #include <ntxcapi.h>
  63. #include <ntlpcapi.h>
  64. #include <ntioapi.h>
  65. #include <ntiolog.h>
  66. #include <ntpoapi.h>
  67. #include <ntexapi.h>
  68. #include <ntmmapi.h>
  69. #include <ntregapi.h>
  70. #include <ntelfapi.h>
  71. #include <ntconfig.h>
  72. #include <ntnls.h>
  73. #include <ntpnpapi.h>
  74. #include "mce.h"
  75. #if defined(_AMD64_)
  76. #include "nxamd64.h"
  77. #elif defined(_X86_)
  78. #include "nxi386.h"
  79. #elif defined(_IA64_)
  80. #include "nxia64.h"
  81. #else
  82. #error "no target defined"
  83. #endif // _AMD64_
  84. #if defined (_MSC_VER)
  85. #if _MSC_VER >= 1200
  86. #pragma warning(pop)
  87. #else
  88. #pragma warning(default:4001)
  89. #pragma warning(default:4201)
  90. #pragma warning(default:4214)
  91. #endif
  92. #endif
  93. #endif // NT_INCLUDED