diff options
Diffstat (limited to 'src/dutil/inc/pathutil.h')
-rw-r--r-- | src/dutil/inc/pathutil.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dutil/inc/pathutil.h b/src/dutil/inc/pathutil.h index 719ee7d8..579b8454 100644 --- a/src/dutil/inc/pathutil.h +++ b/src/dutil/inc/pathutil.h | |||
@@ -178,6 +178,18 @@ DAPI_(HRESULT) PathConcat( | |||
178 | ); | 178 | ); |
179 | 179 | ||
180 | /******************************************************************* | 180 | /******************************************************************* |
181 | PathConcatCch - like .NET's Path.Combine, lets you build up a path | ||
182 | one piece -- file or directory -- at a time. | ||
183 | *******************************************************************/ | ||
184 | DAPI_(HRESULT) PathConcatCch( | ||
185 | __in_opt LPCWSTR wzPath1, | ||
186 | __in SIZE_T cchPath1, | ||
187 | __in_opt LPCWSTR wzPath2, | ||
188 | __in SIZE_T cchPath2, | ||
189 | __deref_out_z LPWSTR* psczCombined | ||
190 | ); | ||
191 | |||
192 | /******************************************************************* | ||
181 | PathEnsureQuoted - ensures that a path is quoted; optionally, | 193 | PathEnsureQuoted - ensures that a path is quoted; optionally, |
182 | this function also terminates a directory with a backslash | 194 | this function also terminates a directory with a backslash |
183 | if it is not already. | 195 | if it is not already. |