diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/dutilsources.h | 1 | ||||
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/envutil.h | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/dutilsources.h b/src/libs/dutil/WixToolset.DUtil/inc/dutilsources.h index 6affb392..f1dd5d1a 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/dutilsources.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/dutilsources.h | |||
@@ -62,6 +62,7 @@ typedef enum DUTIL_SOURCE | |||
62 | DUTIL_SOURCE_XMLUTIL, | 62 | DUTIL_SOURCE_XMLUTIL, |
63 | DUTIL_SOURCE_VERUTIL, | 63 | DUTIL_SOURCE_VERUTIL, |
64 | DUTIL_SOURCE_WNDUTIL, | 64 | DUTIL_SOURCE_WNDUTIL, |
65 | DUTIL_SOURCE_ENVUTIL, | ||
65 | 66 | ||
66 | DUTIL_SOURCE_EXTERNAL = 256, | 67 | DUTIL_SOURCE_EXTERNAL = 256, |
67 | } DUTIL_SOURCE; | 68 | } DUTIL_SOURCE; |
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/envutil.h b/src/libs/dutil/WixToolset.DUtil/inc/envutil.h new file mode 100644 index 00000000..8491b27b --- /dev/null +++ b/src/libs/dutil/WixToolset.DUtil/inc/envutil.h | |||
@@ -0,0 +1,22 @@ | |||
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. | ||
3 | |||
4 | |||
5 | #ifdef __cplusplus | ||
6 | extern "C" { | ||
7 | #endif | ||
8 | |||
9 | /******************************************************************** | ||
10 | EnvExpandEnvironmentStrings - Wrapper for ::ExpandEnvironmentStrings. | ||
11 | |||
12 | *******************************************************************/ | ||
13 | HRESULT DAPI EnvExpandEnvironmentStrings( | ||
14 | __in LPCWSTR wzSource, | ||
15 | __out LPWSTR* psczExpanded, | ||
16 | __out_opt SIZE_T* pcchExpanded | ||
17 | ); | ||
18 | |||
19 | #ifdef __cplusplus | ||
20 | } | ||
21 | #endif | ||
22 | |||