mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-19 19:13:22 +08:00

[pykd] changed: refactored callbacks engine git-svn-id: https://pykd.svn.codeplex.com/svn@63638 9b283d60-5439-405e-af05-b73fd8c4d996
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
|
|
#pragma once
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
// monitoring and processing debug events
|
|
class DbgEventCallbacksManager : public DebugBaseEventCallbacks
|
|
{
|
|
public:
|
|
|
|
DbgEventCallbacksManager( IDebugClient *client = NULL );
|
|
|
|
virtual ~DbgEventCallbacksManager();
|
|
|
|
private:
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
// IUnknown interface implementation
|
|
|
|
STDMETHOD_(ULONG, AddRef)() { return 1; }
|
|
STDMETHOD_(ULONG, Release)() { return 1; }
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
// IDebugEventCallbacks interface implementation
|
|
|
|
STDMETHOD(GetInterestMask)(
|
|
__out PULONG Mask
|
|
);
|
|
|
|
STDMETHOD(ChangeSymbolState)(
|
|
__in ULONG Flags,
|
|
__in ULONG64 Argument
|
|
);
|
|
|
|
STDMETHOD(Breakpoint)(
|
|
__in PDEBUG_BREAKPOINT Bp
|
|
);
|
|
|
|
private:
|
|
|
|
IDebugClient4 *m_debugClient;
|
|
};
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|