mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
14c3936251
Adapt some comments to new name. CORE-16373
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS kernel
|
|
* FILE: drivers/filesystems/vfatfs/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;
|
|
}
|