diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-06-03 17:48:57 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-06-07 19:44:36 -0500 |
commit | 648f370f7966b2738c1446601057d888bbd2c70f (patch) | |
tree | 9022566b1016f94127dfb7e84c9b4dfa057993cd /src/libs/dutil/WixToolset.DUtil/inc/pathutil.h | |
parent | 6b0f2d978504da82070523eb6adb0b59f9812e93 (diff) | |
download | wix-648f370f7966b2738c1446601057d888bbd2c70f.tar.gz wix-648f370f7966b2738c1446601057d888bbd2c70f.tar.bz2 wix-648f370f7966b2738c1446601057d888bbd2c70f.zip |
Make PathGetSystemPath return an array of paths ordered by preference.
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/pathutil.h')
-rw-r--r-- | src/libs/dutil/WixToolset.DUtil/inc/pathutil.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h index 727318f2..875cfafb 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h | |||
@@ -205,11 +205,12 @@ DAPI_(HRESULT) PathGetTempPath( | |||
205 | ); | 205 | ); |
206 | 206 | ||
207 | /******************************************************************* | 207 | /******************************************************************* |
208 | PathGetSystemTempPath - returns the path to the system temp folder | 208 | PathGetSystemTempPaths - returns the paths to system temp folders |
209 | that is backslash terminated. | 209 | that are backslash terminated with higher preference first. |
210 | *******************************************************************/ | 210 | *******************************************************************/ |
211 | DAPI_(HRESULT) PathGetSystemTempPath( | 211 | DAPI_(HRESULT) PathGetSystemTempPaths( |
212 | __out_z LPWSTR* psczSystemTempPath | 212 | __inout_z LPWSTR** prgsczSystemTempPaths, |
213 | __inout DWORD* pcSystemTempPaths | ||
213 | ); | 214 | ); |
214 | 215 | ||
215 | /******************************************************************* | 216 | /******************************************************************* |