ReactOS  0.4.14-dev-1036-g3c5b10f
cdfslib.c
Go to the documentation of this file.
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 
19  IN BOOLEAN CheckOnlyIfDirty,
20  IN BOOLEAN ScanDrive,
22 {
24  return STATUS_SUCCESS;
25 }
26 
29  IN FMIFS_MEDIA_FLAG MediaFlag,
34 {
35  // Not possible for CDFS (ISO-9660).
36  return STATUS_NOT_SUPPORTED;
37 }
#define IN
Definition: typedefs.h:39
BOOL Verbose
Definition: chkdsk.c:72
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned char BOOLEAN
BOOL QuickFormat
Definition: format.c:66
NTSTATUS NTAPI CdfsChkdsk(IN PUNICODE_STRING DriveRoot, IN BOOLEAN FixErrors, IN BOOLEAN Verbose, IN BOOLEAN CheckOnlyIfDirty, IN BOOLEAN ScanDrive, IN PFMIFSCALLBACK Callback)
Definition: cdfslib.c:16
DWORD ClusterSize
Definition: format.c:67
NTSTATUS NTAPI CdfsFormat(IN PUNICODE_STRING DriveRoot, IN FMIFS_MEDIA_FLAG MediaFlag, IN PUNICODE_STRING Label, IN BOOLEAN QuickFormat, IN ULONG ClusterSize, IN PFMIFSCALLBACK Callback)
Definition: cdfslib.c:28
BOOLEAN(NTAPI * PFMIFSCALLBACK)(IN CALLBACKCOMMAND Command, IN ULONG SubAction, IN PVOID ActionInfo)
Definition: fmifs.h:89
BOOL FixErrors
Definition: chkdsk.c:69
#define STATUS_NOT_SUPPORTED
Definition: ntstatus.h:409
unsigned int ULONG
Definition: retypes.h:1
#define UNIMPLEMENTED
Definition: debug.h:114
PWCHAR Label
Definition: format.c:70
return STATUS_SUCCESS
Definition: btrfs.c:2938
LPFNPSPCALLBACK Callback
Definition: desk.c:112
FMIFS_MEDIA_FLAG
Definition: fmifs.h:37