IFILEMGR_GetFreeSpace returns 0 even EFS is not full | developer.brewmp.com IFILEMGR_GetFreeSpace returns 0 even EFS is not full | developer.brewmp.com

Developer

IFILEMGR_GetFreeSpace returns 0 even EFS is not full

Forums:

Hi all :eek:

I am using IFILEMGR_GetFreeSpace api to get the free space available on EFS. but it is always giving returned bytes(free) as 0,even EFS is not full.
i am using this code:-

IFileMgr * iFileMgr = iPool->GetFileMgr();
uint32 free = 0;
uint32 total = 0;

if (iFileMgr)
{
free = IFILEMGR_GetFreeSpace(iFileMgr, &total);
}

output:-
free=0.
total =86790550

pls help.

Thanks
Mack