Unhook_V86_Fault

include vmm.inc

mov     eax, FaultNo
mov     esi, OFFSET32 Hook_Proc
VMMCall Unhook_V86_Fault
jc      Error_Handler
 

Removes the hook procedure for the specified virtual 8086-mode fault. Uses flags.

FaultNo
Specifies the fault number.
Hook_Proc
Address of the hook procedure to be removed.

The specified hook procedure must have been declared using the BeginProc macro with the HOOK_PROC attribute in order to generate the necessary header.

See Also

BeginProc