mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:52:56 +00:00
[SETUPLIB] Consolidate the FsUtil and PartList modules of the SetupLib.
- Add a PreparePartitionForFormatting routine that sets the partition ID depending on the chosen filesystem. - The 'FORMATMACHINESTATE FormatState' machine-state and the 'TempPartition' members of the partition list structure is purely a USETUP convenience, so remove them from the PARTLIST structure and move them back into USETUP. - Attempt to recognize the filesystem (set the 'FileSystem' member of PARTENTRY) of partitions we are adding into the PARTLIST list. - Fix the return value of the SelectPartition function, which is by the way completely broken (it doesn't do what it is supposed to do; alternatively its naming is completely wrong...). svn path=/branches/setup_improvements/; revision=74572 svn path=/branches/setup_improvements/; revision=74573
This commit is contained in:
parent
3a19ee6a96
commit
1716749bcb
5 changed files with 155 additions and 100 deletions
|
@ -31,4 +31,10 @@ GetFileSystem(
|
|||
// IN PFILE_SYSTEM_LIST FileSystemList,
|
||||
IN struct _PARTENTRY* PartEntry);
|
||||
|
||||
|
||||
BOOLEAN
|
||||
PreparePartitionForFormatting(
|
||||
IN struct _PARTENTRY* PartEntry,
|
||||
IN PFILE_SYSTEM FileSystem);
|
||||
|
||||
/* EOF */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue