其他分享
首页 > 其他分享> > 驱动入门hello代码框架

驱动入门hello代码框架

作者:互联网

#include <ntddk.h>

NTSTATUS	Unload(PDRIVER_OBJECT driver)
{
	DbgPrint("unload driver");
	return STATUS_SUCCESS;
}
NTSTATUS	DriverEntry(PDRIVER_OBJECT	driver, PUNICODE_STRING	RegPath)
{
	DbgPrint("Driver Entry");
	driver->DriverUnload = Unload;
	return STATUS_SUCCESS;
}

标签:STATUS,DbgPrint,入门,框架,OBJECT,driver,PDRIVER,NTSTATUS,hello
来源: https://blog.csdn.net/CosmopolitanMe/article/details/101381862