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