Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
FARPROC pGetDiskFreeSpaceEx = GetProcAddress( GetModuleHandle("kernel32.dll"), "GetDiskFreeSpaceExA");
if (pGetDiskFreeSpaceEx)
{
unsigned hyper i64FreeBytesAvailable = 0; // bytes available to caller
unsigned hyper i64TotalNumberOfBytes = 0; // bytes on disk
unsigned hyper i64TotalNumberOfFreeBytes = 0;// free bytes on disk
if(strcmp(Drive, "") != 0)
{
CString strDrive = "C:\\";
nErrTrap = ::GetDiskFreeSpaceEx(strDrive,(PULARGE_INTEGER)&i64FreeBytesAvailable,
(PULARGE_INTEGER)&i64TotalNumberOfBytes, (PULARGE_INTEGER)&i64TotalNumberOfFreeBytes);
if(!nErrTrap)
lLastError = GetLastError();
}
}