Added experimental support for FAT and NTFS FSDs.
[reactos.git] / reactos / drivers / fs / fs_rec / fs_rec.h
index e5f3879..70dfc36 100644 (file)
@@ -1,39 +1,39 @@
 /*
-    This is a File System Recognizer for RomFs.
-    Copyright (C) 2001 Bo Brantén.
-    This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
   You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
-
-
-//
-// Registry path for the FSD and this driver
-//
-
-#define FSD_REGISTRY_PATH \
-    L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\RomFs"
-
-#define FSR_REGISTRY_PATH \
-    L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\RomFsRec"
+ *  ReactOS kernel
+ *  Copyright (C) 2002 ReactOS Team
+ *
*  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+/* $Id: fs_rec.h,v 1.2 2002/05/15 18:02:59 ekohl Exp $
+ *
+ * COPYRIGHT:        See COPYING in the top level directory
+ * PROJECT:          ReactOS kernel
+ * FILE:             services/fs/fs_rec/fs_rec.h
+ * PURPOSE:          Filesystem recognizer driver
+ * PROGRAMMER:       Eric Kohl
+ */
 
 
 /* Filesystem types (add new filesystems here)*/
+
 #define FS_TYPE_UNUSED         0
 #define FS_TYPE_VFAT           1
 #define FS_TYPE_NTFS           2
 #define FS_TYPE_CDFS           3
 
 
-
 typedef struct _DEVICE_EXTENSION
 {
   ULONG FsType;
@@ -49,6 +49,14 @@ FsRecReadSectors(IN PDEVICE_OBJECT DeviceObject,
                 IN ULONG SectorSize,
                 IN OUT PUCHAR Buffer);
 
+NTSTATUS
+FsRecDeviceIoControl(IN PDEVICE_OBJECT DeviceObject,
+                    IN ULONG ControlCode,
+                    IN PVOID InputBuffer,
+                    IN ULONG InputBufferSize,
+                    IN OUT PVOID OutputBuffer,
+                    IN OUT PULONG OutputBufferSize);
+
 
 /* cdfs.c */
 
@@ -57,17 +65,17 @@ FsRecCdfsFsControl(IN PDEVICE_OBJECT DeviceObject,
                   IN PIRP Irp);
 
 
-/* ntfs.c */
+/* fat.c */
 
 NTSTATUS
-FsRecNtfsFsControl(IN PDEVICE_OBJECT DeviceObject,
+FsRecVfatFsControl(IN PDEVICE_OBJECT DeviceObject,
                   IN PIRP Irp);
 
 
-/* vfat.c */
+/* ntfs.c */
 
 NTSTATUS
-FsRecVfatFsControl(IN PDEVICE_OBJECT DeviceObject,
+FsRecNtfsFsControl(IN PDEVICE_OBJECT DeviceObject,
                   IN PIRP Irp);
 
 /* EOF */