[ros-dev] why IOCTL_DISK_GET_DRIVE_GEOMETRY_EX failed in windows 2000?

Stefan Ginsberg stefan__100__ at hotmail.com
Wed Dec 10 16:10:08 CET 2008


http://msdn.microsoft.com/en-us/library/aa365171(VS.85).aspx
IOCTL_DISK_GET_DRIVE_GEOMETRY_EX

Minimum supported client   Windows XP
Minimum supported server   Windows Server 2003


Ever heard of MSDN? It is quite useful.




Date: Wed, 10 Dec 2008 22:17:21 +0800
From: piziyi at gmail.com
To: ros-dev at reactos.org
Subject: [ros-dev] why IOCTL_DISK_GET_DRIVE_GEOMETRY_EX failed in windows	2000?

hi,guys:
     I don't know if it is proper to ask such a question here. I'm sorry if I break some rules.
 
why IOCTL_DISK_GET_DRIVE_GEOMETRY_EX fail in windows 2000 and succeed in windows xp and greater version?
 
or how can I get a disk(whatever,ATA,SCSI,USB )'s real size(including additional sectors) in a easy way in windows 2000, just like there is such a function,
 
__int 64GetDiskRealSize(HANDLE hDisk);
 
Could anybody help me?
Waiting for reply.
Thank you! 
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20081210/965e740c/attachment.html 


More information about the Ros-dev mailing list