From 266b097c0b0a13dd4934f55f61cad62ffcbb953d Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 3 Jun 2022 17:49:33 -0500 Subject: REG_EXPAND_SZ values are not necessarily a path. --- src/libs/dutil/WixToolset.DUtil/inc/envutil.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/libs/dutil/WixToolset.DUtil/inc/envutil.h (limited to 'src/libs/dutil/WixToolset.DUtil/inc/envutil.h') 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 @@ +#pragma once +// 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. + + +#ifdef __cplusplus +extern "C" { +#endif + +/******************************************************************** + EnvExpandEnvironmentStrings - Wrapper for ::ExpandEnvironmentStrings. + + *******************************************************************/ +HRESULT DAPI EnvExpandEnvironmentStrings( + __in LPCWSTR wzSource, + __out LPWSTR* psczExpanded, + __out_opt SIZE_T* pcchExpanded + ); + +#ifdef __cplusplus +} +#endif + -- cgit v1.2.3-55-g6feb