VP_STATUS VideoPortEnableInterrupt(
PVOID HwDeviceExtension | |
); |
VideoPortEnableInterrupt re-enables interrupts from a video adapter after a call to VideoPortDisableInterrupt.
VideoPortEnableInterrupt returns NO_ERROR if it re-enabled calls to the miniport’s HwVidInterrupt function. Otherwise, it can return ERROR_INVALID_FUNCTION.
A call to VideoPortEnableInterrupt is valid only if the interrupt is defined, thereby providing the appropriate data at initialization time to set up the interrupt and the entry point of the miniport’s HwVidInterrupt function.
Even if the caller has set up a HwVidInterrupt function, a call to VideoPortEnableInterrupt is valid only following a preceding call to VideoPortDisableInterrupt.
A miniport’s HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortEnableInterrupt.
HwVidInterrupt, VIDEO_HW_INITIALIZATION_DATA, VideoPortDisableInterrupt