VideoPortDisableInterrupt - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

VIDEOPORT_DEPRECATED VIDEOPORT_API VP_STATUS VideoPortDisableInterrupt(
  PVOID HwDeviceExtension
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportdisableinterrupt)

VideoPortDisableInterrupt function

Description

The VideoPortDisableInterrupt function is obsolete and should not be called.

The VideoPortDisableInterrupt function 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

Pointer to the miniport driver's device extension.

Return value

If VideoPortDisableInterrupt succeeds, it returns NO_ERROR. Otherwise, it returns ERROR_INVALID_FUNCTION.

Remarks

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, VideoPortDisableInterrupt returns ERROR_INVALID_FUNCTION.

See also

HwVidInterrupt

HwVidSynchronizeExecutionCallback

VIDEO_HW_INITIALIZATION_DATA

VideoPortEnableInterrupt