Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 912 Bytes

PathIsRoot.md

File metadata and controls

41 lines (28 loc) · 912 Bytes

Home

Function name : PathIsRoot

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


Parses a path to determine if it is a directory root.


Code examples:

Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)

Declaration:

BOOL PathIsRoot(
    LPCTSTR pPath
);  

FoxPro declaration:

DECLARE INTEGER PathIsRoot IN shlwapi;
	STRING pszPath  

Parameters:

pPath [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be validated.


Return value:

Returns TRUE if the specified path is a root, or FALSE otherwise.