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.

109 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1999-1999 Microsoft Corporation
  3. Module Name:
  4. precomp.h
  5. Abstract:
  6. This is the master header file for ULRTL. It includes all other
  7. necessary header files for ULRTL.
  8. It should be able to include everything we need for UL AND Win32.
  9. Author:
  10. Keith Moore (keithmo) 18-Jan-1999
  11. Revision History:
  12. --*/
  13. #ifndef _PRECOMP_H_
  14. #define _PRECOMP_H_
  15. //
  16. // System include files.
  17. //
  18. #include <nt.h>
  19. #include <ntrtl.h>
  20. #include <nturtl.h>
  21. #undef RPL_MASK
  22. #include <ntosp.h>
  23. #include <zwapi.h>
  24. #include <ntddtcp.h>
  25. #include <ipexport.h>
  26. #include <tdikrnl.h>
  27. #include <tdiinfo.h>
  28. #include <tcpinfo.h>
  29. #include <stdio.h>
  30. #include <stdlib.h>
  31. //
  32. // Project include files.
  33. //
  34. #include <iisdef.h>
  35. #include <httpdef.h>
  36. #include <httprtl.h>
  37. //
  38. // Local include files.
  39. //
  40. // this stuff needs to be moved to top level headers.
  41. #include "extcrap.h"
  42. // include win32 stuff
  43. #undef DEBUG
  44. #define NOWINBASEINTERLOCK
  45. #include <windows.h>
  46. #include <stdio.h>
  47. #include <stdlib.h>
  48. #ifdef TARGET_UMODE
  49. #include "udebug.h"
  50. #undef ASSERT
  51. #define ASSERT(x)
  52. #undef PAGED_CODE
  53. #define PAGED_CODE()
  54. #define KeQuerySystemTime(x) GetSystemTimeAsFileTime((LPFILETIME)(x))
  55. #define Swap(x,y) x^=y,y^=x,x^=y
  56. #define RtlTimeToTimeFields(x,y) FileTimeToSystemTime( ((FILETIME*)(x)), ((SYSTEMTIME*)(y))),\
  57. Swap(((TIME_FIELDS*)(y))->Weekday,((TIME_FIELDS*)(y))->Milliseconds),\
  58. Swap(((TIME_FIELDS*)(y))->Milliseconds,((TIME_FIELDS*)(y))->Second),\
  59. Swap(((TIME_FIELDS*)(y))->Second,((TIME_FIELDS*)(y))->Minute),\
  60. Swap(((TIME_FIELDS*)(y))->Minute,((TIME_FIELDS*)(y))->Hour),\
  61. Swap(((TIME_FIELDS*)(y))->Hour,((TIME_FIELDS*)(y))->Hour)
  62. //#define UlLocalAddressFromConnection(x, y)
  63. #else // TARGET_UMODE
  64. #include "kdebug.h"
  65. #endif // TARGET_UMODE
  66. #include "httptypes.h"
  67. #include "misc.h"
  68. #include "_hashfn.h"
  69. #endif // _PRECOMP_H_