Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

71 lines
1.3 KiB

#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