ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

pnp.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 doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.