Hi All,
I'm trying desperately to find functions to retreive the _physical_ geometry from a disk under Win9x and WinNT/Win2k
Anyone got any ideas? GetDiskFreeSpaceEx is not an option - that gives information on a _logical_ drive
Thanks!
Printable View
Hi All,
I'm trying desperately to find functions to retreive the _physical_ geometry from a disk under Win9x and WinNT/Win2k
Anyone got any ideas? GetDiskFreeSpaceEx is not an option - that gives information on a _logical_ drive
Thanks!
What language are you using? And do you want the drives geometry, or what the bios has it set as. These can and often are different.
I'm using MS Visual C++ (6.0sp5) and would like to retreive the information how just like in System Information (msinfo32.exe)
Thanks!
I'm not a C++ guru, but I'll see if I can find anything tonight.
thanks alot! I'm not a C guru as well (I have sleepless night because of these pointers to references to strings ... <IMG SRC="smilies/mad.gif" border="0"> )
LOL! I feel your pain. We've all been at that place in our programming career. I'll see if I can come up with any info for you as well.
I found this on MSDN. I assume you've seen it too... http://msdn.microsoft.com/library/ps...lesio_4lf7.htm
I believe that System Information collects its info from several of these functions, not just one. From what I see, GetDiskFreeSpace, GetDiskFreeSpaceEx, and GetDriveType are the functions used.
This is another list of functions used for System Information... http://msdn.microsoft.com/library/ps...sinfo_8stv.htm
I'll keep searching though, might be able to come up with more.