feat add protect list
This commit is contained in:
@@ -50,8 +50,14 @@ auto io_ctl::dispatch_device_io(PDEVICE_OBJECT devcie_object, PIRP irp) -> NTSTA
|
||||
{
|
||||
UNREFERENCED_PARAMETER(devcie_object);
|
||||
NTSTATUS status{ 0 };
|
||||
/*auto stack = IoGetCurrentIrpStackLocation(irp);
|
||||
switch (stack->Parameters.DeviceIoControl.IoControlCode)
|
||||
{
|
||||
|
||||
|
||||
default:
|
||||
break;
|
||||
}*/
|
||||
|
||||
irp->IoStatus.Information = 0;
|
||||
irp->IoStatus.Status = status;
|
||||
|
||||
Reference in New Issue
Block a user