Home | History | Annotate | Download | only in tools
      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 
      8 #ifndef win_dbghelp_DEFINED
      9 #define win_dbghelp_DEFINED
     10 
     11 #ifdef SK_BUILD_FOR_WIN
     12 
     13 #include <dbghelp.h>
     14 #include <shellapi.h>
     15 #include <shlobj.h>
     16 
     17 void setAppName(const char* app_name);
     18 const char* getAppName();
     19 
     20 void setBinariesPath(const char* binaries_path);
     21 const char* getBinariesPath();
     22 
     23 void setAppVersion(const char* version);
     24 const char* getAppVersion();
     25 
     26 void setCdbPath(const char* path);
     27 const char* getCdbPath();
     28 
     29 void setUpDebuggingFromArgs(const char* vargs0);
     30 
     31 int GenerateDumpAndPrintCallstack(EXCEPTION_POINTERS* pExceptionPointers);
     32 
     33 #endif  // SK_BUILD_FOR_WIN
     34 
     35 #endif  // win_dbghelp_DEFINED
     36