/** * @file sys/shutdown.c * * @copyright 2015 Bill Zissimopoulos */ #include DRIVER_DISPATCH FspShutdown; #ifdef ALLOC_PRAGMA #pragma alloc_text(PAGE, FspShutdown) #endif NTSTATUS FspShutdown( _In_ PDEVICE_OBJECT DeviceObject, _In_ PIRP Irp) { FSP_ENTER_MJ(PAGED_CODE()); ASSERT(IRP_MJ_SHUTDOWN == IrpSp->MajorFunction); Result = STATUS_INVALID_DEVICE_REQUEST; FSP_LEAVE_MJ("", 0); }