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.

46 lines
1.3 KiB

  1. /******************************************************************************
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. errorrep.h
  5. Abstract:
  6. contains functions used to report errors to Microsoft
  7. ******************************************************************************/
  8. #ifndef __ERRORREP_H__
  9. #define __ERRORREP_H__
  10. typedef enum tagEFaultRepRetVal
  11. {
  12. frrvOk = 0,
  13. frrvOkManifest,
  14. frrvOkQueued,
  15. frrvErr,
  16. frrvErrNoDW,
  17. frrvErrTimeout,
  18. frrvLaunchDebugger,
  19. frrvOkHeadless
  20. } EFaultRepRetVal;
  21. EFaultRepRetVal APIENTRY ReportFault(LPEXCEPTION_POINTERS pep, DWORD dwOpt);
  22. BOOL APIENTRY AddERExcludedApplicationA(LPCSTR szApplication);
  23. BOOL APIENTRY AddERExcludedApplicationW(LPCWSTR wszApplication);
  24. typedef EFaultRepRetVal (APIENTRY *pfn_REPORTFAULT)(LPEXCEPTION_POINTERS, DWORD);
  25. typedef EFaultRepRetVal (APIENTRY *pfn_ADDEREXCLUDEDAPPLICATIONA)(LPCSTR);
  26. typedef EFaultRepRetVal (APIENTRY *pfn_ADDEREXCLUDEDAPPLICATIONW)(LPCWSTR);
  27. #ifdef UNICODE
  28. #define AddERExcludedApplication AddERExcludedApplicationA
  29. #define pfn_ADDEREXCLUDEDAPPLICATION pfn_ADDEREXCLUDEDAPPLICATIONA
  30. #else
  31. #define AddERExcludedApplication AddERExcludedApplicationW
  32. #define pfn_ADDEREXCLUDEDAPPLICATION pfn_ADDEREXCLUDEDAPPLICATIONW
  33. #endif
  34. #endif