Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looking for a reliable way to determine if a drive letter is in use
#5
Looks like you'd use GetLogicalDrives()

So,

Code: (Select All)
Declare CustomType Library
Function GetLogicalDrives~&()
End Declare

Dim As Unsigned Long currentLetters: currentLetters = GetLogicalDrives
'do something to figure out the bitmask using AND
Schuwatch!
Yes, it's me. Now shut up.
Reply


Messages In This Thread
RE: Looking for a reliable way to determine if a drive letter is in use - by Ultraman - 05-08-2023, 03:55 PM



Users browsing this thread: 4 Guest(s)