VideoPortEnableInterrupt

VP_STATUS VideoPortEnableInterrupt(

    PVOID  HwDeviceExtension

   );

VideoPortEnableInterrupt re-enables interrupts from a video adapter after a call to VideoPortDisableInterrupt.

Parameters

HwDeviceExtension
Points to the miniport driver’s device extension.

Return Value

VideoPortEnableInterrupt returns NO_ERROR if it re-enabled calls to the miniport’s HwVidInterrupt function. Otherwise, it can return ERROR_INVALID_FUNCTION.

Comments

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.

See Also

HwVidInterrupt, VIDEO_HW_INITIALIZATION_DATA, VideoPortDisableInterrupt