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.

44 lines
756 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // Precompiled header.
  4. //
  5. // Copyright (C) Microsoft Corporation, 2001.
  6. //
  7. //----------------------------------------------------------------------------
  8. #ifndef _WIN32_WCE
  9. #include <nt.h>
  10. #include <ntrtl.h>
  11. #include <nturtl.h>
  12. #endif
  13. #include <windows.h>
  14. #include <winver.h>
  15. #include <tlhelp32.h>
  16. #include <wcecompat.h>
  17. #ifndef _WIN32_WCE
  18. #define _IMAGEHLP_SOURCE_
  19. #include <dbghelp.h>
  20. #else
  21. #include "minidump.h"
  22. struct _IMAGE_NT_HEADERS*
  23. ImageNtHeader (
  24. IN PVOID Base
  25. );
  26. PVOID
  27. ImageDirectoryEntryToData (
  28. IN PVOID Base,
  29. IN BOOLEAN MappedAsImage,
  30. IN USHORT DirectoryEntry,
  31. OUT PULONG Size
  32. );
  33. #endif
  34. #include "mdump.h"
  35. #include "gen.h"