• Home
  • Raw
  • Download

Lines Matching refs:VolumeInfo

35     S_NTFSSECT_VOLINFO * VolumeInfo
37 static DWORD NtfsSectGetVolumePartitionLba(S_NTFSSECT_VOLINFO * VolumeInfo);
95 S_NTFSSECT_VOLINFO * VolumeInfo in NtfsSectGetVolumeHandle() argument
115 VolumeInfo->Handle = CreateFile( in NtfsSectGetVolumeHandle()
125 if (VolumeInfo->Handle == INVALID_HANDLE_VALUE) { in NtfsSectGetVolumeHandle()
132 CloseHandle(VolumeInfo->Handle); in NtfsSectGetVolumeHandle()
140 S_NTFSSECT_VOLINFO * VolumeInfo in NtfsSectGetVolumeInfo() argument
146 if (!VolumeName || !VolumeInfo) in NtfsSectGetVolumeInfo()
149 rc = NtfsSectGetVolumeHandle(VolumeName, VolumeInfo); in NtfsSectGetVolumeInfo()
159 &VolumeInfo->SectorsPerCluster, in NtfsSectGetVolumeInfo()
160 &VolumeInfo->BytesPerSector, in NtfsSectGetVolumeInfo()
170 rc = NtfsSectGetVolumePartitionLba(VolumeInfo); in NtfsSectGetVolumeInfo()
174 VolumeInfo->Size = sizeof *VolumeInfo; in NtfsSectGetVolumeInfo()
185 CloseHandle(VolumeInfo->Handle); in NtfsSectGetVolumeInfo()
186 VolumeInfo->Handle = INVALID_HANDLE_VALUE; in NtfsSectGetVolumeInfo()
195 S_NTFSSECT_VOLINFO * VolumeInfo in NtfsSectGetVolumeInfoFromFileName() argument
202 if (!FileName || !VolumeInfo) in NtfsSectGetVolumeInfoFromFileName()
221 rc = NtfsSectGetVolumeInfo(volname, VolumeInfo); in NtfsSectGetVolumeInfoFromFileName()
232 static DWORD NtfsSectGetVolumePartitionLba(S_NTFSSECT_VOLINFO * VolumeInfo) { in NtfsSectGetVolumePartitionLba() argument
238 VolumeInfo->Handle, in NtfsSectGetVolumePartitionLba()
258 VolumeInfo->PartitionLba.QuadPart = ( in NtfsSectGetVolumePartitionLba()
260 VolumeInfo->BytesPerSector in NtfsSectGetVolumePartitionLba()
273 const S_NTFSSECT_VOLINFO * VolumeInfo, in NtfsSectLcnToLba() argument
279 !VolumeInfo || in NtfsSectLcnToLba()
280 !VolumeInfo->BytesPerSector || in NtfsSectLcnToLba()
281 !VolumeInfo->SectorsPerCluster || in NtfsSectLcnToLba()
290 VolumeInfo->PartitionLba.QuadPart + in NtfsSectLcnToLba()
292 VolumeInfo->SectorsPerCluster in NtfsSectLcnToLba()