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 *****************************************************************/
17 /* FUNCTIONS ****************************************************************/
21 PVFAT_IRP_CONTEXT IrpContext
)
29 switch (IrpContext
->Stack
->MinorFunction
)
31 case IRP_MN_QUERY_REMOVE_DEVICE
:
32 case IRP_MN_SURPRISE_REMOVAL
:
33 case IRP_MN_REMOVE_DEVICE
:
34 case IRP_MN_CANCEL_REMOVE_DEVICE
:
35 Status
= STATUS_NOT_IMPLEMENTED
;
36 IrpContext
->Irp
->IoStatus
.Status
= Status
;
37 IoCompleteRequest(IrpContext
->Irp
, IO_NO_INCREMENT
);
41 IoSkipCurrentIrpStackLocation(IrpContext
->Irp
);
42 Vcb
= (PVCB
)IrpContext
->Stack
->DeviceObject
->DeviceExtension
;
43 Status
= IoCallDriver(Vcb
->StorageDevice
, IrpContext
->Irp
);
46 VfatFreeIrpContext(IrpContext
);