Hardware Dev Center

IWDFInterrupt::QueueWorkItemForIsr method

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

Syntax


BOOLEAN QueueWorkItemForIsr();

Parameters

This method has no parameters.

Return value

The method returns TRUE if a work item was successfully queued. If a work item is already in the queue, the method returns FALSE.

Remarks

The driver provides a pointer to its OnInterruptWorkItem callback function when it calls IWDFDevice3::CreateInterrupt to create the interrupt object.

For more information about handling interrupts in UMDF drivers, see Accessing Hardware and Handling Interrupts.

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

OnInterruptWorkItem
IWDFInterrupt
IWDFDevice3::CreateWorkItem

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft