From 648f370f7966b2738c1446601057d888bbd2c70f Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 3 Jun 2022 17:48:57 -0500 Subject: Make PathGetSystemPath return an array of paths ordered by preference. --- src/libs/dutil/WixToolset.DUtil/inc/pathutil.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/libs/dutil/WixToolset.DUtil/inc/pathutil.h') 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( ); /******************************************************************* - PathGetSystemTempPath - returns the path to the system temp folder - that is backslash terminated. + PathGetSystemTempPaths - returns the paths to system temp folders + that are backslash terminated with higher preference first. *******************************************************************/ -DAPI_(HRESULT) PathGetSystemTempPath( - __out_z LPWSTR* psczSystemTempPath +DAPI_(HRESULT) PathGetSystemTempPaths( + __inout_z LPWSTR** prgsczSystemTempPaths, + __inout DWORD* pcSystemTempPaths ); /******************************************************************* -- cgit v1.2.3-55-g6feb