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.

70 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1992.
  5. //
  6. // File: PCH.cxx
  7. //
  8. // Contents: Pre-compiled header
  9. //
  10. // History: 21-Dec-92 BartoszM Created
  11. //
  12. //--------------------------------------------------------------------------
  13. #define KDEXTMODE
  14. #include <nt.h>
  15. #include <ntrtl.h>
  16. #include <nturtl.h>
  17. #include <ntos.h>
  18. #include <fsrtl.h>
  19. #include <zwapi.h>
  20. #include <stdlib.h>
  21. #include <stdio.h>
  22. #include <string.h>
  23. #include <windef.h>
  24. #include <windows.h>
  25. #include <imagehlp.h>
  26. #include <memory.h>
  27. // grab the scsi related headers too
  28. #include <scsi.h>
  29. #include <srb.h>
  30. // Stolen from ntrtl.h to override RECOMASSERT
  31. #undef ASSERT
  32. #undef ASSERTMSG
  33. #if DBG
  34. #define ASSERT( exp ) \
  35. if (!(exp)) \
  36. RtlAssert( #exp, __FILE__, __LINE__, NULL )
  37. #define ASSERTMSG( msg, exp ) \
  38. if (!(exp)) \
  39. RtlAssert( #exp, __FILE__, __LINE__, msg )
  40. #else
  41. #define ASSERT( exp )
  42. #define ASSERTMSG( msg, exp )
  43. #endif // DBG
  44. //
  45. // We're 64 bit aware
  46. #define KDEXT_64BIT
  47. #include <wdbgexts.h>
  48. #define OFFSET(struct, elem) ((char *) &(struct->elem) - (char *) struct)
  49. #define _DRIVER
  50. #define KDBG_EXT
  51. #pragma hdrstop