IWDFWorkItem::Enqueue method

The Enqueue method adds this interface's framework work-item object to the system's work-item queue.

Syntax


void Enqueue();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

If your driver reuses its work-item objects, the driver can call Enqueue again for the same work item before a worker thread has removed the work item from the queue and called the driver’s OnWorkItem callback function.

However, UMDF won't add the work item to the queue if it is already there. Therefore, your OnWorkItem callback function must process all queued work each time that it is called.

For more information, see Using Work Items.

Requirements

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.11

Header

Wudfddi.h

DLL

WUDFx.dll

See also

IWDFWorkItem
OnWorkItem

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft