Group: Shell Lightweight Utility APIs -- Path Functions - Library: shlwapi
Converting path to original case
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
BOOL PathIsDirectory(
LPCTSTR pszPath
);
DECLARE INTEGER PathIsDirectory IN shlwapi;
STRING pszPath
pszPath [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the path to verify.
Returns TRUE if the path is a valid directory, or FALSE otherwise.