main
h 33 lines 1.01 KB
Raw
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 /********************************************************************
20 EnvExpandEnvironmentStringsForUser - Wrapper for ::ExpandEnvironmentStringsForUser.
21
22 *******************************************************************/
23 HRESULT DAPI EnvExpandEnvironmentStringsForUser(
24 __in_opt HANDLE hToken,
25 __in LPCWSTR wzSource,
26 __out LPWSTR* psczExpanded,
27 __out_opt SIZE_T* pcchExpanded
28 );
29
30 #ifdef __cplusplus
31 }
32 #endif
33