Debugging Tools for Windows

IDebugEventCallbacks::SystemError

The SystemError callback method is called by the engine when a system error occurs in the target.

HRESULT
  IDebugEventCallbacks::SystemError(
    IN ULONG  Error,
    IN ULONG  Level
    );

HRESULT
  IDebugEventCallbacksWide::SystemError(
    IN ULONG  Error,
    IN ULONG  Level
    );

#ifdef UNICODE
#define IDebugEventCallbacksT IDebugEventCallbacksWide
#else
#define IDebugEventCallbacksT IDebugEventCallbacks
#endif

Parameters

Error
Specifies the error that caused the event.
Level
Specifies the severity of the error.

Return Value

This method returns a DEBUG_STATUS_XXX value, which indicates how the execution of the target should proceed after the engine processes this event. For details on how the engine treats this value, see Monitoring Events.

Comments

This method is only called by the engine if the DEBUG_EVENT_SYSTEM_ERROR flag is set in the mask returned by IDebugEventCallbacks::GetInterestMask.

For more information about handling events, see Monitoring Events.

Requirements

Headers: Defined in dbgeng.h. Include dbgeng.h.

Build machine: CAPEBUILD