diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-06-22 19:07:25 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-06-24 20:23:44 +1000 |
commit | 4725cea30832be9113269ef567f196ea3d91cb78 (patch) | |
tree | 8e3fa64e69b7da9e8e554bbd70c8876f81e3206d /src/dutil/inc/dutil.h | |
parent | 7fc25bc32547277c38bbedceb39c454843af8aac (diff) | |
download | wix-4725cea30832be9113269ef567f196ea3d91cb78.tar.gz wix-4725cea30832be9113269ef567f196ea3d91cb78.tar.bz2 wix-4725cea30832be9113269ef567f196ea3d91cb78.zip |
Add ThmExit macros to allow capturing thmutil specific errors.
Diffstat (limited to 'src/dutil/inc/dutil.h')
-rw-r--r-- | src/dutil/inc/dutil.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/dutil/inc/dutil.h b/src/dutil/inc/dutil.h index efaeb5a9..6b57b48a 100644 --- a/src/dutil/inc/dutil.h +++ b/src/dutil/inc/dutil.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | 2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
3 | 3 | ||
4 | #include "dutilsources.h" | ||
4 | 5 | ||
5 | #define DAPI __stdcall | 6 | #define DAPI __stdcall |
6 | #define DAPIV __cdecl // used only for functions taking variable length arguments | 7 | #define DAPIV __cdecl // used only for functions taking variable length arguments |
@@ -20,13 +21,6 @@ typedef enum REPORT_LEVEL | |||
20 | REPORT_ERROR, // always gets reported, but can never be specified | 21 | REPORT_ERROR, // always gets reported, but can never be specified |
21 | } REPORT_LEVEL; | 22 | } REPORT_LEVEL; |
22 | 23 | ||
23 | typedef enum DUTIL_SOURCE | ||
24 | { | ||
25 | DUTIL_SOURCE_UNKNOWN, | ||
26 | |||
27 | DUTIL_SOURCE_EXTERNAL = 256, | ||
28 | } DUTIL_SOURCE; | ||
29 | |||
30 | // asserts and traces | 24 | // asserts and traces |
31 | typedef BOOL (DAPI *DUTIL_ASSERTDISPLAYFUNCTION)(__in_z LPCSTR sz); | 25 | typedef BOOL (DAPI *DUTIL_ASSERTDISPLAYFUNCTION)(__in_z LPCSTR sz); |
32 | 26 | ||