ReactOS  0.4.15-dev-1397-g19779b3
ffslib.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS FFS library
4  * FILE: lib/fslib/ffslib/ffslib.c
5  * PURPOSE: FFS lib
6  * PROGRAMMERS: Pierre Schweitzer
7  */
8 
9 #define NTOS_MODE_USER
10 #include <ndk/umtypes.h>
11 #include <fmifs/fmifs.h>
12 
13 #define NDEBUG
14 #include <debug.h>
15 
16 BOOLEAN
17 NTAPI
19  IN PUNICODE_STRING DriveRoot,
22  IN BOOLEAN BackwardCompatible,
23  IN MEDIA_TYPE MediaType,
26 {
28  return TRUE;
29 }
30 
31 BOOLEAN
32 NTAPI
34  IN PUNICODE_STRING DriveRoot,
38  IN BOOLEAN CheckOnlyIfDirty,
39  IN BOOLEAN ScanDrive,
40  IN PVOID pUnknown1,
41  IN PVOID pUnknown2,
42  IN PVOID pUnknown3,
43  IN PVOID pUnknown4,
45 {
48  return TRUE;
49 }
#define IN
Definition: typedefs.h:39
BOOL Verbose
Definition: chkdsk.c:72
#define TRUE
Definition: types.h:120
enum _MEDIA_TYPE MEDIA_TYPE
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
DWORD ClusterSize
Definition: format.c:67
BOOLEAN NTAPI FfsFormat(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: ffslib.c:18
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:456
BOOLEAN NTAPI FfsChkdsk(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: ffslib.c:33
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
#define STATUS_SUCCESS
Definition: shellext.h:65