mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 12:20:21 +00:00
![Hermès Bélusca-Maïto](/assets/img/avatar_default.png)
Move the bootsup.c code into the setuplib, as the code is generic enough to be used by both USETUP and the 1st-stage GUI installer. svn path=/branches/setup_improvements/; revision=75674
42 lines
910 B
C
42 lines
910 B
C
/*
|
|
* PROJECT: ReactOS Setup Library
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
|
* PURPOSE: Filesystem support functions
|
|
* COPYRIGHT: Copyright 2003-2018 Casper S. Hornstrup (chorns@users.sourceforge.net)
|
|
* Copyright 2017-2018 Hermes Belusca-Maito
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <fmifs/fmifs.h>
|
|
|
|
typedef struct _FILE_SYSTEM
|
|
{
|
|
PCWSTR FileSystemName;
|
|
FORMATEX FormatFunc;
|
|
CHKDSKEX ChkdskFunc;
|
|
} FILE_SYSTEM, *PFILE_SYSTEM;
|
|
|
|
PFILE_SYSTEM
|
|
GetRegisteredFileSystems(OUT PULONG Count);
|
|
|
|
PFILE_SYSTEM
|
|
GetFileSystemByName(
|
|
// IN PFILE_SYSTEM_LIST List,
|
|
IN PCWSTR FileSystemName);
|
|
|
|
struct _PARTENTRY; // Defined in partlist.h
|
|
|
|
PFILE_SYSTEM
|
|
GetFileSystem(
|
|
// IN PFILE_SYSTEM_LIST FileSystemList,
|
|
IN struct _PARTENTRY* PartEntry);
|
|
|
|
|
|
BOOLEAN
|
|
PreparePartitionForFormatting(
|
|
IN struct _PARTENTRY* PartEntry,
|
|
IN PFILE_SYSTEM FileSystem);
|
|
|
|
/* EOF */
|