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.

60 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. syminfo.c
  5. --*/
  6. #include "ntos.h"
  7. #include <nt.h>
  8. #include <ntrtl.h>
  9. #include <nturtl.h>
  10. #include <heap.h>
  11. #include "heappage.h"
  12. #include "heappagi.h"
  13. #include "stktrace.h"
  14. #include "tracedbp.h"
  15. #include <winsnmp.h>
  16. #include <winsafer.h>
  17. #define DECLARE_TYPE(Name) Name _DECL_##Name
  18. //
  19. // General types needed by various extensions.
  20. //
  21. DECLARE_TYPE (KUSER_SHARED_DATA);
  22. DECLARE_TYPE (LDR_DATA_TABLE_ENTRY);
  23. DECLARE_TYPE (PEB);
  24. DECLARE_TYPE (PEB_LDR_DATA);
  25. DECLARE_TYPE (TEB);
  26. DECLARE_TYPE (HEAP);
  27. DECLARE_TYPE (STACK_TRACE_DATABASE);
  28. //
  29. // ntdll.dll types needed by verifier extensions.
  30. //
  31. DECLARE_TYPE (RTL_CRITICAL_SECTION);
  32. DECLARE_TYPE (RTL_CRITICAL_SECTION_DEBUG);
  33. DECLARE_TYPE (RTL_STACK_TRACE_ENTRY);
  34. DECLARE_TYPE (RTL_TRACE_DATABASE);
  35. DECLARE_TYPE (RTL_TRACE_BLOCK);
  36. DECLARE_TYPE (STACK_TRACE_DATABASE);
  37. DECLARE_TYPE (DPH_HEAP_ROOT);
  38. DECLARE_TYPE (DPH_HEAP_BLOCK);
  39. DECLARE_TYPE (DPH_BLOCK_INFORMATION);
  40. DECLARE_TYPE (ULONG_PTR);
  41. DECLARE_TYPE (UNICODE_STRING);
  42. //
  43. // Make it build
  44. //
  45. int __cdecl main() {
  46. return 0;
  47. }