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.

52 lines
895 B

  1. #ifndef _MAIN_H_
  2. #define _MAIN_H_
  3. //
  4. // Structure definitions
  5. //
  6. typedef struct _BASEINFO
  7. {
  8. CHAR szModule[32];
  9. DWORD dwStartAddress;
  10. DWORD dwEndAddress;
  11. struct _BASEINFO *pNext;
  12. } BASEINFO, *PBASEINFO;
  13. typedef struct _THREADINFO
  14. {
  15. DWORD dwThreadId;
  16. HANDLE hFile;
  17. struct _THREADINFO *pNext;
  18. } THREADINFO, *PTHREADINFO;
  19. //
  20. // Function definitions
  21. //
  22. VOID
  23. CloseThreadHandles(VOID);
  24. BOOL
  25. ProcessRuntimeData(PCHAR pszFile, PCHAR pszBaseFileName);
  26. BOOL
  27. FillBufferWithRelocationInfo(PCHAR pszDestination,
  28. DWORD dwAddress);
  29. BOOL
  30. AddThreadInformation(PCHAR pszBaseFileName,
  31. PTHREADSTART pThreadStart);
  32. BOOL
  33. AddExeFlowInformation(PEXEFLOW pExeFlow);
  34. BOOL
  35. AddToBaseInformation(PDLLBASEINFO pDLLBaseInfo);
  36. BOOL
  37. AddMappedInformation(PCHAR pszBaseFileName,
  38. PMAPINFO pMapInfo);
  39. BOOL
  40. AddErrorInformation(PCHAR pszBaseFileName,
  41. PERRORINFO pErrorInfo);
  42. #endif //_MAIN_H_