Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenpnp.c
Go to the documentation of this file.
00001 /* 00002 * COPYRIGHT: See COPYING in the top level directory 00003 * PROJECT: ReactOS kernel 00004 * FILE: drivers/filesystems/fastfat/pnp.c 00005 * PURPOSE: VFAT Filesystem 00006 * PROGRAMMER: Pierre Schweitzer 00007 * 00008 */ 00009 00010 /* INCLUDES *****************************************************************/ 00011 00012 #define NDEBUG 00013 #include "vfat.h" 00014 00015 /* FUNCTIONS ****************************************************************/ 00016 00017 NTSTATUS VfatPnp(PVFAT_IRP_CONTEXT IrpContext) 00018 { 00019 PVCB Vcb = NULL; 00020 NTSTATUS Status; 00021 00022 /* PRECONDITION */ 00023 ASSERT(IrpContext); 00024 00025 switch (IrpContext->Stack->MinorFunction) 00026 { 00027 case IRP_MN_QUERY_REMOVE_DEVICE: 00028 case IRP_MN_SURPRISE_REMOVAL: 00029 case IRP_MN_REMOVE_DEVICE: 00030 case IRP_MN_CANCEL_REMOVE_DEVICE: 00031 Status = STATUS_NOT_IMPLEMENTED; 00032 IrpContext->Irp->IoStatus.Status = Status; 00033 IoCompleteRequest(IrpContext->Irp, IO_NO_INCREMENT); 00034 break; 00035 default: 00036 IoSkipCurrentIrpStackLocation(IrpContext->Irp); 00037 Vcb = (PVCB)IrpContext->Stack->DeviceObject->DeviceExtension; 00038 Status = IoCallDriver(Vcb->StorageDevice, IrpContext->Irp); 00039 } 00040 00041 VfatFreeIrpContext(IrpContext); 00042 00043 return Status; 00044 } Generated on Sat May 26 2012 04:16:33 for ReactOS by
1.7.6.1
|