Detect if the path is on a Windows-connected network drive

Is there an easy way to find out if a given path lives on a mapped network drive? Or find out if this drive is a mapped network drive?

I was hoping they would have a reprocessing point attribute, but GetFileAttributes () returns nothing but a directory flag.

+4
source share
2 answers

GetDriveType is one option.

+4
source

Have you tried GetFileAttributesEx () with GetFileExMaxInfoLevel?

0
source

All Articles