1
0

ExceptionHandler.h 798 B

123456789101112131415161718192021222324252627282930313233
  1. // ExceptionHandler.h Version 1.1
  2. //
  3. // Copyright © 1998 Bruce Dawson
  4. //
  5. // Author: Bruce Dawson
  6. // [email protected]
  7. //
  8. // Modified by: Hans Dietrich
  9. // [email protected]
  10. //
  11. // A paper by the original author can be found at:
  12. // http://www.cygnus-software.com/papers/release_debugging.html
  13. //
  14. ///////////////////////////////////////////////////////////////////////////////
  15. #ifndef EXCEPTIONHANDLER_H
  16. #define EXCEPTIONHANDLER_H
  17. BOOL CreateLog(PEXCEPTION_POINTERS pExceptPtrs, LPCWSTR lpszMessage);
  18. BOOL CreateDump(PEXCEPTION_POINTERS pExceptPtrs);
  19. // We forward declare PEXCEPTION_POINTERS so that the function
  20. // prototype doesn't needlessly require windows.h.
  21. #ifdef __cplusplus
  22. extern "C"
  23. {
  24. #endif
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif