All pastes #959983 Raw Edit

Anonym

public text v1 · immutable
#959983 ·published 2008-03-27 20:23 UTC
rendered paste body
194     if(GetDiskFreeSpaceExW((LPCWSTR)dir.utf16(),
195                            (PULARGE_INTEGER)&availUser,
196                            (PULARGE_INTEGER)&total,
197                            (PULARGE_INTEGER)&avail) != 0) {
198         availUser = availUser / 1024;
199         total = total / 1024;
200         avail = avail / 1024;
201         emit foundMountPoint( mountPoint, total, total-avail, avail );
202         bRet = true;
203     }


else
{
   qDebug() << "Error code from GetDiskFreeSpaceEx was:" << GetLastError();
}


204     emit done();
205     deleteLater();
206     return bRet;