Код (Text): STARTING_VCN_INPUT_BUFFER inputVcn; RETRIEVAL_POINTERS_BUFFER rpBuf; VOLUME_LOGICAL_OFFSET lOffset; VOLUME_PHYSICAL_OFFSETS pOffset; GetDiskFreeSpace( L"E:\\", &SectorsPerCluster, &BytesPerSector, &NumOfFreeClusters, &TotalClusters ); printf("%d %d %d %d\n", SectorsPerCluster, BytesPerSector, NumOfFreeClusters, TotalClusters ); "8 512 3087183 4100591" hFile = CreateFileA( "E:\\test.dat", FILE_ALL_ACCESS, 0, NULL, OPEN_EXISTING, 0, NULL ) ; inputVcn.StartingVcn.QuadPart = 0; DeviceIoControl( hFile, FSCTL_GET_RETRIEVAL_POINTERS, &inputVcn, sizeof(STARTING_VCN_INPUT_BUFFER), &rpBuf, sizeof(RETRIEVAL_POINTERS_BUFFER), &dwBytesReturned, NULL ); "rpBuf.Extents[0].Lcn.QuadPart = 0x00000000000ebd00" "dwBytesReturned = 0x00000020" lOffset.LogicalOffset = rpBuf.Extents[0].Lcn.QuadPart * SectorsPerCluster * BytesPerSector; DeviceIoControl( hFile, IOCTL_VOLUME_LOGICAL_TO_PHYSICAL, &lOffset, sizeof(VOLUME_LOGICAL_OFFSET), &pOffset, sizeof(VOLUME_PHYSICAL_OFFSETS), &dwBytesReturned, NULL ); if( bRet == FALSE ) printf("DeviceIoControl error 0x%08X\n", GetLastError() ); "DeviceIoControl error 0x00000057" Файловая система НТФС, компрессии нет, файл самый обычный... Не понимаю в чем может быть дело!