ReactOS  0.4.15-dev-1392-g3014417
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 
15 BOOLEAN
16 NTAPI
18  IN PUNICODE_STRING DriveRoot,
21  IN BOOLEAN BackwardCompatible,
22  IN MEDIA_TYPE MediaType,
25 {
26  // Not possible for CDFS (ISO-9660).
27  return FALSE;
28 }
29 
30 BOOLEAN
31 NTAPI
33  IN PUNICODE_STRING DriveRoot,
37  IN BOOLEAN CheckOnlyIfDirty,
38  IN BOOLEAN ScanDrive,
39  IN PVOID pUnknown1,
40  IN PVOID pUnknown2,
41  IN PVOID pUnknown3,
42  IN PVOID pUnknown4,
44 {
47  return TRUE;
48 }
#define IN
Definition: typedefs.h:39
BOOL Verbose
Definition: chkdsk.c:72
#define TRUE
Definition: types.h:120
BOOLEAN NTAPI CdfsChkdsk(IN PUNICODE_STRING DriveRoot, IN PFMIFSCALLBACK Callback, IN BOOLEAN FixErrors, IN BOOLEAN Verbose, IN BOOLEAN CheckOnlyIfDirty, IN BOOLEAN ScanDrive, IN PVOID pUnknown1, IN PVOID pUnknown2, IN PVOID pUnknown3, IN PVOID pUnknown4, IN PULONG ExitStatus)
Definition: cdfslib.c:32
enum _MEDIA_TYPE MEDIA_TYPE
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
#define FALSE
Definition: types.h:117
unsigned char BOOLEAN
BOOL QuickFormat
Definition: format.c:66
DWORD ClusterSize
Definition: format.c:67
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:456
BOOLEAN(NTAPI * PFMIFSCALLBACK)(IN CALLBACKCOMMAND Command, IN ULONG SubAction, IN PVOID ActionInfo)
Definition: fmifs.h:89
_In_ NTSTATUS ExitStatus
Definition: psfuncs.h:859
unsigned int * PULONG
Definition: retypes.h:1
BOOL FixErrors
Definition: chkdsk.c:69
unsigned int ULONG
Definition: retypes.h:1
#define UNIMPLEMENTED
Definition: debug.h:115
PWCHAR Label
Definition: format.c:70
BOOLEAN NTAPI CdfsFormat(IN PUNICODE_STRING DriveRoot, IN PFMIFSCALLBACK Callback, IN BOOLEAN QuickFormat, IN BOOLEAN BackwardCompatible, IN MEDIA_TYPE MediaType, IN PUNICODE_STRING Label, IN ULONG ClusterSize)
Definition: cdfslib.c:17
#define STATUS_SUCCESS
Definition: shellext.h:65