Enable_Local_Trapping

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.

Parameters

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