全部博文(584)
分类: C/C++
2011-04-12 22:30:22
Retrieves a bitmask representing the currently available disk drives.
Syntax DWORD WINAPI GetLogicalDrives(void); ParametersThis function has no parameters.
Return ValueIf the function succeeds, the return 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.
If the function fails, the return value is zero. To get extended error information, call .
RequirementsMinimum supported client
Windows 2000 Professional
Minimum supported server
Windows 2000 Server
Header
WinBase.h (include Windows.h)
Library
Kernel32.lib
DLL
Kernel32.dll