The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: plutocat on April 12, 2012, 01:11:05 AM

Title: using GetVolumeInformationA
Post by: plutocat on April 12, 2012, 01:11:05 AM
Problem solved, Thanks everybody!
Title: Re: using GetVolumeInformationA
Post by: dedndave on April 12, 2012, 03:23:13 AM
for FAT, the string would be 'FAT',0
i don't find any reference that says it may be 1
Title: Re: using GetVolumeInformationA
Post by: plutocat on April 12, 2012, 03:38:32 AM
Thanks!
Title: Re: using GetVolumeInformationA
Post by: GregL on April 13, 2012, 02:01:01 AM
plutocat,

Please don't delete the original question when you've got a solution, now this post doesn't help anyone else.  Thanks.

Title: Re: using GetVolumeInformationA
Post by: dedndave on April 13, 2012, 03:14:54 AM
he had some example code that called GetVolumeInformation
the code tested for the value 1 in the first byte of the lpFileSystemNameBuffer result string
the function normally returns a string like "NTFS" or "FAT"