Author: hpoussin
Date: Mon Feb 11 19:50:10 2008
New Revision: 32298
URL:
http://svn.reactos.org/svn/reactos?rev=32298&view=rev
Log:
Add Ext2Chkdsk() method (unimplemented at the moment)
Modified:
trunk/reactos/include/reactos/libs/fslib/ext2lib.h
trunk/reactos/lib/fslib/ext2lib/Mke2fs.c
Modified: trunk/reactos/include/reactos/libs/fslib/ext2lib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/fslib…
==============================================================================
--- trunk/reactos/include/reactos/libs/fslib/ext2lib.h (original)
+++ trunk/reactos/include/reactos/libs/fslib/ext2lib.h Mon Feb 11 19:50:10 2008
@@ -7,20 +7,24 @@
#ifndef __EXT2LIB_H
#define __EXT2LIB_H
-#include <fmifs.h>
+#include <fmifs/fmifs.h>
-NTSTATUS
-Ext2Initialize (VOID);
+NTSTATUS NTAPI
+Ext2Chkdsk(
+ IN PUNICODE_STRING DriveRoot,
+ IN BOOLEAN FixErrors,
+ IN BOOLEAN Verbose,
+ IN BOOLEAN CheckOnlyIfDirty,
+ IN BOOLEAN ScanDrive,
+ IN PFMIFSCALLBACK Callback);
-NTSTATUS
-Ext2Cleanup (VOID);
-
-NTSTATUS
-Ext2Format (PUNICODE_STRING DriveRoot,
- ULONG MediaFlag,
- PUNICODE_STRING Label,
- BOOLEAN QuickFormat,
- ULONG ClusterSize,
- PFMIFSCALLBACK Callback);
+NTSTATUS NTAPI
+Ext2Format(
+ IN PUNICODE_STRING DriveRoot,
+ IN FMIFS_MEDIA_FLAG MediaFlag,
+ IN PUNICODE_STRING Label,
+ IN BOOLEAN QuickFormat,
+ IN ULONG ClusterSize,
+ IN PFMIFSCALLBACK Callback);
#endif /*__EXT2LIB_H */
Modified: trunk/reactos/lib/fslib/ext2lib/Mke2fs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/ext2lib/Mke2fs.c…
==============================================================================
--- trunk/reactos/lib/fslib/ext2lib/Mke2fs.c (original)
+++ trunk/reactos/lib/fslib/ext2lib/Mke2fs.c Mon Feb 11 19:50:10 2008
@@ -796,13 +796,14 @@
}
-NTSTATUS
-Ext2Format(PUNICODE_STRING DriveRoot,
- ULONG MediaFlag,
- PUNICODE_STRING Label,
- BOOLEAN QuickFormat,
- ULONG ClusterSize,
- PFMIFSCALLBACK Callback)
+NTSTATUS NTAPI
+Ext2Format(
+ IN PUNICODE_STRING DriveRoot,
+ IN FMIFS_MEDIA_FLAG MediaFlag,
+ IN PUNICODE_STRING Label,
+ IN BOOLEAN QuickFormat,
+ IN ULONG ClusterSize,
+ IN PFMIFSCALLBACK Callback)
{
BOOLEAN bRet = FALSE;
NTSTATUS Status = STATUS_UNSUCCESSFUL;
@@ -1008,3 +1009,16 @@
return Status;
}
+
+NTSTATUS WINAPI
+Ext2Chkdsk(
+ IN PUNICODE_STRING DriveRoot,
+ IN BOOLEAN FixErrors,
+ IN BOOLEAN Verbose,
+ IN BOOLEAN CheckOnlyIfDirty,
+ IN BOOLEAN ScanDrive,
+ IN PFMIFSCALLBACK Callback)
+{
+ UNIMPLEMENTED;
+ return STATUS_SUCCESS;
+}