Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Enable_Local_Trapping
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     ebx, VM         ; VM handle
mov     edx, Port       ; I/O port number
VMMcall Enable_Local_Trapping
 
The Enable_Local_Trapping service enables I/O port trapping for the
specified port. This applies to the specified virtual machine only.
 
This service must not be used unless an I/O callback procedure has been
installed for the given port using the Install_IO_Handler or
Install_Mult_IO_Handlers service during initialization.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
VM         Specifies a handle identifying the virtual machine for which to
           enable I/O trapping.
 
Port       Specifies the number of the I/O port for which trapping is
           enabled.
 
Return Value
 
This service has no return value.
 
Uses
 
Flags
 
See Also
 
Disable_Local_Trapping, Install_IO_Handler, Install_Mult_IO_Handlers