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(a)gmail.com
To: ros-dev(a)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=Q…