MiniDump.h 415 B

123456789101112131415161718192021
  1. // Copyright (c) 2008-2023 the Urho3D project
  2. // License: MIT
  3. #pragma once
  4. #ifdef URHO3D_IS_BUILDING
  5. #include "Urho3D.h"
  6. #else
  7. #include <Urho3D/Urho3D.h>
  8. #endif
  9. namespace Urho3D
  10. {
  11. #if defined(_MSC_VER) && defined(URHO3D_MINIDUMPS)
  12. /// Write a minidump. Needs to be called from within a structured exception handler.
  13. URHO3D_API int WriteMiniDump(const char* applicationName, void* exceptionPointers);
  14. #endif
  15. }