Bewerken

Delen via


IWDFInterrupt interface (wudfddi.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

This interface exposes an interrupt object.

Inheritance

The IWDFInterrupt interface inherits from IWDFObject. IWDFInterrupt also has these types of members:

  • Methods

Methods

The IWDFInterrupt interface has these methods.

 
IWDFInterrupt::AcquireInterruptLock

The AcquireInterruptLock method begins a code sequence that executes while holding an interrupt object's lock.
IWDFInterrupt::Disable

The Disable method disables a specified device interrupt by calling the driver's OnInterruptDisable callback function.
IWDFInterrupt::Enable

The Enable method enables a specified device interrupt by calling the driver's OnInterruptEnable callback function.
IWDFInterrupt::GetDevice

The GetDevice method returns the framework device object interface for this interrupt object.
IWDFInterrupt::GetInfo

The GetInfo method retrieves information about a specified interrupt.
IWDFInterrupt::QueueWorkItemForIsr

The QueueWorkItemForIsr method queues a work item to process interrupt-related work outside of the interrupt service routine.
IWDFInterrupt::ReleaseInterruptLock

The ReleaseInterruptLock method ends a code sequence that executes while holding an interrupt object's lock.
IWDFInterrupt::SetExtendedPolicy

The SetExtendedPolicy method specifies the interrupt priority, processor affinity, affinity policy, and processor group for a specified interrupt.
IWDFInterrupt::SetPolicy

The SetPolicy method specifies the interrupt priority, processor affinity, and affinity policy for a specified interrupt.
IWDFInterrupt::TryToAcquireInterruptLock

The TryToAcquireInterruptLock method acquires the interrupt lock if no other thread has already acquired it.

Requirements

Requirement Value
End of support Unavailable in UMDF 2.0 and later.
Target Platform Desktop
Minimum UMDF version 1.11
Header wudfddi.h

See also

IWDFObject