* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: services/fs/fs_rec/blockdev.c
/* INCLUDES *****************************************************************/
-#include <ddk/ntddk.h>
-
#define NDEBUG
#include <debug.h>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: services/fs/fs_rec/cdfs.c
/* INCLUDES *****************************************************************/
-#include <ntifs.h>
-#include <ntdddisk.h>
-#include <ntddcdrm.h>
-
#define NDEBUG
#include <debug.h>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: drivers/fs/fs_rec/vfat.c
/* INCLUDES *****************************************************************/
-#include <ntifs.h>
-#include <ntdddisk.h>
-
#define NDEBUG
#include <debug.h>
DISK_GEOMETRY DiskGeometry;
ULONG Size;
struct _BootSector* Boot;
- BOOL RecognizedFS = FALSE;
+ BOOLEAN RecognizedFS = FALSE;
Size = sizeof(DISK_GEOMETRY);
Status = FsRecDeviceIoControl(DeviceObject,
}
else if (DiskGeometry.MediaType == RemovableMedia &&
PartitionInfo.PartitionNumber > 0 &&
- PartitionInfo.StartingOffset.QuadPart == 0LL &&
- PartitionInfo.PartitionLength.QuadPart > 0LL)
+ PartitionInfo.StartingOffset.QuadPart == 0 &&
+ PartitionInfo.PartitionLength.QuadPart > 0)
{
/* This is possible a removable media formated as super floppy */
RecognizedFS = TRUE;
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: drivers/fs/fs_rec/fs_rec.c
/* INCLUDES *****************************************************************/
-#include <ntifs.h>
-
#define NDEBUG
#include <debug.h>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: drivers/fs/fs_rec/fs_rec.h
* PROGRAMMER: Eric Kohl
*/
+#include <ntifs.h>
+#include <ntdddisk.h>
+#include <ntddcdrm.h>
+
+#ifdef _MSC_VER
+#define STDCALL
+#endif
/* Filesystem types (add new filesystems here)*/
ULONG FsType;
} DEVICE_EXTENSION, *PDEVICE_EXTENSION;
+#include <pshpack1.h>
struct _BootSector
{
unsigned char magic0, res0, magic1;
unsigned char VolumeLabel[11], SysType[8];
unsigned char Res2[448];
unsigned short Signatur1;
-} __attribute__((packed));
+};
+#include <poppack.h>
/* blockdev.c */
-/* $Id$ */
-
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "Filesystem recognizer driver\0"
#define REACTOS_STR_INTERNAL_NAME "fs_rec\0"
<module name="fs_rec" type="kernelmodedriver" installbase="system32/drivers" installname="fs_rec.sys">
<include base="fs_rec">.</include>
- <define name="__USE_W32API" />
+ <define name="__USE_W32API" />
<library>ntoskrnl</library>
<library>hal</library>
<file>blockdev.c</file>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: drivers/fs/fs_rec/ntfs.c
/* INCLUDES *****************************************************************/
-#include <ntifs.h>
-#include <ntdddisk.h>
-
#define NDEBUG
#include <debug.h>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id$
- *
+/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* FILE: drivers/fs/fs_rec/udfs.c
/* INCLUDES *****************************************************************/
-#include <ntifs.h>
-#include <ntdddisk.h>
-#include <ntddcdrm.h>
-
#define NDEBUG
#include <debug.h>