IWDFInterrupt interface

This interface exposes an interrupt object.

When to use

A driver uses IWDFDevice3::CreateInterrupt method to create an instance of this interface.

Members

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

Methods

The IWDFInterrupt interface has these methods.

MethodDescription
AcquireInterruptLock

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

Disable

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

Enable

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

GetDevice

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

GetInfo

The GetInfo method retrieves information about a specified interrupt.

QueueWorkItemForIsr

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

ReleaseInterruptLock

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

SetExtendedPolicy

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

SetPolicy

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

TryToAcquireInterruptLock

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

 

Requirements

Target platform

Desktop

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.11

Header

Wudfddi.h

DLL

WUDFx.dll

See also

IWDFObject

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft