blob: d334318ad4b95bb98fdcea063fb24bc1dd0545b3 [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
11#ifdef SK_BUILD_FOR_WIN32
12
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
33#endif // SK_BUILD_FOR_WIN32
34
35#endif // win_dbghelp_DEFINED