Re: [Dev-C++] Retrieving toal space available to user
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2003-04-02 18:27:04
|
I don't know if there is a directly callable API for the information.If
you program COM, there is an interface
IDiskQuotaUser::GetQuotaInformation
that will give the info.
/Per W
On Wed, 2 Apr 2003, Hammamur Rahman wrote:
> H, I've used the the function below succesfully, but one the thing it does
> not allow you to get is the number of bythes availabe to the calling user
> (i.e the allocated quota for that user), it only allows to retrieve the
> total number of free bytes on the disk that are available to the user.
>
> BOOL GetDiskFreeSpaceEx(
> LPCTSTR lpDirectoryName,
> PULARGE_INTEGER lpFreeBytesAvailable,
> PULARGE_INTEGER lpTotalNumberOfBytes,
> PULARGE_INTEGER lpTotalNumberOfFreeBytes
> );
>
> Is the another function which can obtain this.
>
> Thank you!
>
>
> _________________________________________________________________
> Surf together with new Shared Browsing
> http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|