// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API VP_STATUS VideoPortEnableInterrupt(
PVOID HwDeviceExtension
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortEnableInterrupt function is obsolete and should not be called.
The VideoPortEnableInterrupt function reenables interrupts from a video adapter after a call to VideoPortDisableInterrupt.
HwDeviceExtensionPointer to the miniport driver's device extension.
If VideoPortEnableInterrupt succeeds, it returns NO_ERROR. Otherwise, it returns ERROR_INVALID_FUNCTION.
If you need to disable interrupts for the display adapter, write hardware-specific code to prevent the display adapter from generating interrupts. To subsequently enable interrupts, write hardware-specific code to allow the display adapter to resume generating interrupts.
You should not call VideoPortDisableInterrupt or VideoPortEnableInterrupt for the following reasons:
If the video miniport driver has not registered an HwVidInterrupt routine for the display adapter, VideoPortEnableInterrupt returns ERROR_INVALID_FUNCTION.
HwVidSynchronizeExecutionCallback