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.
Install_Mult_IO_Handlers
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     edi, OFFSET32 IOTable   ; points to an I/O table
VMMcall Install_Mult_IO_Handlers
 
jnc     installed               ; carry clear if all procedures installed
mov     [BadPort], edx          ; I/O port number that failed
 
The Install_Mult_IO_Handlers service installs I/O callback procedures for
one or more I/O ports.
 
This service is only available during initialization.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
IOTable    Points to an I/O table created using the Begin_Vxd_IO_Table,
           End_Vxd_IO_Table, and Vxd_IO macros. See the Comments section for
           more information about the table.
 
Return Value
 
The carry flag is clear if all callback procedures are installed for the
specified ports. If the carry flag is set, the EDX register contains the
number of the I/O port for which the procedure could not be installed.
 
Comments
 
This service repeatedly calls the Install_IO_Handler service until all
entries in the specified I/O table have been installed.
 
A virtual device can create an I/O table using the Begin_Vxd_IO_Table,
End_Vxd_IO_Table, and Vxd_IO macros. The following example shows a table
containing three entries for ports 30, 31, and 32:
 
Begin_Vxd_IO_Table  My_IO_Table
Vxd_IO              30,IO_Handler_1
Vxd_IO              31,IO_Handler_2
Vxd_IO              32,IO_Handler_1
End_Vxd_IO_Table    My_IO_Table
 
Uses
 
Flags
 
See Also
 
Begin_Vxd_IO_Table, End_Vxd_IO_Table, Install_IO_Handler, Vxd_IO