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!