mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
a7a7e6a09c
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.
29 lines
711 B
C
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 */
|