- Use correct bug code when crashing due to closing a protected handle

- Add INVALID_KERNEL_HANDLE bug code

svn path=/trunk/; revision=35521
This commit is contained in:
Stefan Ginsberg 2008-08-22 00:26:52 +00:00
parent b9a32878e1
commit 81af67a6fe
2 changed files with 9 additions and 1 deletions

View file

@ -1097,6 +1097,14 @@ Language=English
PP1_INITIALIZATION_FAILED PP1_INITIALIZATION_FAILED
. .
MessageId=0x93
Severity=Success
Facility=System
SymbolicName=INVALID_KERNEL_HANDLE
Language=English
INVALID_KERNEL_HANDLE
.
MessageId=0x94 MessageId=0x94
Severity=Success Severity=Success
Facility=System Facility=System

View file

@ -697,7 +697,7 @@ ObpCloseHandleTableEntry(IN PHANDLE_TABLE HandleTable,
else else
{ {
/* Otherwise, bugcheck the OS */ /* Otherwise, bugcheck the OS */
KeBugCheckEx(0x8B, (ULONG_PTR)Handle, 0, 0, 0); KeBugCheckEx(INVALID_KERNEL_HANDLE, (ULONG_PTR)Handle, 0, 0, 0);
} }
} }