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.

61 lines
1.6 KiB

  1. /***************************************************************************
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. PCH.H
  5. Abstract:
  6. Precompiled header files
  7. Environment:
  8. Kernel Mode Only
  9. Notes:
  10. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  11. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  12. IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  13. PURPOSE.
  14. Copyright (c) 2001 Microsoft Corporation. All Rights Reserved.
  15. Revision History:
  16. 01/08/2001 : created
  17. Authors:
  18. Tom Green
  19. ****************************************************************************/
  20. #ifndef __PCH_H__
  21. #define __PCH_H__
  22. // need this to strip warnings on "PAGED_CODE();" macro
  23. #pragma warning( disable : 4127 ) // conditional expression is constant
  24. #pragma warning( push )
  25. #pragma warning( disable : 4115 ) // named type definition in parentheses
  26. #pragma warning( disable : 4127 ) // conditional expression is constant
  27. #pragma warning( disable : 4200 ) // zero-sized array in struct/union
  28. #pragma warning( disable : 4201 ) // nameless struct/union
  29. #pragma warning( disable : 4214 ) // bit field types other than int
  30. #pragma warning( disable : 4514 ) // unreferenced inline function has been removed
  31. #include <wdm.h>
  32. #pragma warning( pop )
  33. // #pragma warning( disable : 4200 ) // zero-sized array in struct/union - (ntddk.h resets this to default)
  34. #include <stdio.h>
  35. #include <stdlib.h>
  36. #endif // __PCH_H__