reactos/base/setup/usetup/fmtchk.h
Hermès Bélusca-Maïto a7a7e6a09c
[SETUPLIB][USETUP] Isolate and decouple the filesystem operations code from the UI (#7049)
The idea is reminiscent of the SetupCommitFileQueue() function:
filesystem volume operations are "queued" and processed via a
"commit queue".

The commit queue uses a user-specified callback, that is used to
interact with the user whenever an operation (filesystem formatting,
checking) is started, ended, or fails, for example by displaying
appropriate UI screens and choices, etc.
2024-07-01 16:18:57 +02:00

29 lines
711 B
C

/*
* PROJECT: ReactOS text-mode setup
* LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
* PURPOSE: Filesystem Format and ChkDsk support functions
* COPYRIGHT: Copyright 2003 Casper S. Hornstrup <chorns@users.sourceforge.net>
* Copyright 2006 Hervé Poussineau <hpoussin@reactos.org>
* Copyright 2024 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
*/
#pragma once
VOID
StartFormat(
_Inout_ PFORMAT_VOLUME_INFO FmtInfo,
_In_ PFILE_SYSTEM_ITEM SelectedFileSystem);
VOID
EndFormat(
_In_ NTSTATUS Status);
VOID
StartCheck(
_Inout_ PCHECK_VOLUME_INFO ChkInfo);
VOID
EndCheck(
_In_ NTSTATUS Status);
/* EOF */