Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 982 Bytes

PathIsDirectory.md

File metadata and controls

43 lines (29 loc) · 982 Bytes

Home

Function name : PathIsDirectory

Group: Shell Lightweight Utility APIs -- Path Functions - Library: shlwapi


Verifies that a path is a valid directory.


Code examples:

Converting path to original case
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)

Declaration:

BOOL PathIsDirectory(
    LPCTSTR pszPath
);
  

FoxPro declaration:

DECLARE INTEGER PathIsDirectory IN shlwapi;
	STRING pszPath  

Parameters:

pszPath [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the path to verify.


Return value:

Returns TRUE if the path is a valid directory, or FALSE otherwise.