2010-07-26 18:55:12 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <dbgeng.h>
|
2010-08-16 23:04:22 +08:00
|
|
|
#include <dbghelp.h>
|
2010-07-26 18:55:12 +08:00
|
|
|
|
|
|
|
struct DbgExt {
|
|
|
|
|
2010-08-20 20:09:45 +08:00
|
|
|
IDebugClient *client;
|
|
|
|
IDebugClient4 *client4;
|
2010-07-26 18:55:12 +08:00
|
|
|
|
2010-08-20 20:09:45 +08:00
|
|
|
IDebugControl *control;
|
2010-07-26 18:55:12 +08:00
|
|
|
|
2010-08-20 20:09:45 +08:00
|
|
|
IDebugRegisters *registers;
|
2010-07-26 18:55:12 +08:00
|
|
|
|
2010-08-20 20:09:45 +08:00
|
|
|
IDebugSymbols *symbols;
|
|
|
|
IDebugSymbols2 *symbols2;
|
|
|
|
IDebugSymbols3 *symbols3;
|
2010-07-26 18:55:12 +08:00
|
|
|
|
2010-08-20 20:09:45 +08:00
|
|
|
IDebugDataSpaces *dataSpaces;
|
2010-11-09 17:33:19 +08:00
|
|
|
IDebugDataSpaces4 *dataSpaces4;
|
2010-08-16 23:04:22 +08:00
|
|
|
|
2010-08-20 20:09:45 +08:00
|
|
|
IDebugAdvanced2 *advanced2;
|
|
|
|
|
2010-11-26 19:25:41 +08:00
|
|
|
IDebugSystemObjects *system;
|
2010-08-20 20:09:45 +08:00
|
|
|
IDebugSystemObjects2 *system2;
|
2010-07-26 18:55:12 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
extern DbgExt *dbgExt;
|
|
|
|
|
|
|
|
void
|
|
|
|
SetupDebugEngine( IDebugClient4 *client, DbgExt *dbgExt );
|
|
|
|
|