Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Get_NMI_Handler_Addr
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Get_NMI_Handler_Addr
 
mov     [NMI], esi          ; offset to current NMI handler
 
The Get_NMI_Handler_Addr service returns the address of the current
Non-Maskable Interrupt (NMI) handler.
 
This service has no parameters.
 
Return Value
 
The ESI register contains the offset of current NMI handler.
 
Comments
 
If a virtual device needs to hook the Non-Maskable Interrupt it must first
call this service to get and save the original NMI handler address. The
virtual can then install the new NMI handler my using the
Set_NMI_Handler_Addr service. The new handler should create an NMI handler
chain by passing execution to the original NMI handler whenever it does not
process the NMI.
 
Uses
 
ESI, Flags
 
See Also
 
Set_NMI_Handler_Addr