xref: /reactos/sdk/lib/fslib/ntfslib/ntfslib.c (revision 8d3e80e4)
1c2c66affSColin Finck /*
2c2c66affSColin Finck  * COPYRIGHT:   See COPYING in the top level directory
3c2c66affSColin Finck  * PROJECT:     ReactOS NTFS FS library
4c2c66affSColin Finck  * FILE:        lib/fslib/ntfslib/ntfslib.c
5c2c66affSColin Finck  * PURPOSE:     NTFS lib
6c2c66affSColin Finck  * PROGRAMMERS: Pierre Schweitzer
7c2c66affSColin Finck  */
8*8d3e80e4SHermès Bélusca-Maïto 
9*8d3e80e4SHermès Bélusca-Maïto #define NTOS_MODE_USER
10*8d3e80e4SHermès Bélusca-Maïto #include <ndk/umtypes.h>
11*8d3e80e4SHermès Bélusca-Maïto #include <fmifs/fmifs.h>
12c2c66affSColin Finck 
13c2c66affSColin Finck #define NDEBUG
14c2c66affSColin Finck #include <debug.h>
15c2c66affSColin Finck 
16*8d3e80e4SHermès Bélusca-Maïto BOOLEAN
17*8d3e80e4SHermès Bélusca-Maïto NTAPI
NtfsFormat(IN PUNICODE_STRING DriveRoot,IN PFMIFSCALLBACK Callback,IN BOOLEAN QuickFormat,IN BOOLEAN BackwardCompatible,IN MEDIA_TYPE MediaType,IN PUNICODE_STRING Label,IN ULONG ClusterSize)18*8d3e80e4SHermès Bélusca-Maïto NtfsFormat(
19*8d3e80e4SHermès Bélusca-Maïto     IN PUNICODE_STRING DriveRoot,
20*8d3e80e4SHermès Bélusca-Maïto     IN PFMIFSCALLBACK Callback,
21c2c66affSColin Finck     IN BOOLEAN QuickFormat,
22*8d3e80e4SHermès Bélusca-Maïto     IN BOOLEAN BackwardCompatible,
23*8d3e80e4SHermès Bélusca-Maïto     IN MEDIA_TYPE MediaType,
24*8d3e80e4SHermès Bélusca-Maïto     IN PUNICODE_STRING Label,
25*8d3e80e4SHermès Bélusca-Maïto     IN ULONG ClusterSize)
26c2c66affSColin Finck {
27c2c66affSColin Finck     UNIMPLEMENTED;
28*8d3e80e4SHermès Bélusca-Maïto     return TRUE;
29c2c66affSColin Finck }
30c2c66affSColin Finck 
31*8d3e80e4SHermès Bélusca-Maïto BOOLEAN
32*8d3e80e4SHermès Bélusca-Maïto NTAPI
NtfsChkdsk(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)33*8d3e80e4SHermès Bélusca-Maïto NtfsChkdsk(
34*8d3e80e4SHermès Bélusca-Maïto     IN PUNICODE_STRING DriveRoot,
35*8d3e80e4SHermès Bélusca-Maïto     IN PFMIFSCALLBACK Callback,
36c2c66affSColin Finck     IN BOOLEAN FixErrors,
37c2c66affSColin Finck     IN BOOLEAN Verbose,
38c2c66affSColin Finck     IN BOOLEAN CheckOnlyIfDirty,
39c2c66affSColin Finck     IN BOOLEAN ScanDrive,
40*8d3e80e4SHermès Bélusca-Maïto     IN PVOID pUnknown1,
41*8d3e80e4SHermès Bélusca-Maïto     IN PVOID pUnknown2,
42*8d3e80e4SHermès Bélusca-Maïto     IN PVOID pUnknown3,
43*8d3e80e4SHermès Bélusca-Maïto     IN PVOID pUnknown4,
44*8d3e80e4SHermès Bélusca-Maïto     IN PULONG ExitStatus)
45c2c66affSColin Finck {
46c2c66affSColin Finck     UNIMPLEMENTED;
47*8d3e80e4SHermès Bélusca-Maïto     *ExitStatus = (ULONG)STATUS_SUCCESS;
48*8d3e80e4SHermès Bélusca-Maïto     return TRUE;
49c2c66affSColin Finck }
50