|
-
June 18th, 2001, 10:13 AM
#1
Retreiving drive geometry using Win32 API
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!
-
June 18th, 2001, 06:24 PM
#2
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.
-
June 18th, 2001, 10:25 PM
#3
I'm using MS Visual C++ (6.0sp5) and would like to retreive the information how just like in System Information (msinfo32.exe)
Thanks!
-
June 19th, 2001, 09:10 AM
#4
I'm not a C++ guru, but I'll see if I can find anything tonight.
-
June 19th, 2001, 09:13 AM
#5
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"> )
-
June 20th, 2001, 12:37 PM
#6
Registered User
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.
-
June 20th, 2001, 01:09 PM
#7
Registered User
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks