xref: /reactos/sdk/lib/fslib/cdfslib/cdfslib.c (revision 53221834)
1 /*
2  * PROJECT:     ReactOS CDFS library
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     Checking and Formatting CDFS volumes
5  * COPYRIGHT:   Copyright 2017 Colin Finck <colin@reactos.org>
6  */
7 
8 #define NTOS_MODE_USER
9 #include <ndk/umtypes.h>
10 #include <fmifs/fmifs.h>
11 
12 #define NDEBUG
13 #include <debug.h>
14 
15 BOOLEAN
16 NTAPI
17 CdfsFormat(
18     IN PUNICODE_STRING DriveRoot,
19     IN PFMIFSCALLBACK Callback,
20     IN BOOLEAN QuickFormat,
21     IN BOOLEAN BackwardCompatible,
22     IN MEDIA_TYPE MediaType,
23     IN PUNICODE_STRING Label,
24     IN ULONG ClusterSize)
25 {
26     // Not possible for CDFS (ISO-9660).
27     return FALSE;
28 }
29 
30 BOOLEAN
31 NTAPI
32 CdfsChkdsk(
33     IN PUNICODE_STRING DriveRoot,
34     IN PFMIFSCALLBACK Callback,
35     IN BOOLEAN FixErrors,
36     IN BOOLEAN Verbose,
37     IN BOOLEAN CheckOnlyIfDirty,
38     IN BOOLEAN ScanDrive,
39     IN PVOID pUnknown1,
40     IN PVOID pUnknown2,
41     IN PVOID pUnknown3,
42     IN PVOID pUnknown4,
43     IN PULONG ExitStatus)
44 {
45     UNIMPLEMENTED;
46     *ExitStatus = (ULONG)STATUS_SUCCESS;
47     return TRUE;
48 }
49