📄 read.c
字号:
#include "Driver.h"
#ifdef ALLOC_PRAGMA
#pragma alloc_text (PAGE, DispatchRead)
#endif
/*************************************************************************************************/
NTSTATUS DispatchRead(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
{
PFDO_DATA deviceExtension = (PFDO_DATA)DeviceObject->DeviceExtension;
// Insert IRP in our read queue. The IRQ handling routines will remove it from the queue.
IoCsqInsertIrp(&deviceExtension->CSReadQueue, Irp, NULL);
return STATUS_PENDING;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -