windows-nt/Source/XPSP1/NT/sdktools/profiler/makediff/dump.h

52 lines
847 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef _DUMP_H_
#define _DUMP_H_
typedef enum _DUMPTYPES
{
ThreadStartId = 0,
ExeFlowId,
DllBaseInfoId,
MapInfoId,
ErrorInfoId,
} DUMPTYPES;
//
// Structure definitions
//
typedef struct _THREADSTART
{
DUMPTYPES dwType;
DWORD dwThreadId;
DWORD dwStartAddress;
} THREADSTART, *PTHREADSTART;
typedef struct _EXEFLOW
{
DUMPTYPES dwType;
DWORD dwThreadId;
DWORD dwAddress;
DWORD dwCallLevel;
} EXEFLOW, *PEXEFLOW;
typedef struct _DLLBASEINFO
{
DUMPTYPES dwType;
DWORD dwBase;
DWORD dwLength;
CHAR szDLLName[32];
} DLLBASEINFO, *PDLLBASEINFO;
typedef struct _MAPINFO
{
DUMPTYPES dwType;
DWORD dwAddress;
DWORD dwMaxMapLength;
} MAPINFO, *PMAPINFO;
typedef struct _ERRORINFO
{
DWORD dwType;
CHAR szMessage[MAX_PATH];
} ERRORINFO, *PERRORINFO;
#endif //_DUMP_H_