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

Jack Yi piziyi at gmail.com
Wed Dec 10 15:17:21 CET 2008


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20081210/0763c3a2/attachment.html 


More information about the Ros-dev mailing list