windows-nt/Source/XPSP1/NT/sdktools/debuggers/excepmon/emsvc/evenhand.h
2020-09-26 16:20:57 +08:00

71 lines
1.3 KiB
C++

#ifndef __EVENHAND_H
#define __EVENHAND_H
//#include "dbgeng.h"
//----------------------------------------------------------------------------
//
// Event callbacks.
//
//----------------------------------------------------------------------------
class CEMSessionThread;
class EventCallbacks : public DebugBaseEventCallbacks
{
public:
CEMSessionThread *m_pEMThread;
public:
// IUnknown.
STDMETHOD_(ULONG, AddRef)(
THIS
);
STDMETHOD_(ULONG, Release)(
THIS
);
// IDebugEventCallbacks.
STDMETHOD(GetInterestMask)(
THIS_
OUT PULONG Mask
);
// Symbol state has changed.
STDMETHOD(ChangeSymbolState)(
THIS_
IN ULONG Flags,
IN ULONG64 Argument
);
STDMETHOD(ChangeDebuggeeState)(
THIS_
IN ULONG Flags,
IN ULONG64 Argument
);
STDMETHOD(ChangeEngineState)(
THIS_
IN ULONG Flags,
IN ULONG64 Argument
);
STDMETHOD(Exception)(
THIS_
IN PEXCEPTION_RECORD64 Exception,
IN ULONG FirstChance
);
STDMETHOD(Breakpoint)(
THIS_
IN PDEBUG_BREAKPOINT Bp
);
STDMETHOD(SessionStatus)(
THIS_
IN ULONG Status
);
STDMETHOD(ExitProcess)(
THIS_
IN ULONG ExitCode
);
};
#endif // __EVENHAND_H