Hi,
How to programmatically determine the amount of hard disk space used?
Thanks,
Shakeel.
Hi,
How to programmatically determine the amount of hard disk space used?
Thanks,
Shakeel.
You mean in the user mode or in the kernel mode ?
UserMode - GetDiskFreeSpaceEx
KernelMode - IRP_MJ_QUERY_VOLUME_INFORMATION
with FileFsSizeInformation
L.
Thanks Ladislav for your help.
How to translate this information to a LBA level. OR Are there other APIs
at user mode or kernel mode that provide that information. for example: from
LBA 0 - LBA XXX is used and LBA XXX - LBA ZZZ is unused/free space.
I appreciate your help,
Shakeel.
“Ladislav Zezula” wrote in message news:xxxxx@ntfsd…
> You mean in the user mode or in the kernel mode ?
>
> UserMode - GetDiskFreeSpaceEx
> KernelMode - IRP_MJ_QUERY_VOLUME_INFORMATION
> with FileFsSizeInformation
>
> L.
>
>
There isn’t a specific range things quicky get scattered. You might look at
http://www.sysinternals.com/ntw2k/info/defrag.shtml for some info.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
“shakeel” wrote in message news:xxxxx@ntfsd…
> Thanks Ladislav for your help.
>
> How to translate this information to a LBA level. OR Are there other APIs
> at user mode or kernel mode that provide that information. for example:
from
> LBA 0 - LBA XXX is used and LBA XXX - LBA ZZZ is unused/free space.
>
> I appreciate your help,
> Shakeel.
>
> “Ladislav Zezula” wrote in message news:xxxxx@ntfsd…
> > You mean in the user mode or in the kernel mode ?
> >
> > UserMode - GetDiskFreeSpaceEx
> > KernelMode - IRP_MJ_QUERY_VOLUME_INFORMATION
> > with FileFsSizeInformation
> >
> > L.
> >
> >
>
>
>
FSCTL_GET_VOLUME_BITMAP
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “shakeel”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Thursday, September 16, 2004 9:58 PM
Subject: Re:[ntfsd] Question on file system
> Thanks Ladislav for your help.
>
> How to translate this information to a LBA level. OR Are there other APIs
> at user mode or kernel mode that provide that information. for example: from
> LBA 0 - LBA XXX is used and LBA XXX - LBA ZZZ is unused/free space.
>
> I appreciate your help,
> Shakeel.
>
> “Ladislav Zezula” wrote in message news:xxxxx@ntfsd…
> > You mean in the user mode or in the kernel mode ?
> >
> > UserMode - GetDiskFreeSpaceEx
> > KernelMode - IRP_MJ_QUERY_VOLUME_INFORMATION
> > with FileFsSizeInformation
> >
> > L.
> >
> >
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com