win_dbghelp.h 757 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright 2013 Google Inc.
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #ifndef win_dbghelp_DEFINED
  8. #define win_dbghelp_DEFINED
  9. #ifdef SK_BUILD_FOR_WIN
  10. #include <dbghelp.h>
  11. #include <shellapi.h>
  12. #include <shlobj.h>
  13. void setAppName(const char* app_name);
  14. const char* getAppName();
  15. void setBinariesPath(const char* binaries_path);
  16. const char* getBinariesPath();
  17. void setAppVersion(const char* version);
  18. const char* getAppVersion();
  19. void setCdbPath(const char* path);
  20. const char* getCdbPath();
  21. void setUpDebuggingFromArgs(const char* vargs0);
  22. int GenerateDumpAndPrintCallstack(EXCEPTION_POINTERS* pExceptionPointers);
  23. #endif // SK_BUILD_FOR_WIN
  24. #endif // win_dbghelp_DEFINED