◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── include vmm.inc mov eax, Interrupt ; interrupt number VMMcall Get_Fault_Hook_Addrs The Get_Fault_Hook_Addrs service returns addresses of the V86 mode, protected-mode, and VMM fault handlers for a specified fault. Parameter Description ──────────────────────────────────────────────────────────────────────────── Interrupt Specifies the interrupt number of the fault to check. Return Value If the carry flag is clear, the EDX, ESI, and EDI registers contain the addresses described in the following list. Otherwise, the carry flag is set to indicate an error such as an invalid interrupt number. Register Description ──────────────────────────────────────────────────────────────────────────── EDX Contains the address of the fault handler installed by a V86 mode application. This register contains zero if no handler has been installed. ESI Contains the address of the fault handler installed by a protected-mode application. This register contains zero if no handler has been installed. EDI Contains the address of a fault handle installed by the VMM. This register contains zero if no handler has been installed. Comments A virtual device cannot get the hook address for the Non-Maskable Interrupt (Interrupt 2). It must use the Get_NMI_Handler_Addr and Set_NMI_Handler_Addr services to hook Interrupt 2. Uses Flags See Also Get_NMI_Handler_Addr, Set_NMI_Handler_Addr ♦