diff options
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/shelutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/shelutil.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/shelutil.h b/src/libs/dutil/WixToolset.DUtil/inc/shelutil.h new file mode 100644 index 00000000..0b9f539d --- /dev/null +++ b/src/libs/dutil/WixToolset.DUtil/inc/shelutil.h | |||
@@ -0,0 +1,47 @@ | |||
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 | #ifndef REFKNOWNFOLDERID | ||
6 | #define REFKNOWNFOLDERID REFGUID | ||
7 | #endif | ||
8 | |||
9 | #ifdef __cplusplus | ||
10 | extern "C" { | ||
11 | #endif | ||
12 | |||
13 | typedef BOOL (STDAPICALLTYPE *PFN_SHELLEXECUTEEXW)( | ||
14 | __inout LPSHELLEXECUTEINFOW lpExecInfo | ||
15 | ); | ||
16 | |||
17 | void DAPI ShelFunctionOverride( | ||
18 | __in_opt PFN_SHELLEXECUTEEXW pfnShellExecuteExW | ||
19 | ); | ||
20 | HRESULT DAPI ShelExec( | ||
21 | __in_z LPCWSTR wzTargetPath, | ||
22 | __in_z_opt LPCWSTR wzParameters, | ||
23 | __in_z_opt LPCWSTR wzVerb, | ||
24 | __in_z_opt LPCWSTR wzWorkingDirectory, | ||
25 | __in int nShowCmd, | ||
26 | __in_opt HWND hwndParent, | ||
27 | __out_opt HANDLE* phProcess | ||
28 | ); | ||
29 | HRESULT DAPI ShelExecUnelevated( | ||
30 | __in_z LPCWSTR wzTargetPath, | ||
31 | __in_z_opt LPCWSTR wzParameters, | ||
32 | __in_z_opt LPCWSTR wzVerb, | ||
33 | __in_z_opt LPCWSTR wzWorkingDirectory, | ||
34 | __in int nShowCmd | ||
35 | ); | ||
36 | HRESULT DAPI ShelGetFolder( | ||
37 | __out_z LPWSTR* psczFolderPath, | ||
38 | __in int csidlFolder | ||
39 | ); | ||
40 | HRESULT DAPI ShelGetKnownFolder( | ||
41 | __out_z LPWSTR* psczFolderPath, | ||
42 | __in REFKNOWNFOLDERID rfidFolder | ||
43 | ); | ||
44 | |||
45 | #ifdef __cplusplus | ||
46 | } | ||
47 | #endif | ||