CrashDumper.h 419 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //crash_dumper_w32.h
  2. #ifndef _CRASH_DUMPER_H_
  3. #define _CRASH_DUMPER_H_
  4. #include <windows.h>
  5. class CrashDumper
  6. {
  7. public:
  8. CrashDumper();
  9. ~CrashDumper();
  10. static bool _PlaceHolder();
  11. private:
  12. LPTOP_LEVEL_EXCEPTION_FILTER m_OriginalFilter;
  13. static LONG WINAPI ExceptionFilter(struct _EXCEPTION_POINTERS* ExceptionInfo);
  14. };
  15. namespace
  16. {
  17. //const bool bPlaceHolder = CrashDumper::_PlaceHolder();
  18. }
  19. #endif