include vmm.inc mov eax, PageNum mov esi, TrapProc VMMCall Unhook_V86_Page jc error
Allows VxDs to stop intercepting page faults in portions of the V86 address space of every virtual machine. It is used to undo the work of the Hook_V86_Page service. Uses Flags.
You must specify a page number and address of a call-back routine to this service. If the given page is currently hooked with the specified call-back routine, the hook will be removed. Otherwise, the carry flag will be set on return to indicate error.
After being unhooked the page will be mapped to a null page.
PageNum
Page number (Last_VM_Page - 10Fh) to unhook.
TrapProc
Address of callback procedure.
See also Hook_V86_Page