IoUninitializeWorkItem - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID IoUninitializeWorkItem(
  [in] PIO_WORKITEM IoWorkItem
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-iouninitializeworkitem)

IoUninitializeWorkItem function

Description

The IoUninitializeWorkItem routine uninitializes a work item that was initialized by IoInitializeWorkItem.

Parameters

IoWorkItem [in]

Pointer to the IO_WORKITEM structure to uninitialize.

Remarks

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.

See also

IO_WORKITEM

IoInitializeWorkItem