mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +00:00
[FASTFAT] Save the FSINFO sector location
This commit is contained in:
parent
2149c3d0d0
commit
04640f9264
|
@ -232,6 +232,7 @@ VfatHasFileSystem(
|
|||
FatInfo.RootCluster = ((struct _BootSector32*) Boot)->RootCluster;
|
||||
FatInfo.rootStart = FatInfo.dataStart + ((FatInfo.RootCluster - 2) * FatInfo.SectorsPerCluster);
|
||||
FatInfo.VolumeID = ((struct _BootSector32*) Boot)->VolumeID;
|
||||
FatInfo.FSInfoSector = ((struct _BootSector32*) Boot)->FSInfoSector;
|
||||
RtlCopyMemory(&FatInfo.VolumeLabel, &((struct _BootSector32*)Boot)->VolumeLabel, sizeof(FatInfo.VolumeLabel));
|
||||
}
|
||||
else
|
||||
|
|
|
@ -263,6 +263,7 @@ typedef struct
|
|||
ULONG FatType;
|
||||
ULONG Sectors;
|
||||
BOOLEAN FixedMedia;
|
||||
ULONG FSInfoSector;
|
||||
} FATINFO, *PFATINFO;
|
||||
|
||||
struct _VFATFCB;
|
||||
|
|
Loading…
Reference in a new issue