◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── include vmm.inc mov edx, Port ; I/O port number VMMcall Enable_Global_Trapping The Enable_Global_Trapping service enables I/O port trapping for the specified port. This applies to every virtual machine. 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 ──────────────────────────────────────────────────────────────────────────── Port Specifies the number of the I/O port for which global trapping is to be enabled. Return Value This service has no return value. Comments The system applies to current global trapping state to each new virtual machine as it is created. When the system first starts, global trapping is enabled by default. Uses Flags See Also Disable_Global_Trapping, Install_IO_Handler, Install_Mult_IO_Handlers ♦