wdmdefault.c
来自「根据Windows驱动程序模型(WDM)设计的驱动程序:WDM通过提供一种灵活的」· C语言 代码 · 共 20 行
C
20 行
/*************************************************************************
/* This is the implementation file for all common reference
/* to CompleteRequest API, which is responsible for IRP
/* completion.
/*************************************************************************/
#include <wdm.h>
#include "WDMDefault.h"
NTSTATUS CompleteRequest(
IN PIRP Irp,
IN NTSTATUS status,
IN ULONG_PTR info)
{
Irp->IoStatus.Status = status;
Irp->IoStatus.Information = info;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
return status;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?