本人刚学驱动开发。搭建完环境后开启debugView 无法检测的了信息
禁用掉驱动签名服务后,继续用工具给驱动进行签名也无效。
从其他地方看到说是要安装一个Win7x86 KB3033929补丁。
补丁安装成功后用其他工具注册的时候显示注册成功,但是DebugView能显示其他驱动的信息。
用管理员模式打开DriverMonitor
提示
1、Unable to start the support driver。
2、Local messages will not be available。
3、Remote reader thread started。
如果注册过后直接启动驱动会直接蓝屏。
下面是我的代码:
#include <ntddk.h>
VOID UnLoad(IN PDRIVER_OBJECT driver)
{
DbgPrint("Driver Unload!\r\n");
}
NTSTATUS DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
{
DbgPrint("Hello World!\r\n");
DriverObject->DriverUnload = UnLoad;
return STATUS_SUCCESS;
}