public int SystemError(uint Error, uint Level) { ExceptionHit?.Invoke(this, new EXCEPTION_RECORD64 { ExceptionCode = Error }); return(HResult.Ok); }
private void OnException(object sender, EXCEPTION_RECORD64 e) { var threadId = GetCurrentThread(); ExceptionHit?.Invoke((int)e.ExceptionCode, threadId); }
public int Exception(ref EXCEPTION_RECORD64 Exception, uint FirstChance) { ExceptionHit?.Invoke(this, Exception); return((int)DEBUG_STATUS.BREAK); }