return FALSE;
}
- PartitionType = FileSystemToPartitionType(FileSystemName,
- &PartEntry->StartSector,
- &PartEntry->SectorCount);
+ PartitionType = FileSystemToMBRPartitionType(FileSystemName,
+ PartEntry->StartSector.QuadPart,
+ PartEntry->SectorCount.QuadPart);
if (PartitionType == PARTITION_ENTRY_UNUSED)
{
/* Unknown file system */
return FALSE;
}
- SetPartitionType(PartEntry, PartitionType);
+ SetMBRPartitionType(PartEntry, PartitionType);
/*
* Adjust the filesystem name in case of FAT vs. FAT32, according to