windows-nt/Source/XPSP1/NT/sdktools/profiler/makediff/main.h
2020-09-26 16:20:57 +08:00

53 lines
895 B
C

#ifndef _MAIN_H_
#define _MAIN_H_
//
// Structure definitions
//
typedef struct _BASEINFO
{
CHAR szModule[32];
DWORD dwStartAddress;
DWORD dwEndAddress;
struct _BASEINFO *pNext;
} BASEINFO, *PBASEINFO;
typedef struct _THREADINFO
{
DWORD dwThreadId;
HANDLE hFile;
struct _THREADINFO *pNext;
} THREADINFO, *PTHREADINFO;
//
// Function definitions
//
VOID
CloseThreadHandles(VOID);
BOOL
ProcessRuntimeData(PCHAR pszFile, PCHAR pszBaseFileName);
BOOL
FillBufferWithRelocationInfo(PCHAR pszDestination,
DWORD dwAddress);
BOOL
AddThreadInformation(PCHAR pszBaseFileName,
PTHREADSTART pThreadStart);
BOOL
AddExeFlowInformation(PEXEFLOW pExeFlow);
BOOL
AddToBaseInformation(PDLLBASEINFO pDLLBaseInfo);
BOOL
AddMappedInformation(PCHAR pszBaseFileName,
PMAPINFO pMapInfo);
BOOL
AddErrorInformation(PCHAR pszBaseFileName,
PERRORINFO pErrorInfo);
#endif //_MAIN_H_