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 *****************************************************************/
16 /* FUNCTIONS ****************************************************************/
20 FsRecCdfsFsControl(IN PDEVICE_OBJECT DeviceObject
,
23 PIO_STACK_LOCATION Stack
;
27 /* Get the I/O Stack and check the function type */
28 Stack
= IoGetCurrentIrpStackLocation(Irp
);
29 switch (Stack
->MinorFunction
)
31 case IRP_MN_MOUNT_VOLUME
:
33 /* We don't validate */
34 Status
= STATUS_FS_DRIVER_REQUIRED
;
37 case IRP_MN_LOAD_FILE_SYSTEM
:
39 /* Load the file system */
40 Status
= FsRecLoadFileSystem(DeviceObject
,
41 L
"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\Cdfs");
47 Status
= STATUS_INVALID_DEVICE_REQUEST
;