https://git.reactos.org/?p=reactos.git;a=commitdiff;h=65758cc3b453ef59c9159…
commit 65758cc3b453ef59c91593eec70d56b837e35d26
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Nov 22 05:39:40 2020 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Nov 22 21:34:04 2020 +0100
[FMIFS] Whitespaces formatting only.
---
sdk/include/reactos/libs/fmifs/fmifs.h | 236 ++++++++++++++++-----------------
1 file changed, 118 insertions(+), 118 deletions(-)
diff --git a/sdk/include/reactos/libs/fmifs/fmifs.h
b/sdk/include/reactos/libs/fmifs/fmifs.h
index 14bf5310f2f..c2c8b80e7cc 100644
--- a/sdk/include/reactos/libs/fmifs/fmifs.h
+++ b/sdk/include/reactos/libs/fmifs/fmifs.h
@@ -13,12 +13,12 @@
* ---
*
* 1999-02-18 (Emanuele Aliberti)
- * Normalized function names.
+ * Normalized function names.
*
* ---
*
* 2006-09-04 (Herv� Poussineau)
- * Add some prototypes
+ * Add some prototypes
*
*/
@@ -29,97 +29,97 @@ extern "C" {
/* Output command */
typedef struct
{
- ULONG Lines;
- PCHAR Output;
+ ULONG Lines;
+ PCHAR Output;
} TEXTOUTPUT, *PTEXTOUTPUT;
/* media flags */
typedef enum
{
- FMIFS_UNKNOWN0,
- FMIFS_UNKNOWN1,
- FMIFS_UNKNOWN2,
- FMIFS_UNKNOWN3,
- FMIFS_UNKNOWN4,
- FMIFS_UNKNOWN5,
- FMIFS_UNKNOWN6,
- FMIFS_UNKNOWN7,
- FMIFS_FLOPPY,
- FMIFS_UNKNOWN9,
- FMIFS_UNKNOWN10,
- FMIFS_REMOVABLE,
- FMIFS_HARDDISK,
- FMIFS_UNKNOWN13,
- FMIFS_UNKNOWN14,
- FMIFS_UNKNOWN15,
- FMIFS_UNKNOWN16,
- FMIFS_UNKNOWN17,
- FMIFS_UNKNOWN18,
- FMIFS_UNKNOWN19,
- FMIFS_UNKNOWN20,
- FMIFS_UNKNOWN21,
- FMIFS_UNKNOWN22,
- FMIFS_UNKNOWN23,
+ FMIFS_UNKNOWN0,
+ FMIFS_UNKNOWN1,
+ FMIFS_UNKNOWN2,
+ FMIFS_UNKNOWN3,
+ FMIFS_UNKNOWN4,
+ FMIFS_UNKNOWN5,
+ FMIFS_UNKNOWN6,
+ FMIFS_UNKNOWN7,
+ FMIFS_FLOPPY,
+ FMIFS_UNKNOWN9,
+ FMIFS_UNKNOWN10,
+ FMIFS_REMOVABLE,
+ FMIFS_HARDDISK,
+ FMIFS_UNKNOWN13,
+ FMIFS_UNKNOWN14,
+ FMIFS_UNKNOWN15,
+ FMIFS_UNKNOWN16,
+ FMIFS_UNKNOWN17,
+ FMIFS_UNKNOWN18,
+ FMIFS_UNKNOWN19,
+ FMIFS_UNKNOWN20,
+ FMIFS_UNKNOWN21,
+ FMIFS_UNKNOWN22,
+ FMIFS_UNKNOWN23,
} FMIFS_MEDIA_FLAG;
/* Callback command types */
typedef enum
{
- PROGRESS,
- DONEWITHSTRUCTURE,
- UNKNOWN2,
- UNKNOWN3,
- UNKNOWN4,
- UNKNOWN5,
- INSUFFICIENTRIGHTS,
- FSNOTSUPPORTED,
- VOLUMEINUSE,
- UNKNOWN9,
- UNKNOWNA,
- DONE,
- UNKNOWNC,
- UNKNOWND,
- OUTPUT,
- STRUCTUREPROGRESS,
- CLUSTERSIZETOOSMALL,
+ PROGRESS,
+ DONEWITHSTRUCTURE,
+ UNKNOWN2,
+ UNKNOWN3,
+ UNKNOWN4,
+ UNKNOWN5,
+ INSUFFICIENTRIGHTS,
+ FSNOTSUPPORTED,
+ VOLUMEINUSE,
+ UNKNOWN9,
+ UNKNOWNA,
+ DONE,
+ UNKNOWNC,
+ UNKNOWND,
+ OUTPUT,
+ STRUCTUREPROGRESS,
+ CLUSTERSIZETOOSMALL,
} CALLBACKCOMMAND;
/* FMIFS callback definition */
typedef BOOLEAN
(NTAPI* PFMIFSCALLBACK)(
- IN CALLBACKCOMMAND Command,
- IN ULONG SubAction,
- IN PVOID ActionInfo);
+ IN CALLBACKCOMMAND Command,
+ IN ULONG SubAction,
+ IN PVOID ActionInfo);
/* Chkdsk command in FMIFS */
VOID NTAPI
Chkdsk(
- IN PWCHAR DriveRoot,
- IN PWCHAR Format,
- IN BOOLEAN CorrectErrors,
- IN BOOLEAN Verbose,
- IN BOOLEAN CheckOnlyIfDirty,
- IN BOOLEAN ScanDrive,
- IN PVOID Unused2,
- IN PVOID Unused3,
- IN PFMIFSCALLBACK Callback);
-
-/* ChkdskEx command in FMIFS (not in the original) */
+ IN PWCHAR DriveRoot,
+ IN PWCHAR Format,
+ IN BOOLEAN CorrectErrors,
+ IN BOOLEAN Verbose,
+ IN BOOLEAN CheckOnlyIfDirty,
+ IN BOOLEAN ScanDrive,
+ IN PVOID Unused2,
+ IN PVOID Unused3,
+ IN PFMIFSCALLBACK Callback);
+
+/* ChkdskEx command in FMIFS */
VOID NTAPI
ChkdskEx(
- IN PWCHAR DriveRoot,
- IN PWCHAR Format,
- IN BOOLEAN CorrectErrors,
- IN BOOLEAN Verbose,
- IN BOOLEAN CheckOnlyIfDirty,
- IN BOOLEAN ScanDrive,
- IN PVOID Unused2,
- IN PVOID Unused3,
- IN PFMIFSCALLBACK Callback);
+ IN PWCHAR DriveRoot,
+ IN PWCHAR Format,
+ IN BOOLEAN CorrectErrors,
+ IN BOOLEAN Verbose,
+ IN BOOLEAN CheckOnlyIfDirty,
+ IN BOOLEAN ScanDrive,
+ IN PVOID Unused2,
+ IN PVOID Unused3,
+ IN PFMIFSCALLBACK Callback);
FMIFS_MEDIA_FLAG NTAPI
ComputeFmMediaType(
- IN ULONG MediaType);
+ IN ULONG MediaType);
/* DiskCopy command in FMIFS */
VOID NTAPI
@@ -128,89 +128,89 @@ DiskCopy(VOID);
/* Enable/Disable volume compression */
BOOLEAN NTAPI
EnableVolumeCompression(
- IN PWCHAR DriveRoot,
- IN USHORT Compression);
+ IN PWCHAR DriveRoot,
+ IN USHORT Compression);
/* Format command in FMIFS */
VOID NTAPI
Format(
- IN PWCHAR DriveRoot,
- IN FMIFS_MEDIA_FLAG MediaFlag,
- IN PWCHAR Format,
- IN PWCHAR Label,
- IN BOOLEAN QuickFormat,
- IN PFMIFSCALLBACK Callback);
+ IN PWCHAR DriveRoot,
+ IN FMIFS_MEDIA_FLAG MediaFlag,
+ IN PWCHAR Format,
+ IN PWCHAR Label,
+ IN BOOLEAN QuickFormat,
+ IN PFMIFSCALLBACK Callback);
/* FormatEx command in FMIFS */
VOID NTAPI
FormatEx(
- IN PWCHAR DriveRoot,
- IN FMIFS_MEDIA_FLAG MediaFlag,
- IN PWCHAR Format,
- IN PWCHAR Label,
- IN BOOLEAN QuickFormat,
- IN ULONG ClusterSize,
- IN PFMIFSCALLBACK Callback);
+ IN PWCHAR DriveRoot,
+ IN FMIFS_MEDIA_FLAG MediaFlag,
+ IN PWCHAR Format,
+ IN PWCHAR Label,
+ IN BOOLEAN QuickFormat,
+ IN ULONG ClusterSize,
+ IN PFMIFSCALLBACK Callback);
BOOLEAN NTAPI
QueryAvailableFileSystemFormat(
- IN DWORD Index,
- IN OUT PWCHAR FileSystem, /* FIXME: Probably one minimal size is mandatory, but which
one? */
- OUT UCHAR* Major,
- OUT UCHAR* Minor,
- OUT BOOLEAN* LatestVersion);
+ IN DWORD Index,
+ IN OUT PWCHAR FileSystem, /* FIXME: Probably one minimal size is mandatory, but which
one? */
+ OUT UCHAR* Major,
+ OUT UCHAR* Minor,
+ OUT BOOLEAN* LatestVersion);
BOOL NTAPI
QueryDeviceInformation(
- IN PWCHAR DriveRoot,
- OUT ULONG* Buffer, /* That is probably some 4-bytes structure */
- IN ULONG BufferSize); /* 4 */
+ IN PWCHAR DriveRoot,
+ OUT ULONG* Buffer, /* That is probably some 4-bytes structure */
+ IN ULONG BufferSize); /* 4 */
BOOL NTAPI
QueryFileSystemName(
- IN PWCHAR DriveRoot,
- OUT PWCHAR FileSystem OPTIONAL, /* FIXME: Probably one minimal size is mandatory, but
which one? */
- OUT UCHAR* Unknown2 OPTIONAL, /* Always 0? */
- OUT UCHAR* Unknown3 OPTIONAL, /* Always 0? */
- OUT ULONG* Unknown4 OPTIONAL); /* Always 0? */
+ IN PWCHAR DriveRoot,
+ OUT PWCHAR FileSystem OPTIONAL, /* FIXME: Probably one minimal size is mandatory, but
which one? */
+ OUT UCHAR* Unknown2 OPTIONAL, /* Always 0? */
+ OUT UCHAR* Unknown3 OPTIONAL, /* Always 0? */
+ OUT ULONG* Unknown4 OPTIONAL); /* Always 0? */
BOOLEAN NTAPI
QueryLatestFileSystemVersion(
- IN PWCHAR FileSystem,
- OUT UCHAR* Major OPTIONAL,
- OUT UCHAR* Minor OPTIONAL);
+ IN PWCHAR FileSystem,
+ OUT UCHAR* Major OPTIONAL,
+ OUT UCHAR* Minor OPTIONAL);
BOOL NTAPI
QuerySupportedMedia(
- IN PWCHAR DriveRoot,
- OUT FMIFS_MEDIA_FLAG *CurrentMedia OPTIONAL,
- IN ULONG Unknown3,
- OUT PULONG Unknown4); /* Always 1? */
+ IN PWCHAR DriveRoot,
+ OUT FMIFS_MEDIA_FLAG *CurrentMedia OPTIONAL,
+ IN ULONG Unknown3,
+ OUT PULONG Unknown4); /* Always 1? */
BOOL NTAPI
SetLabel(
- IN PWCHAR DriveRoot,
- IN PWCHAR Label);
+ IN PWCHAR DriveRoot,
+ IN PWCHAR Label);
/* Functions provided by u*.dll */
typedef NTSTATUS
(NTAPI *FORMATEX)(
- IN PUNICODE_STRING DriveRoot,
- IN FMIFS_MEDIA_FLAG MediaFlag,
- IN PUNICODE_STRING Label,
- IN BOOLEAN QuickFormat,
- IN ULONG ClusterSize,
- IN PFMIFSCALLBACK Callback);
+ IN PUNICODE_STRING DriveRoot,
+ IN FMIFS_MEDIA_FLAG MediaFlag,
+ IN PUNICODE_STRING Label,
+ IN BOOLEAN QuickFormat,
+ IN ULONG ClusterSize,
+ IN PFMIFSCALLBACK Callback);
typedef NTSTATUS
(NTAPI *CHKDSKEX)(
- IN PUNICODE_STRING DriveRoot,
- IN BOOLEAN FixErrors,
- IN BOOLEAN Verbose,
- IN BOOLEAN CheckOnlyIfDirty,
- IN BOOLEAN ScanDrive,
- IN PFMIFSCALLBACK Callback);
+ IN PUNICODE_STRING DriveRoot,
+ IN BOOLEAN FixErrors,
+ IN BOOLEAN Verbose,
+ IN BOOLEAN CheckOnlyIfDirty,
+ IN BOOLEAN ScanDrive,
+ IN PFMIFSCALLBACK Callback);
#ifdef __cplusplus
}