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.

64 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. precomp.h
  5. Abstract:
  6. Master include file for the UL.SYS test app.
  7. Author:
  8. Keith Moore (keithmo) 19-Jun-1998
  9. Revision History:
  10. --*/
  11. #ifndef _PRECOMP_H_
  12. #define _PRECOMP_H_
  13. #include <nt.h>
  14. #include <ntrtl.h>
  15. #include <nturtl.h>
  16. #include <tdi.h>
  17. #include <ntosp.h>
  18. #define NOWINBASEINTERLOCK
  19. #include <windows.h>
  20. #include <stdio.h>
  21. #include <stdlib.h>
  22. #include <string.h>
  23. #include <wchar.h>
  24. #include <http.h>
  25. #include <httpapi.h>
  26. //
  27. // Heap manipulators.
  28. //
  29. #define ALLOC(len) (PVOID)RtlAllocateHeap( RtlProcessHeap(), 0, (len) )
  30. #define FREE(ptr) (VOID)RtlFreeHeap( RtlProcessHeap(), 0, (ptr) )
  31. //
  32. // Generate a breakpoint, but only if we're running under
  33. // the debugger.
  34. //
  35. #define DEBUG_BREAK() \
  36. if (TEST_OPTION(EnableBreak) && IsDebuggerPresent()) { \
  37. DebugBreak(); \
  38. } else
  39. #endif // _PRECOMP_H_