xref: /reactos/sdk/lib/fslib/cdfslib/cdfslib.c (revision 50cf16b3)
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 NTSTATUS NTAPI
16 CdfsChkdsk(IN PUNICODE_STRING DriveRoot,
17     IN BOOLEAN FixErrors,
18     IN BOOLEAN Verbose,
19     IN BOOLEAN CheckOnlyIfDirty,
20     IN BOOLEAN ScanDrive,
21     IN PFMIFSCALLBACK Callback)
22 {
23     UNIMPLEMENTED;
24     return STATUS_SUCCESS;
25 }
26 
27 NTSTATUS NTAPI
28 CdfsFormat(IN PUNICODE_STRING DriveRoot,
29     IN FMIFS_MEDIA_FLAG MediaFlag,
30     IN PUNICODE_STRING Label,
31     IN BOOLEAN QuickFormat,
32     IN ULONG ClusterSize,
33     IN PFMIFSCALLBACK Callback)
34 {
35     // Not possible for CDFS (ISO-9660).
36     return STATUS_NOT_SUPPORTED;
37 }
38