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 FspFsvolLockControl;
static NTSTATUS FspFsvolLockControl(
PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpSp);
DRIVER_DISPATCH FspLockControl;
#ifdef ALLOC_PRAGMA
@ -14,11 +15,8 @@ DRIVER_DISPATCH FspLockControl;
#pragma alloc_text(PAGE, FspLockControl)
#endif
static
NTSTATUS
FspFsvolLockControl(
_In_ PDEVICE_OBJECT DeviceObject,
_In_ PIRP Irp)
static NTSTATUS FspFsvolLockControl(
PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpSp)
{
return STATUS_INVALID_DEVICE_REQUEST;
}
@ -35,7 +33,7 @@ FspLockControl(
switch (FspDeviceExtension(DeviceObject)->Kind)
{
case FspFsvolDeviceExtensionKind:
FSP_RETURN(Result = FspFsvolLockControl(DeviceObject, Irp));
FSP_RETURN(Result = FspFsvolLockControl(DeviceObject, Irp, IrpSp));
default:
FSP_RETURN(Result = STATUS_INVALID_DEVICE_REQUEST);
}