Does KeBugCheck only work in a driver ?

Andy

[code]
start:

xor     eax,eax
or      esi, 300h
add     eax, 220h
nop

cmp     [eax], esi
pop     esi
pop     ebx
jnz     short done
xor     ecx, ecx
push    ecx             ; BugCheckParameter4
push    ecx             ; BugCheckParameter3
push    ecx             ; BugCheckParameter2
push    ecx             ; BugCheckParameter1
push    0E2h            ; BugCheckCode MANUALLY_INITIATED_CRASH
mov     [eax], ecx
call    KeBugCheckEx    ;ds:__imp__KeBugCheckEx@20

[/code]

We have no idea what context this is in, nor do we have any specific details related to the fucntion 'KeBugCheckEx'. Thus, we cannot provide any assistance until you rectify the situation.

IIM,

I found out it only works in a driver file.

Andy

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.