2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: drivers/filesystems/fastfat/pnp.c
5 * PURPOSE: VFAT Filesystem
6 * PROGRAMMER: Pierre Schweitzer
10 /* INCLUDES *****************************************************************/
15 /* FUNCTIONS ****************************************************************/
17 NTSTATUS
VfatPnp(PVFAT_IRP_CONTEXT IrpContext
)
25 switch (IrpContext
->Stack
->MinorFunction
)
27 case IRP_MN_QUERY_REMOVE_DEVICE
:
28 case IRP_MN_SURPRISE_REMOVAL
:
29 case IRP_MN_REMOVE_DEVICE
:
30 case IRP_MN_CANCEL_REMOVE_DEVICE
:
31 Status
= STATUS_NOT_IMPLEMENTED
;
32 IrpContext
->Irp
->IoStatus
.Status
= Status
;
33 IoCompleteRequest(IrpContext
->Irp
, IO_NO_INCREMENT
);
36 IoSkipCurrentIrpStackLocation(IrpContext
->Irp
);
37 Vcb
= (PVCB
)IrpContext
->Stack
->DeviceObject
->DeviceExtension
;
38 Status
= IoCallDriver(Vcb
->StorageDevice
, IrpContext
->Irp
);
41 VfatFreeIrpContext(IrpContext
);