Just a few API functions:
NetShareEnumRetrieves information about each shared resource on a server or the local computer.
WNetGetConnectionRetrieves the name of the network resource associated with a local device.
WNetGetUniversalNameTakes a drive-based path for a network resource and returns an information structure that contains a more universal form of the name.
GetLogicalDrivesThe GetLogicalDrives function retrieves a bitmask representing the currently available disk drives
FoxPro code samples (members area):
Defining currently available disk drives http://www.news2news.com/vfp/?example=13&function=18Mapping and disconnecting network drives in FoxPro applicationhttp://www.news2news.com/vfp/?example=387Retrieving information about shared resources on the local computerhttp://www.news2news.com/vfp/?example=351Retrieving a universal form for the drive-based path for a network resourcehttp://www.news2news.com/vfp/?example=317&function=490