[CMD] Code formatting for IsValidPathName, IsExistingFile, IsExistingDirectory, and use INVALID_FILE_ATTRIBUTES instead of an hardcoded value.

This commit is contained in:
Hermès Bélusca-Maïto 2020-09-04 00:17:15 +02:00
parent a5634138c3
commit 050df0f56d
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
4 changed files with 20 additions and 21 deletions

View file

@ -297,9 +297,10 @@ LPTSTR *splitspace (LPTSTR, LPINT);
VOID freep (LPTSTR *);
LPTSTR _stpcpy (LPTSTR, LPCTSTR);
VOID StripQuotes(LPTSTR);
BOOL IsValidPathName (LPCTSTR);
BOOL IsExistingFile (LPCTSTR);
BOOL IsExistingDirectory (LPCTSTR);
BOOL IsValidPathName(IN LPCTSTR pszPath);
BOOL IsExistingFile(IN LPCTSTR pszPath);
BOOL IsExistingDirectory(IN LPCTSTR pszPath);
VOID GetPathCase(TCHAR *, TCHAR *);
#define PROMPT_NO 0