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_PM_Int_Vector
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     eax, Interrupt      ; number of interrupt to check
VMMcall Get_PM_Int_Vector
 
mov     [Segment], cx       ; segment selector for interrupt routine
mov     [Offset], edx       ; offset to interrupt routine
 
The Get_PM_Int_Vector service returns the address of the interrupt routine
for the specified protected-mode interrupt in the current virtual machine.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
Interrupt  Specifies the number of the interrupt to check.
 
Return Value
 
The CX register contains the segment selector of the interrupt routine, and
the EDX register contains the offset of the interrupt routine. If the code
segment is a 16-bit segment, the high word of the EDX register is zero.
 
The zero flag is set if the interrupt address points to the default
interrupt handler; the flag is clear if a virtual device has hooked the
interrupt.
 
Comments
 
The system maintains a protected-mode interrupt vector table for each
virtual machine. By default, each table entry points to a protected-mode
breakpoint procedure that reflects the interrupt to V86 mode.
 
Uses
 
ECX, EDX, Flags
 
See Also
 
Get_PM_Int_Type, Set_PM_Int_Vector