This commit is contained in:
Bill Zissimopoulos
2015-11-22 12:23:41 -08:00
parent ccf76a23c7
commit 80d6afc7b6
15 changed files with 121 additions and 169 deletions

View File

@ -6,7 +6,8 @@
#include <sys/driver.h>
static DRIVER_DISPATCH FspFsvolShutdown;
static NTSTATUS FspFsvolShutdown(
PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpSp);
DRIVER_DISPATCH FspShutdown;
#ifdef ALLOC_PRAGMA
@ -14,11 +15,8 @@ DRIVER_DISPATCH FspShutdown;
#pragma alloc_text(PAGE, FspShutdown)
#endif
static
NTSTATUS
FspFsvolShutdown(
_In_ PDEVICE_OBJECT DeviceObject,
_In_ PIRP Irp)
static NTSTATUS FspFsvolShutdown(
PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpSp)
{
return STATUS_INVALID_DEVICE_REQUEST;
}
@ -35,7 +33,7 @@ FspShutdown(
switch (FspDeviceExtension(DeviceObject)->Kind)
{
case FspFsvolDeviceExtensionKind:
FSP_RETURN(Result = FspFsvolShutdown(DeviceObject, Irp));
FSP_RETURN(Result = FspFsvolShutdown(DeviceObject, Irp, IrpSp));
default:
FSP_RETURN(Result = STATUS_INVALID_DEVICE_REQUEST);
}