summaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/inc/shelutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/shelutil.h')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/inc/shelutil.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/shelutil.h b/src/libs/dutil/WixToolset.DUtil/inc/shelutil.h
index 0b9f539d..2ee7ce87 100644
--- a/src/libs/dutil/WixToolset.DUtil/inc/shelutil.h
+++ b/src/libs/dutil/WixToolset.DUtil/inc/shelutil.h
@@ -33,10 +33,25 @@ HRESULT DAPI ShelExecUnelevated(
33 __in_z_opt LPCWSTR wzWorkingDirectory, 33 __in_z_opt LPCWSTR wzWorkingDirectory,
34 __in int nShowCmd 34 __in int nShowCmd
35 ); 35 );
36
37/********************************************************************
38 ShelGetFolder() - translates the CSIDL into KNOWNFOLDERID and calls ShelGetKnownFolder.
39 If that returns E_NOTIMPL then falls back to ::SHGetFolderPathW.
40 The CSIDL_FLAG values are not supported, CSIDL_FLAG_CREATE is always used.
41 The path is backslash terminated.
42
43*******************************************************************/
36HRESULT DAPI ShelGetFolder( 44HRESULT DAPI ShelGetFolder(
37 __out_z LPWSTR* psczFolderPath, 45 __out_z LPWSTR* psczFolderPath,
38 __in int csidlFolder 46 __in int csidlFolder
39 ); 47 );
48
49/********************************************************************
50 ShelGetKnownFolder() - gets a folder by KNOWNFOLDERID with ::SHGetKnownFolderPath.
51 The path is backslash terminated.
52
53 Note: return E_NOTIMPL if called on pre-Vista operating systems.
54*******************************************************************/
40HRESULT DAPI ShelGetKnownFolder( 55HRESULT DAPI ShelGetKnownFolder(
41 __out_z LPWSTR* psczFolderPath, 56 __out_z LPWSTR* psczFolderPath,
42 __in REFKNOWNFOLDERID rfidFolder 57 __in REFKNOWNFOLDERID rfidFolder