View Single Post
Old 11-07-2003, 10:20 PM   #3 (permalink)
twister002
Crazy
 
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.
twister002 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60