阅读:875回复:0
E/S error是什么错误?
用IoBuildDeviceIoControlRequest来创建一个IRP
status = IoCallDriver(DeviceObject, irp); if (status == STATUS_PENDING) { waitStatus = KeWaitForSingleObject(&event, Executive, KernelMode, FALSE, NULL); if (waitStatus != STATUS_SUCCESS ) dprintf("HookDrv.sys: 等待IP驱动返回时错误."); } status = ioStatus.Status; if(!NT_SUCCESS(status)) dprintf("HookDrv.sys: E/S error with Ip Driver\n"); |
|