blob: 226249f4e6449349d50157be2d88beea9f019bbb [file] [log] [blame]
edisonn@google.com184487c2013-03-08 18:00:16 +00001/*
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
Mike Klein8f11d4d2018-01-24 12:42:55 -050011#ifdef SK_BUILD_FOR_WIN
edisonn@google.com184487c2013-03-08 18:00:16 +000012
13#include <dbghelp.h>
14#include <shellapi.h>
15#include <shlobj.h>
16
17void setAppName(const char* app_name);
18const char* getAppName();
19
20void setBinariesPath(const char* binaries_path);
21const char* getBinariesPath();
22
23void setAppVersion(const char* version);
24const char* getAppVersion();
25
26void setCdbPath(const char* path);
27const char* getCdbPath();
28
29void setUpDebuggingFromArgs(const char* vargs0);
30
31int GenerateDumpAndPrintCallstack(EXCEPTION_POINTERS* pExceptionPointers);
32
Mike Klein8f11d4d2018-01-24 12:42:55 -050033#endif // SK_BUILD_FOR_WIN
edisonn@google.com184487c2013-03-08 18:00:16 +000034
35#endif // win_dbghelp_DEFINED