Re: Space on device
- From: Goran RakiÄ <gox devbase net>
- To: Harring Figueiredo <harringf yahoo com>, gtk-app-devel-list gnome org
- Subject: Re: Space on device
- Date: Fri, 6 Feb 2004 00:01:55 +0100
Dana Äetvrtak 5. februar 2004. 22:57, Harring Figueiredo je napisao/la:
Folks,
Does anyone know the system call that the Windows Explorer uses to find the
sapce available on a drive ? (Drive here means C:\ or D:\ etc.).
What is the system call the df uses on linux/unixes(?) ?
ULARGE_INTEGER i1, i2, i3;
GetDiskFreeSpaceEx ("C:\\", &i1, &i2, &i3);
You will get free space in i2 and you can convert it to string with sprintf or
similar.
Goran Rakic
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]