A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



PathIsRoot

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

VB4-32,5,6
Declare Function PathIsRoot Lib "shlwapi.dll" Alias "PathIsRootA" (ByVal pszPath As String) As Long

Operating Systems Supported
Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later); Requires Windows 98 (or Windows 95 with Internet Explorer 4.0 or later)

Library
Shlwapi

Parameter Information
- pPath
Address of the path to be validated.

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

Last update: 07 April 2006