// dispmprt.h
VP_STATUS DlSetTrappedEmulatorPorts(
PVOID DeviceHandle,
ULONG NumAccessRanges,
PVIDEO_ACCESS_RANGE AccessRange
);
View the official Windows Driver Kit DDI referenceNo description available.
Dynamically change the list of I/O ports that are trapped when a video display monitor runs in full-screen mode on an x86-based machine.
DeviceHandleA handle that represents a display adapter.
NumAccessRangesSpecifies the number of elements in the AccessRange array.
AccessRangePointer to an array of VIDEO_ACCESS_RANGE elements.
This function returns VP_STATUS.