From what I remember, I'm off in .NET land now, you AND out the drives you want to check for.
drive A: = 1
drive B: = 2
If there aren't any (in other words the method fails for some reason) it returns 0 and you have to go hunting for the last error.
I think in .NET it returns a string array of the drive letters, similar to GetLogicalDriveStrings in the Win32 API.
|