The MASM Forum

General => The Campus => Topic started by: kiranbhatter on December 23, 2012, 10:04:27 PM

Title: How to get the number of drives and their related information
Post by: kiranbhatter on December 23, 2012, 10:04:27 PM
Hi,
Could you please help me out to find the number of drives and their names, sizes etc.,

Assembler: MASM32

Thanks :)
Title: Re: How to get the number of drives and their related information
Post by: hutch-- on December 23, 2012, 10:25:28 PM
A quick list of required API functions.

GetLogicalDrives
GetDriveType
SetErrorMode
GetDiskFreeSpaceEx

Title: Re: How to get the number of drives and their related information
Post by: kiranbhatter on December 23, 2012, 10:27:51 PM
Wow...such a quick reply.
Thank you alot
Title: Re: How to get the number of drives and their related information
Post by: dedndave on December 24, 2012, 07:00:53 AM
also, GetVolumeInformation