From 8a4d03207633e9fdc364aaed82bd167f844679f9 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 3 Jun 2022 17:47:31 -0500 Subject: Resolve paths while parsing them from the command line. The current directory is a process wide setting that can potentially be changed by any thread. Remove fileutil methods that had equivalent pathutil methods. --- src/libs/dutil/WixToolset.DUtil/inc/pathutil.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (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 941793f8..871e706b 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h @@ -67,6 +67,16 @@ DAPI_(HRESULT) PathExpand( __in DWORD dwResolveFlags ); +/******************************************************************* + PathGetFullPathName - wrapper around GetFullPathNameW. +*******************************************************************/ +DAPI_(HRESULT) PathGetFullPathName( + __in_z LPCWSTR wzPath, + __deref_out_z LPWSTR* psczFullPath, + __inout_z_opt LPCWSTR* pwzFileName, + __out_opt SIZE_T* pcch + ); + /******************************************************************* PathPrefix - prefixes a full path with \\?\ or \\?\UNC as appropriate. -- cgit v1.2.3-55-g6feb