NWGetDriveStatus and NWGetDriveStatusConnRef return path information in four path parameters.
pathFormat expects one of the following four constants:
NW_FORMAT_NETWARE 0 NW_FORMAT_SERVER_VOLUME 1 NW_FORMAT_DRIVE 2 NW_FORMAT_UNC 3
For the NetWare, Server Volume, and UNC constants, the value of the fullPath parameter will equal the value of the rootPath parameter, plus a backslash character, plus the value of the relPath parameter. For the Drive constant, the value of the fullPath parameter will equal the value of the rootPath parameter plus the value of the relPath parameter (without adding a backslash character).
The following tables explain what will be returned in each of the path output parameters for each of the pathFormat constants.
Assume you are in dir2 and drive letter Q is root mapped to the following:
server\volume:dir1
Assume you are in dir1\dir2 and drive letter Q is root mapped to the following:
server\volume:
The status parameter returns a bit mask indicating if a drive is a local and/or network drive: