mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:55:44 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
46
drivers/filesystems/fastfat/pnp.c
Normal file
46
drivers/filesystems/fastfat/pnp.c
Normal file
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: drivers/filesystems/fastfat/pnp.c
|
||||
* PURPOSE: VFAT Filesystem
|
||||
* PROGRAMMER: Pierre Schweitzer
|
||||
*
|
||||
*/
|
||||
|
||||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include "vfat.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
NTSTATUS
|
||||
VfatPnp(
|
||||
PVFAT_IRP_CONTEXT IrpContext)
|
||||
{
|
||||
PVCB Vcb = NULL;
|
||||
NTSTATUS Status;
|
||||
|
||||
/* PRECONDITION */
|
||||
ASSERT(IrpContext);
|
||||
|
||||
switch (IrpContext->Stack->MinorFunction)
|
||||
{
|
||||
case IRP_MN_QUERY_REMOVE_DEVICE:
|
||||
case IRP_MN_SURPRISE_REMOVAL:
|
||||
case IRP_MN_REMOVE_DEVICE:
|
||||
case IRP_MN_CANCEL_REMOVE_DEVICE:
|
||||
Status = STATUS_NOT_IMPLEMENTED;
|
||||
break;
|
||||
|
||||
default:
|
||||
IoSkipCurrentIrpStackLocation(IrpContext->Irp);
|
||||
Vcb = (PVCB)IrpContext->Stack->DeviceObject->DeviceExtension;
|
||||
IrpContext->Flags &= ~IRPCONTEXT_COMPLETE;
|
||||
Status = IoCallDriver(Vcb->StorageDevice, IrpContext->Irp);
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue