# Function Reference

# _WinAPI_GetLogicalDrives

Retrieves a bitmask representing the currently available disk drives

#include <WinAPIFiles.au3>
_WinAPI_GetLogicalDrives ( )

## Return Value

Success: | The value is a bitmask representing the currently available disk drives. Bit position 0 (the least-significant bit) is drive A, bit position 1 is drive B, bit position 2 is drive C, and so on.
Failure: | 0, call _WinAPI_GetLastError() to get extended error information.

## See Also

Search GetLogicalDrives in MSDN Library.