edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 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 | |
Mike Klein | 8f11d4d | 2018-01-24 12:42:55 -0500 | [diff] [blame] | 11 | #ifdef SK_BUILD_FOR_WIN |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 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 | |
Mike Klein | 8f11d4d | 2018-01-24 12:42:55 -0500 | [diff] [blame] | 33 | #endif // SK_BUILD_FOR_WIN |
edisonn@google.com | 184487c | 2013-03-08 18:00:16 +0000 | [diff] [blame] | 34 | |
| 35 | #endif // win_dbghelp_DEFINED |