IoUninitializeWorkItem function (wdm.h)
The IoUninitializeWorkItem routine uninitializes a work item that was initialized by IoInitializeWorkItem.
C++
void IoUninitializeWorkItem(
[in] PIO_WORKITEM IoWorkItem
);
[in] IoWorkItem
Pointer to the IO_WORKITEM structure to uninitialize.
None
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.
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of Windows. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | Any level |