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.
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