aboutsummaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/inc/envutil.h
blob: 4e4f6197b5c088927c2f80c867e57ff8c1ff38cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#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
    );

/********************************************************************
 EnvExpandEnvironmentStringsForUser - Wrapper for ::ExpandEnvironmentStringsForUser.

 *******************************************************************/
HRESULT DAPI EnvExpandEnvironmentStringsForUser(
    __in_opt HANDLE hToken,
    __in LPCWSTR wzSource,
    __out LPWSTR* psczExpanded,
    __out_opt SIZE_T* pcchExpanded
    );

#ifdef __cplusplus
}
#endif