VP_STATUS VideoPortDisableInterrupt(
PVOID HwDeviceExtension | |
); |
VideoPortDisableInterrupt disables interrupts from a video adapter. As a result, interrupts coming from the device are ignored by the operating system and are not forwarded to the driver.
Parameters
HwDeviceExtension
Points to the miniport driver’s device extension.
Return Value
VideoPortDisableInterrupt returns NO_ERROR if it disabled calls to the miniport’s HwVidInterrupt function. Otherwise, it can return ERROR_INVALID_FUNCTION.
Comments
A call to VideoPortDisableInterrupt 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. After a successful call to VideoPortDisableInterrupt, interrupts from the caller’s adapter remain disabled until the miniport calls VideoPortEnableInterrupt.
The reciprocal call to VideoPortEnableInterrupt should follow the call to VideoPortDisableInterrupt.
A miniport’s HwVidInterrupt or HwVidSynchronizeExecutionCallback function can call VideoPortDisableInterrupt.
See Also
HwVidInterrupt, VIDEO_HW_INITIALIZATION_DATA, VideoPortEnableInterrupt