.386
;**************************************************************************************************
.model flat, stdcall
option casemap:none
include F:\我的程序\RadASM\masm32\include\w2k\ntstatus.inc
include F:\我的程序\RadASM\masm32\include\w2k\ntddk.inc
include F:\我的程序\RadASM\masm32\include\w2k\ntoskrnl.inc
includelib F:\我的程序\RadASM\masm32\lib\w2k\ntoskrnl.lib
;include F:\我的程序\RadASM\masm32\Macros\Strings.mac
;**************************************************************************************************
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
.code
DriverEntry proc pDriverObject:PDRIVER_OBJECT, pusRegistryPath:PUNICODE_STRING
mov al,0ADh ;改成0FEh 却可以正常重置可是。换成这个0ADh却启动失败
out 064h,al
mov eax, STATUS_DEVICE_CONFIGURATION_ERROR
ret
DriverEntry endp
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
end DriverEntry