enumerating network mapped drives

Hi

My Win32 API program enumerates all the filesystems on a host using
GetLogicalDriveStrings() and then subsequently
GetVolumeNameForVolumeMountPoint() on each drive string.

I would like to now support network mapped drives e.g. suppose C: on
machine2 is mapped to J: on machine1. Now the API GetDriveType() returns
DRIVE_REMOTE for J:. However, the API GetVolumeNameForVolumeMountPoint()
fails for this drive.

Can anyone please suggest a suitable way to support network attached drives.

Thanks
Siddharth