2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS File System Recognizer
4 * FILE: drivers/filesystems/fs_rec/cdfs.c
5 * PURPOSE: CDFS Recognizer
6 * PROGRAMMER: Alex Ionescu (alex.ionescu@reactos.org)
10 /* INCLUDES *****************************************************************/
17 /* FUNCTIONS ****************************************************************/
21 FsRecCdfsFsControl(IN PDEVICE_OBJECT DeviceObject
,
24 PIO_STACK_LOCATION Stack
;
28 /* Get the I/O Stack and check the function type */
29 Stack
= IoGetCurrentIrpStackLocation(Irp
);
30 switch (Stack
->MinorFunction
)
32 case IRP_MN_MOUNT_VOLUME
:
34 /* We don't validate */
35 Status
= STATUS_FS_DRIVER_REQUIRED
;
38 case IRP_MN_LOAD_FILE_SYSTEM
:
40 /* Load the file system */
41 Status
= FsRecLoadFileSystem(DeviceObject
,
42 L
"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\Cdfs");
48 Status
= STATUS_INVALID_DEVICE_REQUEST
;