UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:video.VideoPortDisableInterrupt |
VideoPortDisableInterrupt function (video.h) |
The VideoPortDisableInterrupt function is obsolete and should not be called.The VideoPortDisableInterrupt function disables interrupts from a video adapter. |
display\videoportdisableinterrupt.htm |
display |
05/10/2018 |
|
VideoPortDisableInterrupt, VideoPortDisableInterrupt function [Display Devices], VideoPort_Functions_b01a5ae8-7e44-4ac8-9e11-ee266f34a4da.xml, display.videoportdisableinterrupt, video/VideoPortDisableInterrupt |
video.h |
Video.h |
Desktop |
Available in Windows 2000 and later versions of the Windows operating systems. |
Videoprt.lib |
Videoprt.sys |
Any level |
Windows |
|
|
|
|
|
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.
Pointer to the miniport driver's device extension.
If VideoPortDisableInterrupt 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:
- Can disable interrupts for other devices that share an interrupt vector with the display adapter.
- Disables interrupts only on the processor where the current thread is running. On a multiprocessor computer, the display adapter can still interrupt another processor.
- On a multiprocessor computer, a call to VideoPortEnableInterrupt might run on a different processor than the previous corresponding call to VideoPortDisableInterrupt. In that case, interrupts will remain disabled for the processor on which VideoPortDisableInterrupt ran.