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.

51 lines
847 B

  1. #ifndef _DUMP_H_
  2. #define _DUMP_H_
  3. typedef enum _DUMPTYPES
  4. {
  5. ThreadStartId = 0,
  6. ExeFlowId,
  7. DllBaseInfoId,
  8. MapInfoId,
  9. ErrorInfoId,
  10. } DUMPTYPES;
  11. //
  12. // Structure definitions
  13. //
  14. typedef struct _THREADSTART
  15. {
  16. DUMPTYPES dwType;
  17. DWORD dwThreadId;
  18. DWORD dwStartAddress;
  19. } THREADSTART, *PTHREADSTART;
  20. typedef struct _EXEFLOW
  21. {
  22. DUMPTYPES dwType;
  23. DWORD dwThreadId;
  24. DWORD dwAddress;
  25. DWORD dwCallLevel;
  26. } EXEFLOW, *PEXEFLOW;
  27. typedef struct _DLLBASEINFO
  28. {
  29. DUMPTYPES dwType;
  30. DWORD dwBase;
  31. DWORD dwLength;
  32. CHAR szDLLName[32];
  33. } DLLBASEINFO, *PDLLBASEINFO;
  34. typedef struct _MAPINFO
  35. {
  36. DUMPTYPES dwType;
  37. DWORD dwAddress;
  38. DWORD dwMaxMapLength;
  39. } MAPINFO, *PMAPINFO;
  40. typedef struct _ERRORINFO
  41. {
  42. DWORD dwType;
  43. CHAR szMessage[MAX_PATH];
  44. } ERRORINFO, *PERRORINFO;
  45. #endif //_DUMP_H_