From bcd3ee7ab858d62beb36af9f5986544b68a3dd35 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Wed, 28 Apr 2021 16:36:56 -0500 Subject: Clean up more 32-bit assumptions. --- src/dutil/inc/pathutil.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/dutil/inc/pathutil.h') 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 @@ -177,6 +177,18 @@ DAPI_(HRESULT) PathConcat( __deref_out_z LPWSTR* psczCombined ); +/******************************************************************* + PathConcatCch - like .NET's Path.Combine, lets you build up a path + one piece -- file or directory -- at a time. +*******************************************************************/ +DAPI_(HRESULT) PathConcatCch( + __in_opt LPCWSTR wzPath1, + __in SIZE_T cchPath1, + __in_opt LPCWSTR wzPath2, + __in SIZE_T cchPath2, + __deref_out_z LPWSTR* psczCombined + ); + /******************************************************************* PathEnsureQuoted - ensures that a path is quoted; optionally, this function also terminates a directory with a backslash -- cgit v1.2.3-55-g6feb