mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:43:09 +00:00
[SETUPLIB] Add NTFS boot support. (#3778)
This commit is contained in:
parent
a33719500c
commit
2580889cfa
3 changed files with 200 additions and 4 deletions
|
@ -68,6 +68,7 @@ FormatFileSystem(
|
|||
#define FAT_BOOTSECTOR_SIZE (1 * SECTORSIZE)
|
||||
#define FAT32_BOOTSECTOR_SIZE (1 * SECTORSIZE) // Counts only the primary sector.
|
||||
#define BTRFS_BOOTSECTOR_SIZE (3 * SECTORSIZE)
|
||||
#define NTFS_BOOTSECTOR_SIZE (16 * SECTORSIZE)
|
||||
|
||||
typedef NTSTATUS
|
||||
(/*NTAPI*/ *PFS_INSTALL_BOOTCODE)(
|
||||
|
@ -96,6 +97,12 @@ InstallBtrfsBootCode(
|
|||
IN HANDLE DstPath,
|
||||
IN HANDLE RootPartition);
|
||||
|
||||
NTSTATUS
|
||||
InstallNtfsBootCode(
|
||||
IN PCWSTR SrcPath,
|
||||
IN HANDLE DstPath,
|
||||
IN HANDLE RootPartition);
|
||||
|
||||
|
||||
//
|
||||
// Formatting routines
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue