Leaked source code of windows server 2003
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.

42 lines
825 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // User-mode exception analysis.
  4. //
  5. // Copyright (C) Microsoft Corporation, 2001.
  6. //
  7. //----------------------------------------------------------------------------
  8. #ifndef __UEXCEP_H__
  9. #define __UEXCEP_H__
  10. typedef struct _EX_STATE
  11. {
  12. ULONG ProcId, ThreadId;
  13. EXCEPTION_RECORD64 Exr;
  14. ULONG FirstChance;
  15. } EX_STATE, *PEX_STATE;
  16. typedef struct _AVRF_STOP
  17. {
  18. ULONG Code;
  19. ULONG64 Params[4];
  20. } AVRF_STOP, *PAVRF_STOP;
  21. UserDebugFailureAnalysis*
  22. UeAnalyze(
  23. OUT PEX_STATE ExState,
  24. ULONG Flags
  25. );
  26. HRESULT
  27. AnalyzeUserException(
  28. PCSTR args
  29. );
  30. HRESULT
  31. DoVerifierAnalysis(
  32. PEX_STATE ExState,
  33. DebugFailureAnalysis* Analysis
  34. );
  35. #endif // #ifndef __UEXCEP_H__