Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 20 of file cdfs.c.
Referenced by FsRecFsControl().
{ PIO_STACK_LOCATION Stack; NTSTATUS Status; PAGED_CODE(); /* Get the I/O Stack and check the function type */ Stack = IoGetCurrentIrpStackLocation(Irp); switch (Stack->MinorFunction) { case IRP_MN_MOUNT_VOLUME: /* We don't validate */ Status = STATUS_FS_DRIVER_REQUIRED; break; case IRP_MN_LOAD_FILE_SYSTEM: /* Load the file system */ Status = FsRecLoadFileSystem(DeviceObject, L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\Cdfs"); break; default: /* Invalid request */ Status = STATUS_INVALID_DEVICE_REQUEST; } /* Return Status */ return Status; }