Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Mar : Re: size of \\.\C:
| Subject: | Re: size of \\.\C: |
| Posted by: | "Guenther Wimpassinger" (gw_spam@pickem.at) |
| Date: | Wed, 16 Mar 2005 17:02:56 |
"Ben Hochstrasser" <bhoc@tiscali123^H^H^H.ch> schrieb im Newsbeitrag news:Xns961B8DC5BC481bhoc@207.105.83.66...
> Guenther Wimpassinger wrote:
>
> >> IOCTL_DISK_GET_LENGTH_INFO will get you the volume size.
> >>
> >
> > Seems that it will work only under XP or Server 2003... I
> > will test it anyway.
>
> In that case you can use IOCTL_DISK_GET_PARTITION_INFO, which requires
IOCTL_DISK_GET_PARTITION_INFO works and now i get the real size
not the nearest CHS mapping size.
bye and thank you
Guenther