summaryrefslogtreecommitdiff
path: root/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-05-26 17:33:15 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-05-31 13:20:44 -0500
commitfb4f8c7108f43d2341ba299424646c4963b21188 (patch)
tree7f3c907ac5406d2000056f6bcca41d7ae4d3a925 /src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
parent0f9931107ecf9e1f6714e6fd2cabc76d2ddb1153 (diff)
downloadwix-fb4f8c7108f43d2341ba299424646c4963b21188.tar.gz
wix-fb4f8c7108f43d2341ba299424646c4963b21188.tar.bz2
wix-fb4f8c7108f43d2341ba299424646c4963b21188.zip
Replace PathIsAbsolute with PathIsRooted and add PathIsFullyQualified.
Diffstat (limited to 'src/libs/dutil/WixToolset.DUtil/inc/pathutil.h')
-rw-r--r--src/libs/dutil/WixToolset.DUtil/inc/pathutil.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
index 44d36568..602b4a80 100644
--- a/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
+++ b/src/libs/dutil/WixToolset.DUtil/inc/pathutil.h
@@ -166,10 +166,23 @@ DAPI_(HRESULT) PathGetKnownFolder(
166 ); 166 );
167 167
168/******************************************************************* 168/*******************************************************************
169 PathIsAbsolute - returns true if the path is absolute; false 169 PathIsFullyQualified - returns true if the path is fully qualified; false otherwise.
170 otherwise. 170 Note that some rooted paths like C:dir are not fully qualified.
171 For example, these are all fully qualified: C:\dir, \\server\share, \\?\C:\dir.
172 For example, these are not fully qualified: C:dir, C:, \dir, dir, dir\subdir.
171*******************************************************************/ 173*******************************************************************/
172DAPI_(BOOL) PathIsAbsolute( 174DAPI_(BOOL) PathIsFullyQualified(
175 __in_z LPCWSTR wzPath,
176 __out_opt BOOL* pfHasLongPathPrefix
177 );
178
179/*******************************************************************
180 PathIsRooted - returns true if the path is rooted; false otherwise.
181 Note that some rooted paths like C:dir are not fully qualified.
182 For example, these are all rooted: C:\dir, C:dir, C:, \dir, \\server\share, \\?\C:\dir.
183 For example, these are not rooted: dir, dir\subdir.
184*******************************************************************/
185DAPI_(BOOL) PathIsRooted(
173 __in_z LPCWSTR wzPath 186 __in_z LPCWSTR wzPath
174 ); 187 );
175 188