Lines Matching refs:FsSizeInfo
69 FILE_FS_SIZE_INFORMATION FsSizeInfo;
71 NTSTATUS rcNt = NtQueryVolumeInformationFile(hFile, &Ios, &FsSizeInfo, sizeof(FsSizeInfo), FileFsSizeInformation);
79 *pcbTotal = FsSizeInfo.TotalAllocationUnits.QuadPart
80 * FsSizeInfo.SectorsPerAllocationUnit
81 * FsSizeInfo.BytesPerSector;
82 if ( *pcbTotal / FsSizeInfo.SectorsPerAllocationUnit / FsSizeInfo.BytesPerSector
83 != FsSizeInfo.TotalAllocationUnits.QuadPart)
89 *pcbFree = FsSizeInfo.AvailableAllocationUnits.QuadPart
90 * FsSizeInfo.SectorsPerAllocationUnit
91 * FsSizeInfo.BytesPerSector;
92 if ( *pcbFree / FsSizeInfo.SectorsPerAllocationUnit / FsSizeInfo.BytesPerSector
93 != FsSizeInfo.AvailableAllocationUnits.QuadPart)
99 *pcbBlock = FsSizeInfo.SectorsPerAllocationUnit * FsSizeInfo.BytesPerSector;
100 if (*pcbBlock / FsSizeInfo.BytesPerSector != FsSizeInfo.SectorsPerAllocationUnit)
105 *pcbSector = FsSizeInfo.BytesPerSector;