The IoUninitializeWorkItem routine uninitializes a work item that was initialized by IoInitializeWorkItem.
void IoUninitializeWorkItem( PIO_WORKITEM IoWorkItem );
Pointer to the IO_WORKITEM structure to uninitialize.
Only uninitialize a work item that is not currently queued. The system dequeues a work item before it runs the work item's callback routine, so IoUninitializeWorkItem can be called from within the WorkItem or WorkItemEx routine for the work item.
For more information about work items, see System Worker Threads.
|Windows version||Available in Windows Vista and later versions of Windows.|
|Header||wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)|