Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

IoUninitializeWorkItem routine

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

Syntax


VOID IoUninitializeWorkItem(
  _In_ PIO_WORKITEM IoWorkItem
);

Parameters

IoWorkItem [in]

Pointer to the IO_WORKITEM structure to uninitialize.

Return value

None

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.

Requirements

Target platform

Universal

Version

Available in Windows Vista and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

Any level

See also

IO_WORKITEM
IoInitializeWorkItem

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft